About this tool
Design apps leave a lot of extra data in exported SVGs. This optimizer strips editor namespaces, metadata and comments, unwraps empty groups, shortens colors and rounds coordinates to the precision you choose, while path data is parsed properly so arc commands stay intact. Before and after previews and the size saving are shown side by side.
How to use SVG Optimizer
- Choose an SVG file or paste the code.
- Pick the options and number of decimal places.
- Compare the before and after previews.
- Copy or download the optimized SVG.
Frequently asked questions
Will optimizing change how my SVG looks?
The default settings are safe for almost all files. If shapes shift slightly, increase the decimal places, especially for small icons with fine detail.
Why keep title and desc by default?
Those elements give screen readers a description of the image. Remove them only for purely decorative graphics.