SVG Optimizer
Drop an SVG and get a clean, optimized version back. Runs SVGO under the hood to strip editor cruft (Inkscape namespaces, Illustrator metadata), remove comments, collapse redundant groups, and minify path data. The visual output is identical — only the file size shrinks.

What it does
- ▸Removes editor metadata (Inkscape, Illustrator, Sketch namespaces)
- ▸Strips comments, hidden elements, and empty definitions
- ▸Collapses redundant <g> groups and merges paths where safe
- ▸Minifies path data by removing unnecessary decimals and commands
- ▸Converts inline styles to attributes where possible
- ▸Typically reduces SVG file size by 30-60%
Use cases
- ▸Optimizing SVG icons before shipping them in a web app
- ▸Cleaning up SVGs exported from Figma or Illustrator
- ▸Reducing the size of SVG illustrations for faster page loads
- ▸Preparing SVG assets for embedding as data URIs in CSS
How it works
Paste your SVG markup or drop an .svg file into the input pane
The optimizer runs SVGO with safe defaults
The cleaned SVG appears in the output pane with the size reduction shown
Copy the optimized SVG or save it as a file
Frequently asked questions
1Will optimization change how my SVG looks?
No. SVGO uses lossless optimizations by default — it removes metadata and redundant data without changing the visual output. The rendered SVG is pixel-identical.
2Can I control which optimizations are applied?
The tool uses a sensible default plugin set. If you need fine-grained control over SVGO plugins, you can run SVGO directly with a custom config. This tool covers the 90% case.
3Does it handle SVGs with embedded images?
Yes. SVGs with embedded raster images (base64 PNG/JPEG inside) are preserved. The optimizer focuses on the vector data and metadata, not embedded rasters.
Related tools
Use SVG Optimizer offline in Devinity
All 95 tools run locally on your Mac. No internet required, no data sent to servers.
Download Devinity →


