SVG Optimizer
Optimize SVG markup in your browser, compare file sizes and download the optimized SVG.
Runs in your browser.
Tool settings
Result
How to use this tool
Paste an SVG and compare the before and after sizes. The tool removes active SVG scripts from the downloadable output.
Example input
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect width="16" height="16" x="4" y="4"/></svg>