Local in your browserDeveloper tools

SVG Optimizer

SVG Optimizer sanitizes and canonicalizes a strict SVG geometry subset locally without uploading the file.

Purpose and limits

What this tool does

Create deterministic, conservatively optimized SVG geometry after fail-closed sanitization.

Input
One local SVG file up to 2 MiB within the supported geometry, node, depth, path and dimension limits.
Result
A sanitized canonical SVG for preview, copying and download.

How to use it

  • Choose a local SVG file; it remains in this browser tab.
  • Review the strict-content warning and process the file locally.
  • Inspect the canonical preview and text before copying or downloading it.

Limitations

  • Scripts, events, CSS, fonts, filters, external references and unsupported SVG elements are rejected rather than preserved.
  • Optimization is conservative and does not promise the smallest possible file.
  • Physical mobile-device support and Display-P3 output are not claimed.