SVG Optimizer

Minify SVG markup in your browser.

Loading tool…

How it works

  1. Paste SVG markup into the input.
  2. Click Optimize SVG.
  3. Copy the cleaned markup.

Features

  • Comment and DOCTYPE removal
  • Whitespace collapsing
  • Local, lightweight optimization

FAQ

Is this the same as SVGO?

No. This uses a lightweight local cleaner suitable for common SVG markup.

Is my SVG uploaded?

No. Optimization runs entirely in your browser.

Will scripts or animations survive?

Basic cleanup preserves elements; review complex SVGs after optimizing.