Url encoder for SVG http://yoksel.github.io/url-encoder Usage Take svg. Add inline styles (optional). Encode SVG (http://yoksel.github.io/url-encoder/). Use code as background-image or border-image. Enjoy! Demos: http://codepen.io/collection/DyJRrY/2/.