WOFF2 to TTF Converter

Decompress a WOFF2 web font back to a usable TrueType/OpenType file.

Ad placeholder (leaderboard)

A WOFF2 file is not a different font format — it is a TrueType or OpenType font wrapped in a web-delivery container and Brotli-compressed for small download size. To use that font on the desktop, in a font editor, or in any tool that expects a raw SFNT, you need to unwrap it back to a .ttf (or .otf). This converter does that entirely in your browser.

How it works

The tool reads the WOFF2 header, which records the original SFNT flavour (TrueType 0x00010000 or CFF OTTO), the table count, and the total decompressed size. It then reads the table directory, where each entry’s tag and lengths are stored using WOFF2’s compact null-flag encoding, followed by a single Brotli-compressed block containing every table’s data concatenated together.

The browser’s native DecompressionStream expands that Brotli block. The tool then walks the table directory, slices each table out of the decompressed buffer, rebuilds a standard 12-byte SFNT offset table plus 16-byte directory records (with correct 4-byte alignment and checksums), and concatenates everything into a valid TrueType/OpenType binary that downloads directly.

Notes and limits

  • Decompression is lossless — every glyph and layout table is preserved.
  • WOFF2’s optional glyf/loca transform is reversed so the glyf table is restored to its standard form.
  • This relies on the browser’s native Brotli support in DecompressionStream. Up-to-date Chrome, Edge, and Firefox include it; the tool reports clearly if your browser does not.
  • Respect the font’s licence: unwrapping a web font does not grant desktop-use rights — check the foundry’s EULA.
Ad placeholder (rectangle)