SVG Optimizer and Minifier

Design apps such as Illustrator, Inkscape and Figma add editor data, comments and long decimal numbers to every SVG. This tool removes what browsers do not need, shows you the result next to the original and reports the exact bytes saved.

Remove

Scripts and event handler attributes are always removed.

How to use it

  1. Paste SVG code or choose an .svg file.
  2. Pick what to remove. The defaults are safe for most icons and logos.
  3. Check the side-by-side preview, then copy or download the optimized file.

Example

An Inkscape logo exported at 18.4 KB typically drops by 30 to 60 percent once sodipodi and inkscape attributes, metadata and 8-digit decimals are removed. Your own result is shown after you click Optimize.

Benefits

  • Smaller inline SVG means less HTML to download on every page view.
  • Editor metadata can reveal file paths and software versions, so removing it is also a small privacy gain.
  • Scripts and event handlers are stripped, so you can inspect untrusted SVG more safely.

Limitations

  • Rounding numbers can change very fine detail. Raise the precision setting if shapes look off in the preview.
  • The tool does not merge or simplify paths. Dedicated tools such as SVGO go further, at the cost of a build step.

Frequently asked questions

Is my SVG uploaded?

No. Parsing and optimization run in your browser and the file never leaves your device.

Why did my SVG change appearance?

Usually from number rounding or removed IDs that CSS referenced. Increase precision or turn off ID removal and compare again.

Can it make an SVG smaller than SVGO?

Not always. SVGO applies more transformations. This tool is for quick, safe clean-ups without installing anything.

Related tools