SVG optimizer
Shrink SVG files with SVGO, using safe defaults and clear toggles, and compare the before and after size and look side by side.
Questions
Is it safe for my icons?
The defaults use SVGO’s standard preset, which keeps the viewBox and the picture. Check the side by side preview: if something looks off, lower the rounding (raise precision) or untick merging paths.
When should I turn off Clean up ids?
When CSS or JavaScript outside the SVG refers to ids inside it, for example an icon sprite used with <use href="#icon">. Cleaning ids would rename or remove them.
What does precision do?
It is how many decimal places coordinates keep. 3 is a good default; 1 or 2 is smaller but can shift tiny details.