About this SVG optimizer and minifier
Reduce SVG file size by removing editor metadata from Inkscape, Illustrator and Sketch, comments, XML declarations and empty groups, and by rounding coordinates to a chosen precision. Preview the original and optimized image side by side to make sure nothing changed visually.
How to use the SVG Optimizer
- Paste SVG markup.
- Choose the cleanup options and precision.
- Click Optimize and copy the result.
Frequently asked questions
Will rounding change how my SVG looks?
Two decimals is invisible for most icons and illustrations. Use more decimals for very small viewBox sizes.
Is it safe to preview untrusted SVGs?
Previews are rendered as images, so scripts inside the SVG do not run.
Is my data safe?
Yes. The tool runs entirely in your browser using WebAssembly. Nothing you type or upload is sent to a server, logged or stored.
Is it free?
Yes, completely free with no sign-up, no limits and no watermarks. It also works offline once the page has loaded.