Skip to content
Vecaria
Go Pro

SVG Optimizer & Minifier

Minify and optimize SVG with the SVGO deep mode or the quick regex subset, see character and gzip savings before you copy or download — free, local, no upload.

This tool runs entirely in your browser — your files are never uploaded to a server.

  • Formats: SVG
  • Flow: SVG → optimized / minified SVG
  1. Open a local .svg file, drop it onto the input, or paste the SVG source.
  2. Pick a mode: Quick (regex subset, live results) or Deep (SVGO full plugin set; toggle “Safe sanitize” to strip <script>, on by default).
  3. Review the character/gzip comparison and the rendered before/after, then copy or download the optimized SVG.
  • Deep mode (SVGO) rewrites path data and converts shapes to paths — numerically equivalent but the source changes; review before shipping.
  • Safe sanitize is on by default in deep mode: <script> is removed, so script-driven SVGs stop working. foreignObject/inline handlers/javascript: URIs are not sanitized; fonts are not embedded.
  • Quick mode is an appearance-level regex subset: path geometry and the viewBox are never reshaped; whitespace between tags collapses and number/color values are shortened (numerically equal).
  • Open/drop or paste an SVG → pick a mode → copy/download

Open SVG Optimizer & Minifier in the tools site →