How to export an minified/optimized svg from Inkscape

inkscapesvg

I'm using Inkscape to create and manipulate SVGs. Later I use this files in my websites. Unfortunately Inkscape produces a really messy SVG, even I select Plain SVG in the save dialog.

Messy SVG

How can I export a clean, optimized and minified SVG from Inkscape? Like without this metadata and unnecessary transforms?

Best Answer

In the Save As dialog select the file type to be

Optimized SVG (.svg)

You then get a dialog where you can set which optional SVG elements can excluded.

Related Question