SVG Optimizer
Minify and optimize SVG files. Remove unnecessary data, comments, and whitespace. Adjust numeric precision and optionally preserve the viewBox. Output is SVG source — all processing is local.
Input
SVG
Output
Optimized SVG
Privacy FirstWorks OfflineNo Uploads
Drop your SVG here
or click to browse
FAQ
- What is optimized?
- Comments, metadata, empty groups, hidden elements, and redundant attributes are removed. Path data and numeric values are rounded to the chosen precision.
- Does it preserve the viewBox?
- You can toggle whether to keep or remove the viewBox attribute. Keeping it preserves the SVG's coordinate system and default scaling.
- Is my SVG uploaded anywhere?
- No. All optimization happens locally in your browser.