SVG Optimizer
Clean and minify SVG markup.
SVG markup
Light optimizer only - not a full SVGO. Everything runs locally in your browser - images are never uploaded.
Sizes
Before209 B
After141 B
Saved32.5%
Optimized SVG
<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"><circle cx="60" cy="60" r="50" fill="#7b2ff7" /></svg>
Live preview
About this tool
Paste SVG markup to strip comments, XML declarations, editor metadata, and excess whitespace for a smaller file.
How to use
- Paste your SVG source.
- The optimized, minified SVG is generated automatically.
- Copy the smaller SVG.
Examples
Removes
<!-- comments -->, <metadata>, extra spaces
Frequently asked questions
It performs safe, common cleanups. For maximum compression, a full SVGO pipeline offers more transforms.