Randomize SVG definition id's

When using inline SVG’s a duplicated definition element id’s will cause problems as the browser will use the first SVG definition with the id.

I created a tool to randomize id’s, you can find it here:


If for some reason the link is broken, here’s the gist (it’s a single html file)