SVG optimizer
Optimize SVG files in your browser with SVGO — same render, smaller file.
Runs 100% in your browserHow to optimize an SVG
- Paste or drop SVG. Paste the SVG markup, drop an .svg file, or pick one.
- Pick presets. Default safe optimizations are on; toggle on/off as needed.
- Copy or download. Output is shown beside the input with the savings.
About SVGO
SVG exports from Figma, Illustrator and Sketch typically carry a heavy editor namespace,
excessive precision (12 decimal places where 3 would do), and unused metadata. SVGO's default
preset strips the safe stuff while preserving the rendered output. Multipass re-runs passes
until the file stabilises (a few percent extra savings). Keep removeViewBox OFF
unless you are sure no consumer relies on intrinsic sizing — it breaks responsive SVGs.
Frequently asked questions
- Removes editor metadata, collapses whitespace, simplifies paths, drops unused attributes and rounds long decimals — without changing the rendered output.
- A subset of optimizations are technically lossy at very small decimal precisions — by default the page uses safe presets that preserve visual output. Increase aggressiveness with care on detailed paths.
- No. SVGO runs entirely in your browser as a lazy dynamic import.
- svgo 3.x, the same engine that powers SVGOMG and most CI optimizers.