SVG Minifier
Compress SVG files to reduce size.Runs in this tab.⌘ ↵ runs it
Next step
AtriumKitFrom the team behind browserutils
Turn a click-through into an interactive demo
AtriumKit records your web app once in Chrome and turns every click into a step of a demo you can embed or share. There’s a free plan.
Try AtriumKit freeAbout SVG Minifier
Free online SVG minifier. Remove unnecessary metadata, comments, and whitespace from SVG files to reduce file size. It runs in your browser. Nothing is sent to a server.
Questions
How do I reduce SVG file size?
Paste your SVG markup into the input field and the minifier will remove comments, editor metadata, unnecessary attributes, and whitespace to produce a compact SVG that renders identically in browsers.
Will minified SVGs look the same?
Yes, the minifier only removes non-visible elements like comments, metadata, and extra whitespace. All visual elements, paths, colors, and transformations are preserved so the SVG renders identically.
Does the SVG minifier remove Illustrator or Inkscape metadata?
Yes, editor-specific metadata, XML namespaces from design tools, and comments added by Illustrator, Inkscape, or Figma are stripped during minification.
How much can SVG minification reduce file size?
Results vary depending on the file, but SVGs exported from design tools often contain significant metadata and whitespace. Typical savings range from 20% to 50% of the original file size.
Comments
More in Formatters & Beautifiers
- HTML Formatter
- CSS Formatter
- JavaScript Formatter
- SQL Formatter
- XML Formatter
- Markdown Preview
- CSS Minifier
- HTML Minifier
Comments