Compress and Optimize SVG
Smaller SVG files for faster websites, with the drawing unchanged.
Drop an image here
or choose files from your device
You can also paste an image with Ctrl+V
SVG · up to 100 MB
Your images are processed locally in your browser and are not uploaded.
SVG files exported from Illustrator, Figma, Inkscape or Sketch carry editor metadata, comments, hidden layers and coordinates with far too many decimals. The optimizer, based on SVGO, removes all that and rounds numbers to the precision you choose — typically making files 30–70 % smaller while they look exactly the same.
How to compress an SVG file
- Step 1
Add an SVG file.
- Step 2
Choose the coordinate precision (2 is a good default).
- Step 3
Compare the result and download the optimized SVG.
Why use PhotoTools
Powered by SVGO
The standard SVG optimizer, with safe default settings.
Side-by-side check
See the original and the optimized SVG next to each other.
Never larger
If nothing can be saved, you get your original back.
Supported formats
Input
- SVG
Output
- SVG
Frequently asked questions
Can optimization change how the SVG looks?
With precision 2 or more, almost never. At 0–1 decimals very small or detailed drawings can shift slightly — compare before you download.
Is it free?
Yes. Browser tools on PhotoTools are free, unlimited and work without an account.
Are my images uploaded to a server?
No. This tool runs entirely in your browser using WebAssembly. Your images never leave your device, and nothing is stored.