SVG Minifier
A lighter SVG with comments, editor data and extra spaces removed.
…
How to do it
- 1Add the text
Paste or type the text or amount here.
- 2See the result
The result appears right away as you type.
- 3Copy it
Copy the result and use it anywhere. Your text goes nowhere.
About this tool
Paste the code of an SVG and the tool removes comments, the XML header, editor metadata from Inkscape and similar apps, and extra spaces. It can also round long decimal numbers to two or three places, which often saves a lot. Compare the result with the original before using it.
Frequently asked questions
Will my icon look different?
Rounding to two decimals is usually invisible for icons. Choose three decimals for fine detail or turn rounding off.
Can I upload an SVG file?
Open the file in a text editor and paste its code here.