Processed online by Toolvito
Icon Font Generator
Choose your SVG icons and get a web font with one icon per character, a CSS file with a class for each icon and a preview page. You can also turn an icon font back into SVG files.
How to make an icon font
- Choose the SVG files (or one ZIP of them). The file name becomes the icon name: arrow-left.svg gives the class icon-arrow-left.
- Give the font a name and the class prefix. To keep the same codes as last time, add the codepoints.json you got before.
- Press Make font. Download the WOFF2, WOFF and TTF files, the CSS file and the preview page, and put them in one folder of your site.
- Use an icon with
<span class="icon icon-arrow-left" aria-hidden="true"></span>. For icons that carry meaning, add a text label for screen readers.
What the SVG files may contain
- Paths, rectangles, circles, ellipses, lines, polylines and polygons, groups, transforms and
<use>. - Lines drawn with a stroke (as in Feather, Lucide or Tabler icons) are turned into filled outlines, with their line caps and joins.
- A shape inside another shape becomes a hole, as icon sets mean it. Fonts have one colour: colours, gradients, opacity, clip paths, masks and SVG text are not kept.
- The icon is scaled so that the height of its viewBox fills the font height. Square gives every icon the same width; Proportional keeps wide icons wide.
Ligatures
With Ligatures on, typing the icon name in the icon font (for example the word home) shows the icon, as Material Icons do. The codes and classes still work.
Icon font to SVG
Choose a TTF, OTF, WOFF or WOFF2 icon font to get each icon as an SVG file, the list of codes and a preview sheet. The licence of the font decides whether you may reuse its icons.
Privacy
Your files are sent to the Toolvito server to make the font. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.