MewTools

Image ConversionAdded

SVG Optimiser

Strip editor metadata, comments and coordinate noise from an SVG and hand over a smaller file that still draws the same thing. You see the byte count before and after, so the saving is not a guess.

Runs locallyNo uploadShows bytes savedFree, no account

Shrink an SVG file

224 / 232
SVG file
icon.svgOr paste the markup below.

Paste a <svg> element or drop a file.

Remove

Result

Waiting

Run the tool and the result appears here. Copy it or download it — nothing leaves this tab.

Privacy

Local by design

The markup is parsed in this tab. Nothing is uploaded, and no copy of the drawing leaves the browser.

How to use it

01

Drop an .svg file, or paste its markup.

02

Choose how many decimal places coordinates keep.

03

Check the preview, then copy the markup or download the file.

When to use it

Icon sets

Exported icons carry layers of comment and editor data you never wrote.

Email limits

Get a logo under an attachment limit without flattening it to PNG.

Handover

Ship a tidy drawing to a developer instead of a 400 KB export.

Questions

Does it change the drawing?

It rounds coordinates to the precision you pick and removes markup that draws nothing. At 2 decimals the difference is invisible at icon sizes; at 0 decimals small curves can visibly sharpen.

What exactly is removed?

XML comments, editor namespaces such as Inkscape, Sodipodi and Sketch, the metadata block, empty groups, and — only if you ask — width and height when a viewBox is present.

Why did my file get bigger?

If it was already minified, reserialising can add a few bytes. The Before and After numbers show it, and a bigger file is not presented as a saving.

Is the viewBox safe?

Yes, viewBox is never touched. Removing width and height only lets the SVG scale to its container, which is what you want for responsive icons.

↑↓ to move↵ to openEsc to close