SVGO · IN-BROWSER
Free SVG optimizer
Minify any SVG with the industry-standard SVGO engine — smaller files, identical pixels, viewBox always preserved. Runs in your browser: no upload, no signup, no limits. Drop a file or paste the markup straight from your editor.
Where the bytes go
- 01
Editor cruft, deleted
Illustrator, Inkscape, and Figma exports carry metadata, comments, and hidden layers your users never see. All of it goes.
- 02
Paths, rewritten
Path data is re-encoded with shorter commands and only the decimal places you keep — the Precision slider is usually the biggest single win.
- 03
Network reality, measured
SVG travels gzipped, so the stats show compressed sizes too — the number your page weight actually pays.
Questions, answered
Is SVG optimization lossless?+
Visually, yes — the defaults only strip things that don't affect rendering: editor metadata, comments, unused defs, redundant attributes, and excess decimal places. The Before/After panes render side by side so you can confirm nothing changed. Lower the precision slider only as far as your artwork stays crisp.
What exactly gets removed or rewritten?+
Editor cruft (Illustrator/Inkscape/Figma metadata), comments, hidden and empty elements, default-value attributes, and unreferenced IDs. Path data is rewritten with shorter commands and fewer decimals, colors are shortened, and transforms are collapsed where safe. It's the standard SVGO preset — the same optimizer used across the web's build tooling.
Will it keep my viewBox?+
Yes, always. Removing the viewBox is how optimizers break responsive scaling, so this one never does — your SVG keeps scaling to any size after optimization.
Does my file get uploaded?+
No. SVGO runs as JavaScript in your browser tab — the file never leaves your device, same as every tool on this site. It works offline once the page has loaded.
Minified vs gzipped — which number matters?+
Both, differently. The minified size is what you store and parse; the gzipped size approximates what actually crosses the network, since servers compress SVG. The stats show both so you can judge the real-world win.
Why is my optimized SVG barely smaller?+
Hand-written or already-optimized SVGs don't have much fat to trim. The big wins come from editor exports — Illustrator and Inkscape files often shrink 40–80% — and from lowering precision on files with long decimal path data.