SVG Optimizer
Minify SVG markup in your browser.
Loading tool…
How it works
- Paste SVG markup into the input.
- Click Optimize SVG.
- Copy the cleaned markup.
Features
- Comment and DOCTYPE removal
- Whitespace collapsing
- Local, lightweight optimization
FAQ
Is this the same as SVGO?
No. This uses a lightweight local cleaner suitable for common SVG markup.
Is my SVG uploaded?
No. Optimization runs entirely in your browser.
Will scripts or animations survive?
Basic cleanup preserves elements; review complex SVGs after optimizing.