Paste SVG markup and get an optimized version with metadata, comments, and unnecessary attributes removed. See the file size reduction in real time.
Features
Metadata Removal — Strips XML declarations, tags, and editor-specific attributes.
Comment Stripping — Removes all XML/SVG comments.
Attribute Cleanup — Removes Inkscape and Sodipodi namespace attributes, default values, and trailing zeros.
Size Statistics — Shows original size, optimized size, and percentage saved.
Live Preview — See the optimized SVG rendered in the browser.
Common Use Cases
Web Performance — Reduce SVG file sizes before deploying to production.
Icon Libraries — Clean SVG icons exported from design tools like Figma or Illustrator.
Animation Prep — Strip unnecessary data before animating SVGs with CSS or JavaScript.
Component Libraries — Optimize SVGs before embedding in React/Vue components.
Why Use This Tool
SVGs exported from design tools often contain 40-60% bloat from editor metadata, comments, and redundant attributes. This tool strips it all out, producing lean SVGs that load faster and are easier to work with.