Paste your SVG markup to strip comments, design-tool metadata and unnecessary whitespace, and round excess coordinate precision.
Google AdSense Banner
This area will contain advertisements after approval.
Google AdSense Banner
This area will contain advertisements after approval.
This tool strips XML comments, removes design-tool editor metadata (Illustrator, Inkscape and Sketch-specific namespaced attributes and elements, which have no visual effect), collapses unnecessary whitespace, and rounds excess decimal precision inside coordinate-bearing attributes (d, viewBox, points, transform) to your chosen precision. It's a text-based, heuristic cleanup, not a full AST-based optimizer like SVGO, but it safely handles the cleanups that account for most of the reducible size in hand-exported SVGs.
Design tools frequently export path coordinates with far more decimal places than are visually meaningful (like 12.340000000001 instead of 12.34), a side effect of internal floating-point math. Rounding this precision, and only within known coordinate attributes so nothing else in the file is affected, shrinks path data without any visible change to how the SVG renders.
No, every change made is either purely cosmetic (comments, metadata, whitespace) or a coordinate rounding small enough to be visually imperceptible at any reasonable precision setting (2 decimal places is a safe default).
No, this tool doesn't merge, simplify, or restructure path commands, a task that requires real path-data parsing. It focuses on safe removals and precision rounding, the highest-value, lowest-risk cleanups for typical exported SVGs.
Google AdSense Banner
This area will contain advertisements after approval.