SVG Optimizer
Minify SVG paths, round coordinates, strip comments and editor metadata, and remove unsafe scripts.
Drop an SVG fileYour files stay on this device
or paste ⌘V
Runs in this browser. Nothing is uploaded.
How to use SVG Optimizer
Open an SVG file or paste SVG code to inspect side-by-side Original vs Optimized & sanitized markup immediately.
Toggle comment removal, metadata/editor stripping, empty groups, whitespace collapse, width/height removal, and float precision.
Copy the smaller clean SVG or export it directly as .min.svg.
Frequently asked questions
What does Number precision do?
It rounds coordinate decimals across path data and geometry attributes to reduce byte size while optionally preserving fine curves.