What minifying an SVG removes
SVG is a text format, and files exported from drawing applications carry a lot of material that browsers ignore: XML comments, editor metadata blocks, document titles generated by the export process, processing instructions and generous indentation. Stripping all of that leaves the drawing instructions untouched while making the file meaningfully smaller.
What is deliberately left alone
Path data, shapes, gradients, IDs, classes and inline styles are preserved exactly. Rewriting path coordinates or merging shapes can change how a drawing renders, so this tool does not attempt it. The result is a file that is smaller but visually identical.
Getting SVG files smaller still
- Export at the smallest sensible precision from your drawing tool — coordinates with six decimal places cost bytes and change nothing.
- Delete hidden layers before exporting; they are still written into the file.
- Serve SVG with gzip or Brotli compression enabled on the server. Text compresses extremely well.