SVG Optimizer
Optimize SVG files online: strip comments and metadata, round decimals, collapse whitespace. Live preview with savings %.
SVG optimizer (−16%)
147 → 124 chars
Preview
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="50.12" cy="50.65" r="40" fill="#ff0000"/></svg>
How to use
- Paste SVG or drop a file.
- Toggle strip comments/metadata; set decimal precision (0-1 icons, 2+ illustrations).
- Copy optimized code; savings percent shown.
FAQ
Is it lossless?
Visually yes at 2 decimals. Drop to 0–1 for icons, keep 3+ for detailed illustrations.
What gets removed?
Comments, metadata, title/desc, editor namespaces, and redundant whitespace — never shapes.