Skip to content

SVG Optimizer

About the SVG Optimizer

Optimize and minify SVG files in your browser with SVGO. Compare before and after, keep accessibility labels and license comments, and download the result.

How to use it

Examples

Questions

Is my SVG uploaded?
No. Sanitizing and optimizing run in your browser. The optimizer code loads only on this page.
Will it change how my SVG looks?
Safe and Balanced should not. Aggressive can, for example when external CSS targets ids or shapes. The tool shows a rendered difference and lists what to check.
Are accessibility labels kept?
Yes. title, desc, role and aria attributes are kept, including the ids they point to. The viewBox is never removed.
What about license comments?
Comments that mention a license or copyright are kept, because many licenses require the notice to stay with the file.
Why was part of my SVG removed?
Scripts, event handlers, external images and foreign content are removed for safety before optimizing. The tool lists what it removed.

Free and runs in your browser. Sign in only if you want to save your work.