SVG optimizer
Paste SVG markup or load a file, run SVGO in the browser, and compare size and preview before you ship icons or illustrations. Your SVG never leaves the browser.
~~~
Options
Before
After
Saved
Preview
Before
After
Optimized output
~~~
About this tool
SVGO strips editor metadata, tightens paths, and removes redundant attributes from SVG files. Run it here before embedding icons inline or shipping sprite sheets — smaller files mean faster pages.
Previews use data:image/svg+xml URLs (encoded, not injected as HTML) so scripts inside pasted SVG cannot execute in this tool.
Your SVG never leaves the browser.
~~~