Remove comments · metadata · over-precise decimals from SVG. 50–80% smaller, visually identical.
Source
Optimized
Visual comparison
How to use
- Upload an SVG file or paste code.
- Pick decimal precision and what to strip.
- Visually compare to confirm no regression.
- Download optimized SVG or copy code.
Key features
- Auto-strip comments / metadata / title / desc
- Coordinate decimal places 0–5 (2 is usually fine)
- Remove editor attributes (
sodipodi:,inkscape:) - Compact whitespace and newlines
- Side-by-side visual comparison + size savings
Use cases
- Website icons — cut icon library size by 50%
- Email SVG — lightweight inline embed
- Figma / Sketch exports — strip designer-tool metadata
- Inline SVG — clean HTML when embedding directly
- Webpack bundles — faster builds via smaller SVG
Is SVG optimization safe?
All optimizations are visually identical. 2-decimal coordinates are pixel-equivalent on screen; comments / metadata / editor attrs don't affect rendering. Same principle as SVGO (Node.js), with only the safest transforms applied. Side-by-side comparison lets you verify. For more aggressive optimization (path merge, shape-to-path), use SVGO directly.
FAQ
Same as SVGO?
Like SVGO's safe options. SVGO supports more aggressive transforms; this tool sticks to lossless ones.
What about animated / interactive SVG?
Safe. id, class, event handlers preserved. Verify behavior after.
Upload size limit?
Bound by browser memory; 5MB is comfortable.
Free?
Yes.