TTF, OTF, WOFF or WOFF2 · up to 50 MB each · files at a time: 20 · result: WOFF2

Convert only fonts you may convert: the font’s license (EULA) decides, and checking it is your responsibility. Fonts under the SIL Open Font License, like most Google Fonts, may be converted and used on websites.

Files never leave your browserHow?

This OTF to WOFF2 converter packs OpenType fonts as WOFF2 web fonts while keeping their PostScript (CFF) outlines exactly as drawn. Google’s woff2 encoder runs in your browser and the page writes the @font-face CSS for you.

Last updated:

How it works

  1. Choose the OTF files

    Press Choose OTF files or drop up to 20 fonts, such as a family’s Regular, Italic and Bold.

  2. Convert

    Press Convert to WOFF2 and watch the sizes drop in the list.

  3. Publish

    Download all as ZIP, upload the files to your site, and Copy CSS for the rules.

Features

  • No curve conversion

    WOFF2 can hold CFF fonts as they are, so the cubic outlines and PostScript hints are not touched. There is no detour through TrueType.

  • One rule per style

    Convert a whole family at once: each font gets its own @font-face rule with its weight and style from the font’s own tables.

  • Smallest web font

    Brotli compresses the CFF table well: our CFF test font shrinks from 57 KB to 31 KB, about half.

  • Checked

    Unpacked again, the outlines, cmap and advance widths match fontTools’ reading of the OTF exactly, and OTS, the sanitizer of Chrome and Firefox, accepts the files.

Limits & privacy

Fonts of up to 50 MB each, 20 at a time and 200 MB together are converted in one run. Font collections (.otc) are not supported.

Compression runs in a Web Worker of this tab; the fonts are not uploaded. See the privacy page.

Example: the four OTF files of a family — Regular, Italic, Bold and Bold Italic — are converted in one run. Download all as ZIP gives four WOFF2 files, and the CSS box lists four @font-face rules whose font-weight and font-style come from the fonts themselves.

FAQ

Do browsers support CFF fonts in WOFF2?

Yes, every browser that supports WOFF2 also renders CFF-flavoured fonts. Their rendering on Windows can look slightly different from TrueType, because the PostScript hints are used.

Should I convert the OTF to TTF first?

No, converting to TTF first is not needed for the web. Make a TTF with OTF to TTF only if a program needs TrueType outlines.

Are variable OTF fonts supported?

Yes, a variable OTF with CFF2 outlines is packed as it is, axes included; our tests pack a CFF2 font and OTS accepts the result. Only converting CFF2 outlines to TrueType is not possible.

What about older browsers?

Browsers from before 2016 need WOFF; TTF to WOFF also takes OTF files.

Can I see the glyphs first?

Yes, the glyphs can be checked first in the Font Viewer, which also shows the embedding permission.

Is the font license my concern?

Yes, checking the license is up to you: web embedding must be allowed. SIL Open Font License fonts may be used on websites.

Related tools