Free tool · nothing is uploaded

SVG Optimizer

Shrink SVG icons and logos from Illustrator, Figma or Inkscape, often by half or more.

Your SVG

Every kilobyte counts.

Get your whole website loading faster.

Optimised icons are one step. I speed up entire sites: images, code, fonts, caching and hosting, for top Core Web Vitals scores.

Speed up my site

Frequently asked questions

What does the SVG optimizer remove?

Comments, editor data from Illustrator, Inkscape, Figma and Sketch, metadata, unused IDs, default attributes, empty groups and extra spaces. It also rounds long decimal numbers, which is usually the biggest saving.

Will my SVG look different?

Not at the default precision of 2 decimals. Compare the before and after previews; if fine details move, raise the precision.

Is it safe to upload SVGs here?

Nothing is uploaded: the file is processed in your browser. Scripts and event handlers inside the SVG are removed from the output, and the previews are shown as images so no code inside them can run.

Should I remove width and height?

Usually yes for websites: with only a viewBox, the SVG scales to whatever size your CSS gives it. Keep them if the SVG must have a fixed size without CSS, for example in some email templates.

More design tools