SVG Minifier

Make an SVG image smaller by removing comments, the XML header and extra spacing. Your code stays on your device.

1 Paste or type your text

2 Your answer

Your answer shows here as you type.

How to use the SVG Minifier

  1. Paste your SVG code into the box.
  2. Press Download to save the smaller file.

Frequently asked questions

Will the picture look the same?

It should. Only comments, the XML header and line breaks between tags are removed.

Are my files uploaded?

No. The code is cleaned in your browser and never leaves your device.

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