FileFitly

Webfont generator

Drop your font files and get a ready webfont kit: WOFF2 and WOFF files, the @font-face CSS for each weight, and a demo page.

FreeNo uploadNo watermarkUnlimited with free sign-up
  1. Add fonts
  2. Pick formats
  3. Download kit
No font handy?
Make these formats
More options family name, font-display, embed in CSS

Embedding suits small icon fonts and email-free single pages. For normal websites, separate files load faster and cache better.

Converted in your browser. Your font files are never uploaded. Only convert fonts whose licence allows web use.

Also built in, free
  • Reads family, weight and italic from the font
  • WOFF2 back to TTF too
  • Demo page and preload line included
  • Embedded CSS option

How to use Webfont Generator, step by step

  1. Add font files

    Add TTF or OTF files. Several weights can go in together.

  2. Pick formats

    WOFF2 is enough for every current browser. Add WOFF for very old ones.

  3. Download the kit

    You get the font files, ready @font-face CSS and a demo page in one ZIP.

Quick answerAdd your TTF or OTF files (all weights of a family at once is fine), keep WOFF2 and WOFF ticked, and press Make webfont kit. Upload the fonts folder and stylesheet.css to your site and use the family name in your CSS.

How to make a webfont kit

  1. Add the font files. Regular, bold and italic of the same family can go in together; each becomes its own @font-face rule with the right weight and style.
  2. Pick the formats. WOFF2 is all you need for current browsers; WOFF covers older ones; TTF/OTF is for desktop apps.
  3. Press Make webfont kit, check the preview and download the ZIP.

The family name, weight and italic setting are read from inside each font, so the CSS is correct without typing anything. You can change the family name under More options.

Webfont generator with a sample font ready to convert to WOFF2
Screenshot: Webfont generator with a sample font ready to convert to WOFF2.

Which format to use

FormatSizeUse it for
WOFF2Smallest, often 30–50% smaller than TTFEvery modern browser. Use this first.
WOFFSmallOlder browsers. Optional today.
TTF / OTFLargestInstalling on a computer, design apps, video editors.

What is in the kit

  • fonts/ with the converted files
  • stylesheet.css with one @font-face rule per file and font-display: swap, so text appears at once while the font loads
  • demo.html to check every weight in your browser
  • An optional stylesheet with the WOFF2 embedded, for single-file pages

Font licences

Converting a font does not change its licence. Free fonts from Google Fonts and other open-source fonts can be used on websites. Many paid fonts need a separate web licence, so check before you upload. The tool also turns WOFF2 and WOFF back into TTF, which helps when you have only a web copy of a font you are allowed to install.

Questions people ask

Does it change how the font looks?

No. WOFF2 and WOFF are compressed packages of the same font data; the letters are identical.

Can it convert WOFF2 to TTF?

Yes. Add the WOFF2 file and tick TTF / OTF.

What about variable fonts?

They are converted too, and the CSS gets a weight range such as 100 900.

Is my font uploaded?

No. The conversion, including WOFF2 compression, runs in your browser.

Guides

Related tools

One free sign-up makes every tool unlimited on this device, and new guides and tools come to your inbox. No spam, leave with one click.

Only new guides, about once or twice a month. Unsubscribe any time. See our privacy policy.