Free SVG Optimizer
Drop in an SVG — or a whole ZIP of them — and shrink it safely. Strips Illustrator and Inkscape cruft, rounds coordinate precision and minifies the markup, then shows you exactly how many bytes you saved. It never breaks your file, and nothing is ever uploaded.
Smaller SVGs, the same graphic.
Design-tool exports are full of invisible bloat. This tool cleans it out without changing how your icon or logo actually looks.
Strip editor cruft
Removes comments, <metadata>, Illustrator and Inkscape/Sodipodi elements & namespaces, data-name attributes and the XML declaration and DOCTYPE.
Round precision
Trims long decimal path and coordinate numbers to a precision you choose (0–4 decimals) — adjustable per file with a live slider.
Minify markup
Collapses whitespace between tags and minifies inline <style> blocks and style= attributes for a tighter file.
Never breaks it
If any step would produce an invalid, empty or larger file, it keeps your original untouched. It never ships an SVG that got bigger.
Three steps, all in your browser.
Drop your SVGs
Drag in one SVG, a batch of them, or a .zip of SVGs. Everything is read and processed locally — nothing is uploaded.
Tune the options
Toggle what gets stripped and set the rounding precision — per file or all at once. Each card shows the before → after saving live.
Download or copy
Save any single optimised .min.svg, copy its code to the clipboard, or export the whole batch as a ZIP.
Built to be safe and private.
Ad-safe by default
Your width, height and viewBox are preserved so the graphic renders the same. Every file falls back to the original if optimising would risk it.
See what you saved
Each SVG shows its before → after size and percentage saved, plus a total across the batch. Files that are already tight are simply left alone.
Private by design
Everything runs locally with no library and no server — your SVG files never leave the browser. Optimising, single downloads and copying code are free and unlimited.
Free to use, fair on downloads.
Optimising and previewing are always free and unlimited. The only limit is on the batch ZIP export.
Everything you need
- Optimise unlimited SVGs, in-browser
- All strip & precision options
- Download any single
.min.svg - Copy the minified code
- 5 batch ZIP exports per day
Unlimited batch exports
- Everything in the free tier
- Unlimited “Download all (ZIP)” exports
- No daily cap on batch downloads
- Access to the full Studio-Tools suite
Optimise, convert and rename — all on-device.
Pair the SVG optimizer with our other free, in-browser tools: HTML5 ZIP Optimizer, Compress Images, Convert Image and Color Picker.
Quick answers.
Are my SVG files uploaded to a server?
Can it break my SVG?
What exactly does it strip and shrink?
<metadata> blocks, Illustrator and Inkscape/Sodipodi elements and namespaces (inkscape:, sodipodi:, dc, cc, rdf), data-name attributes, and the XML declaration and DOCTYPE. It also rounds coordinate and path numbers to a precision you choose, collapses whitespace between tags, and minifies inline <style> blocks and style= attributes.Will it change how my SVG looks or its dimensions?
width, height and viewBox, so the graphic renders the same. Rounding precision is adjustable per file (0–4 decimals) so you decide how aggressive to be. There's also an optional switch to drop the fixed width/height for responsive use — it's off unless you turn it on.Can I optimise a whole batch at once?
.zip of SVGs and it optimises them all, showing a before → after byte saving for each one and an overall total. You can download any single file or copy its code for free; batch “Download all (ZIP)” exports use a free daily limit.Is it free?
Shrink your SVGs — free.
Free to use with no signup, and nothing is ever uploaded. Strip the editor cruft, round the precision and minify the markup — optimising, single-file downloads and copying code are unlimited, and Premium unlocks unlimited batch ZIP exports.