SVG Optimizer (Minify SVG)

Shrink SVG files by removing editor metadata, comments, hidden junk and extra decimals — with a live preview.

How do I reduce the file size of an SVG?

Paste the SVG code and the optimiser removes comments, metadata, editor data from Illustrator, Inkscape, Sketch and Figma, empty groups and unsafe scripts, and rounds numbers to the decimal places you choose. You see the size saving, a preview and the minified code to copy or download.

Why optimise SVGs?

Design tools export icons and logos with a lot of invisible data. Smaller SVGs load faster, improve Core Web Vitals and are easier to inline in HTML or CSS.

Tips

  • Two decimal places are invisible to the eye for most icons; use 3 for very small detailed shapes.
  • Keep <title> for meaningful images so screen readers can describe them.
  • Serve SVGs with gzip or Brotli compression for an extra 60–70%.

Frequently asked questions

Will it change how my SVG looks?

Normally not. Always compare the preview before replacing the original.

Are scripts removed?

Yes — scripts and on* event attributes are stripped for safety.

Is my file uploaded?

No, it is processed in your browser.