WOFF to WOFF2
If all you have is an old .woff, you do not need the original desktop font to get a WOFF2. A WOFF 1.0 file holds every table of the font, each one zlib-deflated on its own, so it can be inflated back to the exact font inside and then handed to the reference Google WOFF2 encoder. That is all this page does, in your browser: unwrap, re-encode, then decode its own WOFF2 again and compare the character map, names and embedding bits with your .woff before the download appears.
Drop WOFF 1.0 files or folders here, or choose them.
Everything runs in this tab. Detecting device capabilities…
Files are read and processed in this browser tab. Nothing is uploaded — the page’s Content-Security-Policy blocks connections to any other origin.
Why bother replacing a working .woff
Brotli plus WOFF2's outline transform usually beats per-table zlib by a clear margin on TrueType fonts; the result row shows the exact saving on your file rather than a promised percentage. CFF-flavoured fonts gain less, because their outline table is compressed as it stands rather than transformed.
Every browser that people realistically use today reads WOFF2, so for most sites the .woff can drop to a second, fallback source in the @font-face rule, or out of the stylesheet entirely.
What the two containers do differently to your font
Unwrapping the WOFF is exact: each table inflates to the bytes it had before it was compressed. Re-encoding as WOFF2 is where the bytes can move. For a TrueType font, "glyf" and "loca" are stored in WOFF2's reversible transform and rebuilt by the decoder, so a browser gets the same outlines, though not always the same bytes. The reference encoder also removes any "DSIG" signature.
A WOFF 1.0 file can carry an extended-metadata block (XML licence and vendor details) and a private-data block. They belong to the container, not the font, and this WOFF2 output does not include them. The result says so when your file had either; the inspector can show you the metadata first if you want a copy.
What survives this conversion
Every row below is checked automatically against your own file after conversion. If any check fails the output is discarded rather than offered for download.
| Property | Outcome |
|---|---|
| Glyph outlines kept | Not redrawn. CFF outlines are copied byte for byte; TrueType "glyf"/"loca" travel in WOFF2's reversible transform and are rebuilt by the reference decoder, so the outlines are the same but their bytes need not be. |
| Character map (cmap) kept | Every code point keeps the same glyph id. Verified after every conversion. |
| Family, version, copyright and licence strings kept | Preserved exactly and re-checked against the input. |
| OS/2 embedding permissions (fsType) kept | Preserved. Glyph Batch never clears a vendor restriction bit. |
| OpenType layout (GSUB, GPOS, GDEF, kern) kept | Preserved unchanged, so ligatures and kerning behave identically. |
| TrueType hinting (fpgm, prep, cvt, gasp) kept | Preserved unchanged. |
| Variable font tables (fvar, gvar, avar, HVAR, STAT) kept | Preserved unchanged; the output stays variable. |
| Colour tables (COLR, CPAL, sbix, CBDT, SVG) kept | Preserved unchanged. |
| DSIG digital signature lost | Removed. WOFF2 encoding drops the signature (the reference encoder always does), because it could not verify against a re-encoded font. |
| WOFF extended metadata and private data blocks lost | Not carried over. Most WOFF files have neither; when yours does, the result names what was left behind. The licence strings in the font's own "name" table are unaffected. |
When it does not work
- The WOFF2 is only a little smaller than the WOFF.
Why: The font has CFF outlines, which WOFF2 compresses without its glyf transform, or most of its size is colour or bitmap data that is already compact.
Fix: That is the honest ceiling for this font. If it is still too heavy, subset it to the characters your pages use.
- The result warns about an extended metadata block.
Why: Your WOFF carried container-level XML, usually the vendor's licence summary, and WOFF2 output from this tool has nowhere to put it.
Fix: Open the original .woff in the inspector and save the metadata text alongside the new file if you need to keep it.
- "Not a WOFF file" for a file that ends in .woff.
Why: The download that produced it saved something else under the font's name, often an HTML error page or a WOFF2 with the wrong extension.
Fix: If the inspector reports WOFF2, you already have the format you wanted; rename it. Otherwise download the font again.
Related
WOFF2 to WOFF
Turn a WOFF2 web font into a WOFF 1.0 file in your browser for platforms that reject .woff2. Decoded with the reference Google decoder, re-wrapped with zlib, verified, never uploaded.
Open: WOFF2 to WOFFTTF to WOFF2
Compress TTF or OTF fonts to WOFF2 in your browser using the reference Google encoder. Batch queue, @font-face CSS, preload snippet and ZIP. No upload, no server.
Open: TTF to WOFF2WOFF to TTF
Unwrap WOFF 1.0 web fonts back to TTF/OTF in your browser. WOFF 1 is a pure container, so the result is table-for-table identical. Nothing is uploaded.
Open: WOFF to TTFSubsetter
Subset fonts in your browser with HarfBuzz hb-subset. Keep pasted text, whole Unicode blocks or standard web ranges. Layout closure is preserved and licence strings are kept.
Open: SubsetterFont to Base64
Encode WOFF2, WOFF, TTF or OTF files as Base64 in your browser: raw strings, data URIs with the correct font/woff2, font/woff, font/ttf or font/otf MIME type, and paste-ready @font-face CSS.
Open: Font to Base64