Compress SVG
Clean up and minify vector files
Runs in your browser. Files never leave your device.
How to use Compress SVG
- Choose or drop your SVG files.
- Adjust the settings and check the preview.
- Download the result.
About this tool
Minify SVG files with SVGO: editor metadata, comments, hidden elements and redundant attributes are removed, and path data is rounded to the precision you choose.
- Works on your device. Nothing is uploaded.
- Free, with no sign-up and no watermark.
- No limits on file count or size beyond what your device can handle.
Questions and answers
Will optimizing change how my SVG looks?
Not at the default precision. If you lower the number precision a lot, very detailed shapes can shift slightly, so check the result.
Should I keep the viewBox?
Yes, in almost all cases. The viewBox is what lets an SVG scale to any size.
Is Compress SVG free?
Yes. Every tool on ImgImage is free to use, with no sign-up, no watermark and no limit on how many files you process.
Are my files uploaded anywhere?
No. Your files are processed by your own browser and never leave your device. Nothing you open here is sent to a server.
Does it work on my phone?
Yes. It works in any modern browser on phones, tablets and computers. Large files are processed faster on a computer.