SVG Optimizer

Reduce SVG file size by removing editor metadata, XML comments, empty attributes, and redundant whitespace — without affecting how the SVG renders. Safe, non-destructive optimisations are applied by default. Typical savings are 20–50%, which makes a real difference for icon libraries and inline SVGs embedded in HTML.

All processing happens in your browser. No data is sent to any server.

Frequently Asked Questions

What does SVG optimisation remove?
XML comments, metadata elements, empty attributes, invisible elements, redundant whitespace, and editor-specific tags added by tools like Illustrator or Figma.
Will optimisation break my SVG?
Only safe, non-destructive optimisations are applied by default. Attributes required for correct rendering are preserved.
How much file size reduction should I expect?
Typical savings are 20–50% depending on how much editor metadata the original SVG contains.

Related Tools