About this tool
Clean and minify SVG markup locally before shipping to production. Strip editor metadata from Adobe Illustrator, Inkscape, or Figma, remove XML comments, and collapse whitespace.
Minify and clean SVG code locally by stripping redundant metadata, comments, and whitespace for production.
Example
Run the tool to generate output.
Clean and minify SVG markup locally before shipping to production. Strip editor metadata from Adobe Illustrator, Inkscape, or Figma, remove XML comments, and collapse whitespace.
Use SVG Minifier before committing SVG icons to a code repository or embedding them directly into HTML templates to save bandwidth.
Clean exported vector icons from Adobe Illustrator or Figma by stripping proprietary editor namespaces, doctypes, and empty groups before bundling into a React icon library.
Minify an SVG illustration for use as an inline data-URI in CSS with minimal byte footprint.