Skip to content

SVG Optimizer

Strip editor junk, shorten numbers and colours, drop fixed sizes; see the bytes saved

Runs on your device

How to use SVG Optimizer

  1. Type or paste into “SVG code”, or press Sample to see an example.

  2. Set the options: “Decimals”, “Shorten colours”, “Remove width and height (keep viewBox) so it scales”, “Keep <title>” and more. Reset puts them back.

  3. Press Run, then copy or download the result.

About SVG Optimizer

Strip editor junk, shorten numbers and colours, drop fixed sizes; see the bytes saved.

SVG Optimizer: common questions

Is SVG Optimizer free?

Yes. There's no sign-up, no limit on how often you use it and no watermark.

Is your text uploaded anywhere?

No. SVG Optimizer works on this device only, so your text stays private. You can even turn off the internet once the page is open.

What can I change?

6 settings, including “Decimals”, “Shorten colours”, “Remove width and height (keep viewBox) so it scales”, “Keep <title>”, “Keep every id” and “Indent the result”. Every setting has a sensible default, and Reset puts them all back.

Does it work on a phone?

Yes, in any current browser on Android, iPhone, iPad and desktop.

More design tools

All 46 design tools