Minify and optimize SVG files in your browser. Strip metadata, reduce paths, shrink file size.
A free, in-browser SVG optimizer that minifies and cleans up SVG markup using SVGO. Drop an .svg file or paste your markup, tweak a few options, and get a smaller, production-ready file in one click. All processing runs locally in your browser — your files never leave your device.
Load your SVG
Drop a .svg file onto the drop zone or paste raw SVG markup into the input textarea.
Pick optimization options
Toggle removing comments, metadata, and viewBox, and pick a numeric precision (lower = smaller files, but less accurate paths).
Optimize
Click Optimize. You'll see the before/after size and percent reduction alongside the minified output.
Download or copy
Download the optimized .svg file, or copy the markup to paste straight into your code.
No. The SVGO browser bundle runs entirely in your browser. Your markup is never sent to a server.
The viewBox is what makes an SVG scale responsively. Removing it locks the SVG to its intrinsic width/height and can break layouts, so we leave it on by default.
It controls how many decimal places are kept in path coordinates and transforms. Lower values shrink the file but can slightly distort shapes at large sizes. 3 is a safe default.
The default preset preserves IDs that are referenced and keeps animations intact. If your SVG depends on specific attributes, review the output before shipping.
There's no hard limit — it depends on your browser's memory. Typical icons and illustrations up to a few megabytes optimize instantly.