SVG Optimizer

Fast, accurate, and reliable

Input SVG Code

Optimized SVG Code

What does this tool do?

This SVG optimizer reduces file size by removing unnecessary elements while keeping your SVG visually identical. It removes comments, whitespace, metadata, and redundant attributes.

Optimizations performed:

  • Remove XML declarations and comments
  • Remove editor metadata (Sketch, Illustrator, etc.)
  • Remove unnecessary whitespace
  • Remove empty groups and default attributes
  • Simplify identity transforms
  • Reduce number precision to 2 decimal places