SVG Optimizer

SVG optimizer & minifier

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

See result and limits ↓

SVG Optimizer

Files are processed in your browser, without uploads.

Drop your SVG here

or click to browse — SVG only

See the actual result

Actual source, generated file and a selected-page preview.

Original
OriginalSVG · 593 B · 360 × 240 px
Result
ResultSVG · 478 B · 360 × 240 px

Example settings: inputFiles: 1 · shownFile: 1 · shownPageOrEntry: 1 · outputFiles: 1

Previews show the listed page or entry. Download the original files to inspect all content.

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.

Step-by-step guides

Articles in English

  1. How to reduce an SVG file while checking that the drawing still works

    Optimise a standalone SVG, compare bytes and rendering, retain the coordinate system and test any external dependencies before replacing the original asset.