CalcBrew

Archives, Ebooks & Fonts

TTF to WOFF2

Self-hosting a font? Convert the TTF/OTF to WOFF2 — the format all browsers load fastest — and optionally subset it to the characters you need.

Runs in your browser — files never leave your device.

Drop TTF, OTF files here

or click to browse · paste from clipboard · up to 100 MB each

Select files
Options
Share:

Why convert TTF to WOFF2

A TTF served directly is often 200–800 KB; the same font as WOFF2 is a third of that thanks to Brotli compression, and subsetting to Latin can bring it under 30 KB. Font weight is a common cause of slow text rendering and layout shift.

Compression runs in your browser with the reference WOFF2 encoder compiled to WebAssembly, so the font file is not uploaded — relevant for licensed fonts. A ready-made @font-face snippet is generated with the download.

How it works

  1. Drop TTF, OTF files onto the box above, click it to browse, or paste from the clipboard.
  2. Adjust the options if you need to — the defaults suit most cases.
  3. Press Convert. The work happens on your device, so speed depends on your computer or phone.
  4. Download the WOFF2 — individually or all at once.

About the formats

TTF · TrueType font · .ttf

The desktop font format from Apple and Microsoft, installed on every computer; large and uncompressed for web use.

  • TTF glyphs are quadratic Bézier outlines; OTF may use cubic (PostScript) outlines instead.
  • A full TTF with many scripts can be several megabytes; WOFF2 subsets shrink it to tens of kilobytes.
  • Browsers can load TTF directly, but WOFF2 downloads 30–50 % faster.

OTF · OpenType font · .otf

The successor to TrueType and Type 1: same container, adds advanced typography (ligatures, small caps, alternates) and PostScript outlines.

  • OTF is a superset of TTF; many .otf files are simply TrueType-flavoured OpenType.
  • Advanced OpenType features work in InDesign, browsers and modern Office, but not in every app.
  • OTF converts losslessly to WOFF2 for web use.

WOFF2 · Web Open Font Format 2.0 · .woff2

The modern web font format: Brotli-compressed TTF/OTF, supported by all current browsers and recommended by Google Fonts.

  • WOFF2 is typically 30 % smaller than WOFF and 50–70 % smaller than TTF.
  • All browsers since 2016 (Chrome 36, Firefox 39, Safari 10, Edge 14) support WOFF2.
  • WOFF2 cannot be installed as a desktop font; convert to TTF for that.

Related conversions

More in Archives, Ebooks & Fonts · All converters

Frequently asked questions