Paste or drop an SVG. Strip the cruft. See exactly how many bytes you saved.
This free SVG optimizer strips the editor cruft, metadata, comments, default attribute values and excess whitespace that Illustrator, Inkscape and Sketch leave behind, then rounds numeric values to a configurable precision — so you ship leaner vector files without losing render fidelity.
Paste the SVG or drop a file into the input pane. Toggle the optimizations you want, slide the precision down, and the cleaned output appears in real time with a byte-by-byte savings counter. Copy or download when you are happy.
Paste an SVG string, drop a .svg file with the Upload button, or click Load sample SVG to try a quick example. Tune the toggles and precision slider until the output preview still looks right and the byte savings feel worthwhile. Copy the result or download it as a clean .svg.
Comments, XML declarations, doctype, editor metadata from Inkscape, Illustrator and Sketch, empty groups and defs, default attribute values like fill='none' and stroke='none', collapsible whitespace, and rounds numerics — every rule is a toggle.
By default yes — the rules only remove redundant or invisible data, so the rendered shape is byte-for-byte identical to the original. Dropping decimal precision below three digits can subtly snap curves; the preview shows the result.
No. Optimization runs entirely on the page in JavaScript, so confidential logos or unreleased icon sets are safe to clean here without any upload.
Built by the Toolbox team against the W3C SVG 1.1 and SVG 2 specifications, using the same default-attribute table SVGO ships with, so each rule is grounded in the spec rather than guesswork. Run locally, no external service required.