SVG Optimizer

SVG optimizer & minifier

Minify SVG files by stripping editor cruft, shrinking coordinates and merging paths — with every option under your control.

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.

Can I use this as an SVG minifier?

Yes. Leave the default options enabled and download the result for a safe one-click minification. The controls are there when you need to preserve a specific kind of SVG data or change coordinate precision.

Is my file uploaded?

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