Shrink SVG files by stripping comments, editor metadata, and redundant whitespace, and by rounding overly precise coordinates. See a live before/after size readout and a preview — all processed in your browser.
How to use SVG Optimizer
Paste your SVG markup.
Toggle which optimizations to apply and set the numeric precision.
Copy the optimized SVG and check the size savings.
Frequently asked questions
Will optimizing change how my SVG looks?
The default options are conservative and visual output should be unchanged. Rounding coordinates to very few decimals can subtly shift shapes, so use the preview to confirm.
What does it remove?
Comments, the XML declaration and DOCTYPE, editor metadata (Inkscape/Sodipodi and RDF namespaces), and whitespace between tags — plus optional coordinate rounding.