Compress SVG
Optimize SVG files by removing comments, metadata, empty groups and more. 100% client-side.
Drop SVG to Compress
Accepts .svg files only
SVGtuneOptions
codeSVG Compressor
Upload an SVG to optimize it. Toggle options and adjust precision before compressing.
How It Works
1. Upload
Drop your SVG file into the compressor
2. Optimize
Configure options and clean the XML
3. Download
Get a smaller SVG with the same look
Why Compress SVG?
Faster Loading
Smaller SVGs load faster, improving site performance.
Save Bandwidth
Reduce bandwidth costs with optimized SVGs.
Clean Code
Remove editor bloat and metadata from design tools.
FAQ
Will compression change how my SVG looks?
No. The optimizations are lossless by default. Reducing decimal precision may cause sub-pixel differences on very detailed paths.
Is my SVG uploaded to a server?
No. All processing happens 100% in your browser using JavaScript. Your files never leave your device.
How much can I save?
Files from design tools with lots of metadata can see 20-60% reduction. Already-optimized SVGs may see smaller gains.
What does "Remove Unused IDs" do?
It removes id attributes not referenced by url(), href, or xlink:href. Keep it off if your SVG uses IDs for CSS or JS.