SVGO: SVG Optimizer
SVG files are often much larger than necessary, containing comments, metadata, hidden elements etc.
Optimize them with this tool.
- Web UI: https://jakearchibald.github.io/svgomg/ Show archive.org snapshot
- Binary: https://github.com/svg/svgo Show archive.org snapshot
Note that for a properly scaling SVG, you need to keep the viewBox
attribute. There's an option --disable=removeViewBox
for this.