SVGO: SVG Optimizer

Updated . Posted . Visible to the public. Repeats.

SVG files are often much larger than necessary, containing comments, metadata, hidden elements etc.

Optimize them with this tool.

Note that for a properly scaling SVG, you need to keep the viewBox attribute. There's an option --disable=removeViewBox for this.

Profile picture of Tobias Kraze
Tobias Kraze
Last edit
Dominik Schöler
License
Source code in this card is licensed under the MIT License.
Posted by Tobias Kraze to makandra dev (2015-02-02 07:56)