SVG Optimizer

Make SVG code smaller by removing comments, file headers and extra spaces. The picture looks the same.

1 Paste or type your text

2 Your answer

Your answer shows here as you type.

How to use the SVG Optimizer

  1. Paste your SVG code.
  2. The smaller version shows straight away.
  3. Copy it and save it as a .svg file.

Frequently asked questions

What does an SVG optimizer remove?

It removes comments, file headers and the spaces between tags. None of these change how the picture looks.

Can it break my icon?

It keeps the drawing the same. Check the result if your SVG has text, because spaces between words can be lost.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.