SVG Optimizer

SVG optimizer

Strip editor cruft, shrink coordinates and merge paths with SVGO — with every option under your control and a side-by-side check.

SVG Optimizer

☞ runs entirely in your browser — nothing is uploaded

Drop your SVG here

or click to browse — SVG only

smaller, same picture

Why SVG files are bigger than they need to be

Files exported from design apps carry editor metadata, unused definitions and coordinates written to a dozen decimal places. None of it affects how the image looks, and all of it ships to every visitor.

SVGO removes that safely. The side-by-side preview is there so you can confirm nothing you needed got cleaned away — a merged path or a stripped id can occasionally change a file that other code depends on.

three steps

How to optimize an SVG

01

Drop the SVG

Pick a .svg file — it stays on your device.

02

Pick your options

Toggle what to strip and set the decimal precision.

03

Compare and save

Check both previews, then copy the code or download.

quick answers

SVG Optimizer FAQ

Will optimizing break my SVG?

The defaults are safe for standalone artwork. Two options need care: merging paths changes the document structure, and cleaning up id attributes renames things that your CSS or JavaScript may reference. Turn those off if the file is animated or scripted.

What decimal precision should I use?

Three is a good default. Simple icons often survive at 1–2 for a further saving, while detailed illustrations and maps can visibly distort below 3 — the side-by-side preview will show it.

What is the difference from the minifier?

The minifier runs the same engine with the standard preset and no choices to make. Use it when you just want a smaller file; use this page when you need to control exactly what gets removed.

Is my file uploaded?

No. SVGO runs in your browser and the file never leaves your device.