WOFF2 web font converters

WOFF2 (Web Open Font Format 2.0) is a compressed package for TrueType and OpenType fonts made for websites. It became a W3C Recommendation in 2018 and uses Brotli compression plus a special encoding of the glyph data, which makes it about 30 % smaller than WOFF 1.0. Every current browser supports it.

Convert WOFF2 web font

What to know about WOFF2 web font

File extensions: .woff2

Where you meet WOFF2 web font files

WOFF2 files are the fonts behind websites: Google Fonts serves WOFF2 to all current browsers, WordPress themes and font services ship them, and design tools export them for developers. People usually meet a .woff2 file when they download a font from a website or a theme package and want to use it in Word, Photoshop or Figma, which cannot install web fonts.

WOFF2 web font compared with other formats

WOFF2 or TrueType font
A WOFF2 contains a TrueType or OpenType font compressed with Brotli and a special glyph encoding, so it is often around half the size of the TTF. Browsers read WOFF2; desktop programs and operating systems need the TTF or OTF.
WOFF2 or WOFF web font
WOFF 1.0, the older version, compresses the same font tables with zlib and is supported by very old browsers such as Internet Explorer 9 to 11. WOFF2 is about 30 % smaller, and all current browsers support it, so most sites now ship only WOFF2.

Common problems with WOFF2 web font files

Windows or macOS will not install a WOFF2 file

Operating systems do not install web fonts. Unpack the WOFF2 to the font inside it: a TTF, or an OTF for fonts with PostScript outlines. The font itself is not changed. Tool: Convert WOFF2 to TTF.

The web font does not load and the browser shows a fallback font

Check the browser's network tab. A 404 means the path in src: url() is wrong; it is relative to the CSS file, not to the page. A CORS error means the font is served from another domain without an Access-Control-Allow-Origin header. Also check that the format hint is format('woff2').

The font is large and slows down the page

A WOFF2 with many scripts can still be several hundred kilobytes. Serve only the character ranges you need (subsetting, or unicode-range in @font-face), and add font-display: swap so text appears before the font has loaded. Tool: Convert TTF to WOFF2.

Questions about WOFF2 web font

Can I use a WOFF2 font in Word or Photoshop?

Not directly. Convert it to TTF or OTF and install that. Check the licence first: a web font licence often does not cover desktop use, even if the file can be converted.

Do I still need WOFF or TTF in my @font-face rule?

For current browsers, WOFF2 alone is enough; every browser released since about 2016 supports it. Add a WOFF fallback only if you must support Internet Explorer 11.

Does converting to WOFF2 change the font?

No. WOFF2 is lossless compression of the font tables. Unpacking a WOFF2 gives a font that works and looks the same as the original, although the file bytes may not be identical.