What is a WOFF2 file?
WOFF2 is the newer web font format. It compresses the font with Brotli, so the file is smaller than WOFF and the page loads faster. All major browsers support it, and it is the one to use on a website. It is not made for installing on a computer.
Drop your file here
or select file
Images, video, audio, documents, data, archives, fonts and more.
About WOFF2 file:
01WOFF2 at a glance
- Full name
- Web Open Font Format 2.0
- Type
- A TTF or OTF font compressed with Brotli, made for websites
- Extension
- .woff2
- MIME type
- font/woff2
- First bytes (hex)
- 77 4F 46 32 (the text wOF2)
- Standard
- W3C Recommendation, 1 March 2018
02What is a WOFF2 file
WOFF2 is the font format for websites. It compresses the font with Brotli and prepares the glyph data before compressing it, which gives a smaller file than WOFF. The W3C measured 27% better compression than WOFF 1.0 for TrueType fonts and 13.5% better for fonts with Type 1 glyphs. A smaller font means text appears sooner.
Nothing is lost: converting a TTF or OTF to WOFF2 and back gives the same font. The W3C says recent versions of all the major browsers support it, so one WOFF2 file is enough for nearly every visitor. You load it with the @font-face rule in CSS.
WOFF2 is not made for installing. Windows, macOS and desktop design programs expect TTF or OTF. Keep the original TTF or OTF as your master and make the WOFF2 for the website.
To read the name and characters inside a WOFF2 file this tool must unpack Brotli, and it does that in your browser. If your browser cannot, the tool still shows the file structure.
03Good and bad sides
Good
- The smallest font format for the web
- Supported by all major browsers
- Lossless: the font is not changed, only packed
- Works with variable fonts and with OpenType features
Bad
- Cannot be installed like a normal font
- Needs the original font and its licence for any other use
04Best for
Websites
The format to use. Serve it first in @font-face.
Very old browsers
Keep a WOFF only if you need to support them.
05How to open it
- Browsers
- Chrome, Edge, Firefox and Safari load it through @font-face
- Windows and macOS
- They do not install WOFF2. Convert it to TTF or OTF
- Design apps
- Most cannot open WOFF2
06Convert and compare
Sources