SVG Minifier

Minify SVG to reduce file size.

100% Private — Nothing is Uploaded

All processing happens locally in your browser. Your files never leave your device and are never sent to any server.

Options

Other languages

About the SVG Minifier

This tool reduces SVG file size by removing XML comments and collapsing whitespace between tags. The rendered image stays exactly the same.

What gets removed

  • XML comments (<!-- ... -->)
  • Whitespace between elements

What is preserved

  • Path data and coordinates
  • Text content inside <text> elements
  • Styles and attributes