Compress SVG files
SVG files from design tools often carry editor data you do not need. This tool strips that extra text and rounds long numbers. A live preview shows the cleaned art and its new size before you save. The picture looks the same and the file loads faster.
Editor marks and extra spaces are removed.
How to use compress svg
- Add an SVG. Drop the file into the box or choose it.
- Set the level. Move the slider to clean more or less. Press Compress SVG to see the cleaned art and the new size.
- Download. Save the smaller SVG. You can also save a gzipped SVGZ file for web use.
What you get
- Removes comments and editor data
- Compression slider from light to maximum
- Rounds long numbers to two places
- Live preview of your original and cleaned SVG
- Optional gzip SVGZ download for web use
Compress SVG questions
Will the picture change?
No. Only comments, editor data and extra spaces are removed. Lines and colours stay the same.
What does the id and class option do?
It removes id and class names. Use it only when the SVG has no scripts or CSS inside.
Can I compress an SVG with text?
Yes. Text elements are kept. The tool does not turn text into paths.
What is SVGZ?
SVGZ is an SVG file compressed with gzip. Many web servers send it as is, and browsers can open it. Tick the gzip option to get one.
Does this tool work offline?
Yes. When you see the crossed wifi mark, the tool is ready. You can turn off the internet and keep using this open page. To open it again later, load the page once while online.