How to use the SVG Optimizer
- Paste SVG code into the left panel or upload a
.svgfile. - Choose which optimizations to apply.
- Click Optimize β the cleaned SVG appears on the right with a size reduction report.
- Copy the result or download the optimized
.svgfile.
What gets removed
- Comments β
<!-- β¦ -->blocks often left by design tools. - Metadata β
<metadata>,<title>(unless it provides accessibility), editor namespaces (xmlns:inkscape,xmlns:sodipodi, etc.). - Hidden elements β nodes with
display:noneorvisibility:hidden. - Whitespace β redundant spaces, tabs, and newlines between tags.
This is a lightweight client-side optimizer. For production use, consider running SVGO in your build pipeline.