SVG Minifier & Optimizer

Shrink SVG files with SVGO — crush path data, round coordinates and strip Figma/Illustrator metadata — without changing how the graphic looks. Live gzipped-size readout included.

Free & unlimited Powered by SVGO 🔒 Nothing uploaded

SVGs exported from Figma, Illustrator or Sketch carry editor metadata, comments and over-precise coordinates that bloat the file. Optimising with SVGO rewrites the markup — merging attributes, rounding numbers and dropping junk — so the graphic looks identical but ships far fewer bytes. Smaller SVGs mean faster pages and better Core Web Vitals.

How to minify and optimize an SVG

  1. Paste or upload your SVG. Drop an .svg file or paste the markup into the tool above.
  2. Set the precision. Lower coordinate precision means smaller files; nudge it until the preview still looks crisp.
  3. Run SVGO. The optimizer crunches path data, merges attributes and strips metadata, showing a live gzipped size.
  4. Copy the optimized SVG. Copy the minified output or download the optimized file.

Frequently asked questions

What is the difference between minify and optimize?

Minify strips comments, metadata and editor junk. Optimize runs the full SVGO pipeline — path-data crunching, coordinate rounding and attribute merging — for a deeper size reduction.

Will optimizing change how my SVG looks?

No. SVGO preserves the rendered appearance; it only removes redundancy and lowers numeric precision within the tolerance you set.

How much smaller will my file get?

It depends on the source, but design-tool exports often shrink substantially. The tool shows the before/after and gzipped size so you can see the real wire weight.

Is my SVG uploaded to a server?

No. Optimization runs entirely in your browser, so files never leave your device.

More free SVG tools