We use cookies to understand how the site is used and to display ads. Analytics and advertising only run after you accept. You can change your choice anytime via the footer link or your browser settings. Privacy policy

Skip to content
>_devvkit

SVG Optimizer

Minify and clean SVG files with svgo in your browser — no upload needed.

Original: 0.7 KB

Powered by SVGO (MIT), loaded on demand. Removes editor metadata (Inkscape/Illustrator namespaces, comments), collapses whitespace, and minifies paths and transforms while keeping the viewBox. Files never leave your browser.

//Share this tool

Minify and clean SVG files locally with svgo: strip comments, metadata, and redundant attributes while preserving viewBox scaling. Preview before/after sizes and savings, then copy or download the optimized SVG.

[x]Features
  • -Runs svgo entirely in your browser — nothing uploaded
  • -Preserves viewBox by default for reliable scaling
  • -Live preview of the optimized output
  • -Byte size and percentage savings readout
  • -Copy to clipboard or download the result
  • -Sample SVG for instant testing
>Use Cases
  • >Shrinking icon sets and illustrations before shipping
  • >Cleaning exports from Figma and Illustrator
  • >Reducing LCP and asset weight on marketing pages
  • >Auditing third-party SVG assets for hidden metadata

Frequently Asked Questions

>Is my SVG uploaded anywhere??
No. The file is optimized locally in your browser with svgo (WebAssembly build) — nothing is sent to a server.
>What does the optimizer remove??
It strips comments, metadata, editor junk, and redundant attributes, and collapses paths where possible. You can preview the before/after byte sizes and savings percentage.
>Why is removeViewBox disabled??
Removing viewBox can break scaling when an SVG is used with width/height constraints, so it is kept by default. You can enable full defaults if you want maximum size reduction.