Usvg is a command-line utility to simplify SVG files based on a static SVG Full 1.1 subset. It converts an input SVG to an extremely simple representation, which is still a valid SVG:
* No basic shapes (rect, circle, etc), only paths * Only simple paths * All supported attributes are resolved * Invisible elements are removed * Comments will be removed * DTD will be resolved * CSS will be resolved
and so on.