WOFF2 Converter
Web Open Font Format 2.0. WOFF2 packages a font with Brotli compression and a reversible transform of the glyf, loca and hmtx tables.
WOFF2 is the Web Open Font Format 2.0, a W3C Recommendation and the format to serve fonts in today. It compresses a whole sfnt font with Brotli after applying a reversible transform to the glyf, loca and hmtx tables. Decoding reconstructs the original tables exactly, so nothing about the typeface changes.
2 conversions available
Convert WOFF2 to another format
Every conversion that takes WOFF2 as the input.
Convert another format to WOFF2
Every conversion that produces WOFF2 as the output.
Other tools that work with WOFF2
- Font to Base64 & CSS GeneratorConvert font files directly into CSS @font-face data URIs.
- OTF to TTF ConverterConvert OpenType (.otf) fonts to TrueType (.ttf) format.
- TTF to WOFF ConverterConvert TrueType (.ttf) fonts to Web Open Font Format (.woff).
- WOFF to TTF ConverterConvert WOFF web fonts back to desktop TrueType (.ttf) fonts.
What a WOFF2 file is
WOFF 2.0 does two things WOFF 1.0 does not. It compresses the entire font with Brotli rather than compressing each table separately with zlib, and before compressing it applies a reversible transform to the glyf, loca and hmtx tables that re-encodes coordinates, flags and bounding boxes into streams the entropy coder models better. The W3C states the aim as improved compression and lower bandwidth use while still decompressing quickly on mobile devices.
Every step is defined to run backwards, so decoding reconstructs the original tables rather than approximating them. The glyf transform only applies to TrueType outlines; a CFF-flavoured font is stored with the null transform and simply Brotli-compressed, which is why unwrapping some web fonts yields an OTF.
WOFF2 also defines a collection directory, so one .woff2 can carry several faces sharing tables, the arrangement a .ttc uses on the desktop.