.woff

WOFF file: what it is and how to open it

A WOFF file is a web font: a TrueType or OpenType font, compressed and wrapped for use on websites. Drop one here to see its characters and details before you use it.

Drop your WOFF file here

Opens on this device. Nothing is uploaded. Any other file works too.

What is a WOFF file?

WOFF, the Web Open Font Format, packs an ordinary TrueType or OpenType font so websites can load it quickly. You meet it in a website’s files or in a font package, often next to the same font as .ttf, .otf or .woff2. Browsers use it through a page’s style sheet; Windows and macOS do not install it.

Font designers Erik van Blokland and Tal Leming created the format in 2009 with help from Mozilla’s Jonathan Kew, and Firefox 3.6 was the first browser to support it. It became a W3C Recommendation in December 2012. WOFF 2.0 followed in 2018 with Brotli compression, which W3C calls significantly better; it uses the .woff2 extension.

A web font is still licensed software, and a license for use on a website does not always cover installing the font on a computer. WOFF can carry its license text inside the file.

What is inside

A WOFF file starts with a 44-byte header: the signature wOFF, the flavor of the font inside (TrueType or CFF outlines), its sizes and a version. A directory follows with 20 bytes per table: its four-letter tag, where it sits, its compressed and original sizes and a checksum.

Each table, such as cmap, glyf or name, is compressed with zlib on its own, or stored as it is when compression does not help. Optional blocks at the end hold XML metadata (vendor, credits, license) and private vendor data. Decoding rebuilds the original font exactly, so converting WOFF back to TTF or OTF loses nothing.

Inside a WOFF file: a compressed copy of each table of the original font.

How to open a WOFF file

Windows

  • fontToolsFree Python library. Its ttx command turns a WOFF back into a .ttf or .otf that Windows can install, if the license allows.
  • Universal File Opener for WindowsOursPreview with your own sample line and read the font’s details without installing it. Saves the TTF or OTF font inside it with Pro.

Mac

  • fontToolsFree Python library. Its ttx command turns a WOFF back into a .ttf or .otf that Font Book can install, if the license allows.

Android

  • Universal File OpenerOursPreview with your own sample text and read the font’s details. Converts WOFF 1.0 to TTF or OTF; saving the copy needs Pro. WOFF2 is not supported.

In a browser

  • Universal File OpenerOursDrop the font on this page for a specimen sheet with sample text and the font’s names, version and license. WOFF2 works too. Nothing is uploaded.

Won’t open?

Windows or Font Book will not install it

WOFF is made for websites. Windows installs .ttf and .otf files, and macOS lists TrueType and OpenType formats only. Get the desktop version from the font’s source, or convert the WOFF if its license allows.

The file is .woff2

WOFF2 uses Brotli compression. This page previews it, but our apps read WOFF 1.0 only. fontTools converts WOFF2 to TTF once its Brotli module is installed.

A website’s font fails to load from another domain

Browsers fetch web fonts with CORS, so a font on another domain loads only if that server sends an Access-Control-Allow-Origin header. Chrome reports it as blocked by CORS policy. Add the header, or serve the font from the same site.

I want to use it in Word or a design app

Convert it to TTF or OTF first, but check the license: a web font license may not cover desktop use. This page shows the license text stored in the font.

Convert a WOFF file

  • To TTF or OTF on AndroidOpen the font in Universal File Opener and choose Convert to TTF or OTF; the app picks the extension from the outlines inside. Saving the converted font needs Pro.
  • To TTF or OTF on WindowsOpen the font in Universal File Opener for Windows and save it as TTF or OTF; the app picks the extension from the outlines inside. Saving needs Pro.
  • To TTF or OTF on a computerWith the free fontTools library, run ttx font.woff, then ttx font.ttx. The second step writes the .ttf, or an .otf for CFF fonts.

WOFF files in our apps

Preview WOFF fonts with your own sample text on Android and Windows. Both apps convert a WOFF 1.0 font to the TTF or OTF inside it; saving the converted font needs Pro. WOFF2 previews on this page only.

Get it on Google PlayGet it from Microsoft Store
All Android tools and limits for WOFF files
  • Preview a WOFF font with your own sample text.
  • Font metadata display (family, style, version).
  • Convert WOFF to TTF/OTF: the app rebuilds the original font tables and saves a standard font file. Saving it needs Pro.

Limits

  • WOFF2 is unsupported. Obtain a WOFF, TTF or OTF copy from the font provider.
  • Font editing is unavailable.

Walkthrough: Privacy and offline use on Android