Skip to main content
HandyWeb

SVG Optimizer

Make an SVG smaller by removing editor data, comments, empty groups, and extra digits, and compare before and after.

Runs on your device.

Decimal places

2 places are enough for icons. If the shape changes after optimizing, choose more places.

0 characters0 bytes
0 characters0 bytes

How to Use It

  1. Paste the SVG or choose the file.
  2. Choose the decimal places and compare before and after.
  3. Copy or download the optimized SVG.

Questions and Answers

What is removed?

The XML declaration, comments, metadata, data from Inkscape, Illustrator, and other editors, empty groups or groups with no attributes, extra spaces, and too many decimal places.

Good to Know

Only safe changes are made: shapes are not merged and paths are not rewritten, so SVGO can sometimes make a smaller file. Few decimal places may change very small shapes.

Source code of this toolReport a problem on GitHub