Your file is not uploaded: the conversion runs in your browser, and your file stays on your device.

WOFF 1.0, a W3C Recommendation since December 2012, wraps each table of a TrueType or CFF font with zlib compression for the web. Today all modern browsers also support WOFF2, which is usually the better choice. Use TTF to WOFF when a legacy browser, tool, or font loader specifically needs WOFF.

How it works

  1. Drop your .ttf font onto the box above or click to pick it; several fonts at once are fine.
  2. Click Convert. Your browser packs the font’s tables with zlib into a WOFF file, with no upload.
  3. The .woff file downloads automatically under the same name. List it in your @font-face src after the WOFF2.

What happens to your file?

AspectResult
ProcessingIn your browser, following the W3C WOFF 1.0 specification; zlib compression comes from the fflate library, running in a background thread (web worker). Your font never leaves your device.
CompressionEach table is packed separately with zlib and only stored compressed if that makes it smaller, as the specification requires.
ContentThe tables stay unchanged. Before saving, the WOFF is unpacked again and must match your TTF byte for byte, table by table; in our test, the round trip gave back the original file byte for byte.
File sizeInter Regular: 407 KB as TTF, 198 KB as WOFF (−51%), 138 KB as WOFF2.
MetadataThe converter adds no WOFF metadata and no private data. Per OFL-FAQ 2.2.1, such a WOFF version of an Open Font License font isn’t a modification.

Limitations

  • Only .ttf files are accepted; font collections (.ttc) can’t be converted.
  • There are no options: no subsetting, no WOFF metadata, no CSS output. Each TTF becomes exactly one WOFF.
  • Multiple fonts are converted one after another; if one fails, the rest of the queue stops there.

Frequently asked questions

Should I use WOFF or WOFF2?

WOFF2 for current websites: all modern browsers support it, and it compresses better. WOFF is only needed for older environments; for WOFF2, use the TTF to WOFF2 converter.

Does WOFF change the font itself?

No. WOFF compresses the font’s tables without altering them, and unpacking restores the original font file. In our test, the round trip to WOFF and back gave the original file byte for byte for all four test fonts.

Why is the WOFF file larger than a WOFF2?

WOFF uses the older zlib instead of Brotli and doesn’t transform the glyph data. In our test, Inter Regular came to 198 KB as WOFF and 138 KB as WOFF2.

Sources

  1. W3C: WOFF File Format 1.0 (Recommendation)
  2. MDN: Web fonts
  3. SIL: OFL-FAQ