SVG Optimizer

Clean up SVGs exported from Figma, Illustrator or Inkscape. Smaller SVGs load faster and are easier to embed.

Runs in your browser. Nothing is uploaded Free, no sign-up Works on mobile
Choose an SVG file
or drag and drop here
Original SVG
Optimised SVG

How to use SVG Optimizer

  1. Choose an SVG file or paste the code.
  2. Adjust the options such as decimal places.
  3. Check the before-and-after preview.
  4. Copy or download the optimised SVG.

Frequently asked questions

What does the optimiser remove?

Editor metadata, comments, hidden elements, empty groups, default attribute values and unnecessary precision in path data, using the standard SVGO preset.

Why keep the viewBox?

The viewBox lets an SVG scale correctly with CSS. Removing it can break responsive sizing.

Related tools

All Image Tools →