Convert WOFF to WOFF2
Upload a WOFF web font and get a Brotli-compressed WOFF2, the format current browsers prefer and usually the smaller download. The font is rebuilt through a TrueType stage, so any ligature (GSUB) data in the WOFF does not make it into the WOFF2.
Download Started!
How would you rate your experience with MiConvert?
WOFF versus WOFF2, and what this conversion changes
WOFF and WOFF2 are both wrappers that package an OpenType font for delivery over the web; neither is meant to be installed on a desktop. WOFF 1.0 compresses each table with zlib. WOFF2 uses Brotli plus font-specific transforms of the glyph and location tables, which usually makes the file noticeably smaller and the page quicker to load. All modern browsers read WOFF2, so an old WOFF file is mainly worth keeping as a fallback for very old browsers.
When you upload, the server checks the file's signature, inflates the zlib-compressed tables, and parses the font with fonteditor-core. A WOFF that wraps CFF outlines is unwrapped and its outlines converted to TrueType. The writable tables are rebuilt as a TrueType font, which Google's WOFF2 encoder, in a WebAssembly build, then compresses; if that encoder fails, the ttf2woff2 library takes over. The encoder is called with hinting output enabled, which is what keeps GPOS and the hinting tables in the result.
Preserved in the WOFF2: glyph count, every mapped character, advance widths, GPOS kerning and mark positioning, TrueType hints (fpgm, cvt, prep, gasp) if the WOFF contained them, copyright and license name records, and the fsType embedding value unchanged. Not preserved: GSUB, so ligatures, small caps, stylistic sets and complex-script shaping for languages such as Arabic or Hindi are lost; GDEF and STAT; extended name records; color glyph tables; and variable-font axes, which are flattened to one instance. CFF-based WOFF fonts additionally lose their PostScript hints, and their curves become a close quadratic approximation.
This is useful when all you have is a WOFF from an old project or a font kit that predates WOFF2, and you want the lighter format for performance. For fonts whose OpenType features or non-Latin scripts matter, ask the foundry for its official WOFF2, or compile one from the original desktop font with a fontTools-based tool, which keeps GSUB.
Steps to turn WOFF into WOFF2
- Locate the .woff file, for example in your site's fonts folder or in the font kit you downloaded.
- Check that the font license lets you re-encode the web font; the embedding flag is copied as is, and the conversion does not change licensing.
- Upload the WOFF above. Guests can send files up to 50 MB, or 100 MB with a free account. Multi-megabyte CJK fonts can need tens of seconds or several minutes, and anything over 12 minutes is stopped.
- Download the .woff2 and compare its size with the original WOFF before you swap it into your site.
- In your CSS @font-face rule, list the new file first with format('woff2'), keeping the WOFF line after it only if you still support older browsers.
- Reload the page and check ligatures and any non-Latin text, since those features will not be in the new file.
What you get from this WOFF to WOFF2 converter
- Brotli WOFF2 output Written with Google's woff2 encoder, producing the standard compressed format browsers expect, well below the size of the uncompressed font it is built from.
- Reads both WOFF flavors Accepts WOFF files carrying TrueType or CFF outlines, with their zlib-compressed tables inflated automatically.
- Kerning and hinting retained GPOS kerning and any TrueType hinting tables in the source are written into the WOFF2.
- Fallback encoder If the main encoder throws an error on an unusual font, a second WOFF2 library is tried automatically.
- Unchanged license data The fsType permission and the copyright, license and license-URL records are carried over exactly as found.
Video Tutorial
Learn how to convert WOFF to WOFF2 online for free without installing any software. 🔗 Try it: https://miconvert.com #convertWOFF #toWOFF2 #miconvert
WOFF to WOFF2 questions
What is the difference between WOFF and WOFF2?
Both package the same kind of OpenType font for browsers. WOFF compresses each table with zlib; WOFF2 uses Brotli and preprocesses glyph data, so it is typically smaller. Every current browser supports WOFF2.
Is the conversion lossless?
No. Character coverage, advance widths and kerning come through, and CFF-based WOFFs have their curves redrawn as close quadratic approximations. The GSUB table is dropped, so ligatures, alternates and the shaping Arabic or Indic scripts need will not work from the new file. If you rely on those, get an official WOFF2 from the font's maker.
How much smaller will the WOFF2 be?
It depends on the font and on how the WOFF was packed. Against a well-compressed WOFF the saving is usually moderate; against an uncompressed WOFF it can be large. In our own test, the WOFF2 was roughly a third the size of the same font as plain TTF.
Can I convert WOFF or WOFF2 to TTF or OTF for desktop use?
Yes, with the separate WOFF to TTF, WOFF to OTF, WOFF2 to TTF and WOFF2 to OTF converters. The same GSUB limitation applies there, and the OTF output uses TrueType outlines rather than CFF.
My conversion timed out. What now?
Fonts that need more than 12 minutes are stopped, which mostly happens with complete Chinese, Japanese or Korean fonts. Subset the font to the characters your site uses, for example with pyftsubset, then convert the smaller file.
Why does it say Failed to parse source font?
The upload could not be read as a valid font. Fetch the WOFF again from the URL your site serves it from or from the original font kit, make sure it was not renamed from another format, and retry.
Is my font stored after converting?
Only briefly. The WOFF you upload is erased when the job is done, and the WOFF2 remains downloadable for around four hours before automatic deletion. Treat the download link like a password, because it works for anyone who has it until then. Transfers use HTTPS, and file names and job outcomes are logged.