SVG Optimiser

Make SVG files smaller without changing how they look. Removes editor data, comments and hidden clutter, rounds numbers and tidies path data. Works on many files at once.

Runs in your browser. Files are not uploaded.

How to use

  1. Choose or drop your SVG files.
  2. Pick how many decimal places to keep, and what to remove.
  3. Select Optimise, check the previews, and download.

Questions

Will my SVG look different?

It shouldn’t. At 2 or 3 decimal places, the rounding is too small to see for most icons and logos. If fine detail shifts, choose more decimal places.

What gets removed?

Comments, metadata, editor data from apps like Illustrator, Inkscape, Sketch and Figma, empty groups, and IDs nothing uses. Scripts and event handlers are removed too, which makes SVGs from others safer to use.

Should I remove width and height?

Only if the SVG should scale to fill its container, as on responsive websites. It needs a viewBox to keep its shape, so width and height are only removed when there is one.

More developer tools