Skip to content
imgtools.Tools

SVG Optimizer

Paste SVG markup or drop an SVG file to make it smaller. Nothing is uploaded.

Runs entirely in your browser. Nothing is uploaded.

Drop an SVG file, or paste markup below

How this works

This runs SVGO, the standard SVG optimizer, in your browser. It removes editor leftovers, comments, and unused attributes, merges paths, and rounds numbers to the decimal places you pick. Fewer decimal places make smaller files but can shift fine details, so compare the two previews before you use the result.

Both previews are drawn as pictures, so scripts and external links inside an SVG are never run or loaded here. If you will embed the SVG inline in a web page, review its markup yourself first.