SVG Optimizer
Paste SVG code, get a smaller SVG that looks the same, and see how many bytes you saved.
How this is worked out
Editors such as Illustrator and Inkscape leave a lot in an SVG that browsers do not need: the XML declaration, comments, metadata, editor namespaces and attributes, very long decimals and whitespace. The optimiser strips those, rounds numbers to the decimals you choose and removes empty title and description tags, then shows the new size and a preview so you can check it still looks right. For heavy optimisation of path data use a dedicated build tool.
Frequently asked questions
Is the result always identical?
Almost always. Rounding to one decimal can visibly change small, detailed icons, so check the preview. Keep two or more decimals for fine artwork.
Related tools: Svg To Png Converter, Favicon Generator, Image Compressor.