WOFF vs WOFF2
Lesson 09 · 3 min read · Updated 1 October 2026
WOFF and WOFF2 are not new kinds of font: each is an OpenType font, a .ttf or an .otf, packed for the web. WOFF2 packs it tighter. We weighed six popular fonts from Google Fonts: as WOFF2 they came out 19–37% smaller than as WOFF, and about 97% of browsers in use read WOFF2.
Six fonts, four ways
Each family’s upright file from Google Fonts’ repository, saved by fontTools as WOFF and WOFF2, then cut to the Latin range and saved as WOFF2 again. One kilobyte is 1,000 bytes.
RobotoVariable, 18 styles · 1,326 glyphs · WOFF2 21% smaller than WOFF
- .ttf
- 489 kB
- WOFF
- 280 kB
- WOFF2
- 223 kB
- WOFF2, Latin only
- 84.4 kB
Open SansVariable, 10 styles · 1,150 glyphs · WOFF2 19% smaller than WOFF
- .ttf
- 533 kB
- WOFF
- 346 kB
- WOFF2
- 281 kB
- WOFF2, Latin only
- 94.3 kB
MontserratVariable, 9 styles · 2,747 glyphs · WOFF2 27% smaller than WOFF
- .ttf
- 745 kB
- WOFF
- 295 kB
- WOFF2
- 216 kB
- WOFF2, Latin only
- 59.1 kB
InterVariable, 9 styles · 2,933 glyphs · WOFF2 24% smaller than WOFF
- .ttf
- 877 kB
- WOFF
- 458 kB
- WOFF2
- 350 kB
- WOFF2, Latin only
- 106 kB
LatoStatic · 3,023 glyphs · WOFF2 37% smaller than WOFF
- .ttf
- 657 kB
- WOFF
- 335 kB
- WOFF2
- 212 kB
- WOFF2, Latin only
- 43.1 kB
EB GaramondVariable, 5 styles · 3,247 glyphs · WOFF2 26% smaller than WOFF
- .ttf
- 851 kB
- WOFF
- 399 kB
- WOFF2
- 297 kB
- WOFF2, Latin only
- 114 kB
01
What is the difference between WOFF and WOFF2?
Both wrap the tables of an OpenType font and compress them, and a browser unpacks them into the font they came from, so nothing is lost. WOFF, first drafted in 2009 and a W3C Recommendation since 2012, compresses each table with zlib, the compression behind .zip files. WOFF2, a W3C Recommendation since 2018, uses Brotli, a newer compressor from Google, and first rearranges the outline tables, glyf and loca, so that they compress better.
The W3C’s own evaluation found WOFF2 files a median 24% smaller than WOFF on Google’s fonts. Our six, on the board above, fall either side of that.
02
Which should you use?
WOFF2. Chrome has read it since version 36, Firefox since 39, Edge since 14 and Safari fully since 12: about 97% of the browsers in use. WOFF remains a fallback for older browsers. On a computer, install the .ttf or .otf: WOFF and WOFF2 are made for browsers.
In CSS, list WOFF2 first, since a browser takes the first format it can read: src: url(font.woff2) format("woff2"), url(font.woff) format("woff");.
03
How much smaller is WOFF2?
It depends on the font. The six families on the board, each the upright file Google Fonts publishes, come out 19–37% smaller as WOFF2 than as WOFF, and 47–71% smaller than the .ttf. Lato, a static font of 3,023 glyphs, gains the most over WOFF.
What the file holds matters more than its format. Cut to the Latin letters an English page needs, the range Google Fonts serves for it, the same six weigh 43–114 kB as WOFF2, against 212–350 kB whole. Google Fonts does that cutting for you; when you serve a font yourself, a subsetting tool does it.
04
How do you convert a TTF to WOFF2?
With a converter. fontTools, the Python library FontKind measures with, writes one with fonttools ttLib.woff2 compress font.ttf, and Google’s own woff2 tools do the same. The font that comes out is the same font, smaller.
Check the licence before you serve it: an open licence such as the OFL lets you put a font on a website; a commercial font needs a web licence, whatever its format. Every font on FontKind says which it is on its page.
- WOFF2: Brotli, about 97% of browsers. Serve this.
- WOFF: zlib, a fallback for older browsers.
- TTF or OTF: the font itself, to install on a computer.
05
Try it in the game
- Kerning gameSpace the Word
The spacing you play against comes from each font’s own file, and survives WOFF2 to the last unit.
06
Fonts to open
- Sans serifRoboto
Sans · variable, 18 named fonts upright
- Sans serifOpen Sans
Sans · variable, in width and weight
- Sans serifMontserrat
Sans · variable, 2,747 glyphs
- Sans serifLato
Sans · static, a file a font
- SerifEB Garamond
Serif · 3,247 glyphs
07
Questions
- Is WOFF2 better than WOFF?
- For a website, yes: it is the same font in a smaller file, and about 97% of browsers in use read it. Keep WOFF only as a fallback for older browsers.
- Can I install a WOFF2 font on my computer?
- Not as it is: WOFF and WOFF2 are made for browsers. Install the .ttf or .otf instead; a converter such as fontTools can unpack a WOFF2 back into one, where the font’s licence allows.
- Does WOFF2 lose quality?
- No. Its compression is lossless: the font a browser unpacks keeps the outlines, spacing and features of the file it was made from.
- What MIME type does WOFF2 use?
- Serve WOFF2 files as
font/woff2and WOFF files asfont/woff, the media types registered for them.
08
Sources
09
More to learn
- Kerning
- Ligatures
- Glyphs
- Serif vs sans serif
- Types of fonts
- Font anatomy
- Font vs typeface
- TTF vs OTF