SVG Sprite & Icon Font Kit
Drop in SVG icons and get an SVG <symbol> sprite, a CSS data-URI icon set and a real OTF/WOFF icon font with @font-face — all generated in your browser.
Options
Preview
Add some SVG files to see the sprite, the CSS and the font.
How to build an icon sprite or icon font
- Drop your
.svgicons in. Each file name becomes the icon name — click a name to rename it. - Set the class prefix, the font family and the starting code point, and pick whether fills should become
currentColorso CSS can colour the icons. - Copy the sprite, the CSS or the
@font-faceblock from the tabs, or download the whole kit as a ZIP withsprite.svg,icons.css,usage.html, the.otfand the.woff.
FAQ
Sprite, data URI or icon font — which should I use?
An SVG <symbol> sprite is the modern default: one request, colourable with CSS, crisp everywhere. Data-URI CSS classes need no markup changes and work in ::before. An icon font is worth it only when you must support very old tooling or want icons to inherit text metrics.
Which icons can become font glyphs?
Icons drawn with <path>, <rect>, <circle>, <ellipse>, <line>, <polygon> and <polyline>, with simple transforms, convert cleanly. Strokes, gradients, <text>, <image> and <use> cannot become glyphs — those icons still appear in the sprite and the CSS, and the tool lists them.
Are my files uploaded?
No. Parsing, the sprite, the data URIs, the OTF and the WOFF are all produced in your browser; nothing is sent anywhere.