Tools / SVG Optimizer

Clean and package an SVG

Remove comments and needless whitespace, preview the result, download it, or copy a CSS-ready data URI.

Advertisement
Paste SVG markup to begin.

A conservative SVG cleanup

The optimizer removes comments and formatting whitespace without rewriting paths or changing the drawing. Script-bearing SVG is rejected. Use the data URI in CSS or download the cleaned vector file.