Icon Font Generator

Turn SVG icons into your own icon font - WOFF2, WOFF and TTF with ready-made CSS, optional ligatures and a demo page. Stroke icons are converted to outlines for you. Have a font and want the icons back as SVG? Use the Font Icon Extractor.

Drop SVG icons here or click to browse - several files, an SVG sprite or a project .json from an earlier font
Built in your browser - nothing is uploaded

How to make an icon font from SVG

  1. Add your icons. Drop SVG files or an SVG sprite into the box, pick icons from Lucide, Tabler or Material Symbols, or drop a project file from an earlier font.
  2. Check names and codes. Each icon gets a CSS class from its file name and a Private Use Area code. Edit either one on the icon card.
  3. Name the font. Set the font name and class prefix, and switch ligatures on if you want to type icon names.
  4. Test it. The live preview uses the real font, so you see exactly how every icon renders at 16 to 48 px.
  5. Download. Click Download font to get WOFF2, WOFF and TTF files, the CSS, a demo page, an SVG sprite and a project file in one ZIP.

Using your icon font

Unzip the download and copy the fonts folder and the CSS file to your site.

Link the CSS in the page head, then add an icon anywhere with its class:

<link rel="stylesheet" href="/my-icons.css">
<i class="icon icon-home" aria-hidden="true"></i>

Icons take the text colour and size, so color and font-size style them like text. In React, Vue or Angular, import the CSS once and use the same classes.

The demo page in the ZIP shows every icon with its class and code, ready to copy.

Stroke icons and traced outlines

A font can only store filled shapes - no strokes, no colours.

Popular sets like Lucide, Feather and Tabler draw icons with strokes. These are rendered at 1024 px and traced into smooth outlines, so they look the same as the original at normal sizes.

Filled icons, such as Font Awesome style SVGs, keep their exact vector shapes. White shapes drawn on top of a filled icon are traced as holes, so a white tick inside a circle stays visible.

Icon font, SVG sprite or ICO?

An icon font is one small file that works everywhere text works, including buttons, menus and email-safe HTML.

An SVG sprite keeps several colours and sharper edges, which is why the ZIP includes one too. Use the font for one-colour UI icons and the sprite when you need colour.

For a website icon or a Windows program icon you need an ICO file instead - convert a single SVG with SVG to ICO or build a full set with the Favicon Generator. Need a PNG of one icon? Try SVG to PNG.

Frequently Asked Questions

Drop your SVG icons into the box, check the names and codes, give the font a name and click Download font. You get a ZIP with WOFF2, WOFF and TTF files, a CSS file, a demo page and a project file.

Yes. Fonts can only hold filled shapes, so icons drawn with strokes are traced into outlines automatically - the card shows a Traced badge. Filled icons keep their exact vector shapes.

Upload the fonts folder and the CSS file, link the CSS in your page head and add an element with the icon class, for example <i class="icon icon-home"></i>. The demo page in the ZIP lists every class and code.

With Ligatures switched on you can type the icon name, such as home, inside an element that uses the font, and the browser shows the icon - the way Material Icons works.

Yes. The ZIP has a react folder with one SVG component per icon (for example <HomeIcon size={24} />) plus an Icon component that uses the font, and a selection.json you can import into the IcoMoon app. SCSS variables are included as well.

Click Adjust on the icon card. Size scales that icon from 50 to 150 percent and Up / down moves it, so icons from different sets line up with your text. The live preview updates at once.

Yes. Every ZIP holds a project file (.json). Drop it into the box next time, add or remove icons, and download the font again with the same names and codes.

Icons start at U+E001 in the Private Use Area, so they never clash with real text characters. You can change the start code or edit the code of any icon.

Fonts have one colour. In Auto mode white shapes drawn on top of others are cut out as holes; other colours all become the same solid ink. Very thin details can also disappear at small sizes - the live preview shows the real font.

No. The Icon Font Generator runs entirely in your browser. Your SVG files never leave your device, and the fonts and ZIP are made on your computer.

Guides & Tutorials

All 14 guides
Guide Old vs New ICO Files: Bitmap Icons, PNG Icons and Every Icon Type Explained Read the guide Comparison ICO vs SVG: Which Icon Format Should You Use? Read the guide Guide Complete ICO File Guide: Understanding, Opening & Converting Icon Files Read the guide