</>
SVG Minifier
Minify SVG markup by removing comments and collapsing whitespace, with a before/after size comparison.
SVG input
Minified
Removes comments and redundant whitespace. For deep optimization (path precision, defs), use SVGO in your build.
🔒 This tool runs entirely in your browser. Your data is never uploaded.
Frequently asked questions
How does it shrink SVGs?+
It strips comments, metadata and redundant whitespace, reducing file size without changing how the image looks.
Will it break my SVG?+
No — it removes only non-visual data, so the rendered graphic is identical.
Is my file uploaded?+
No — minification happens in your browser.