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.

How to use the SVG Optimizer (Minify SVG)

    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.