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.
Posted by Tobias Kraze to makandra dev (2015-02-02 07:56)