What is WOFF2? Web Open Font Format 2.0 Explained
A W3C web font format using Brotli compression for the smallest font downloads.
Last updated:
What is WOFF2?
WOFF2 (Web Open Font Format 2.0) is the successor to WOFF, published as a W3C Recommendation in March 2018. Like WOFF, it wraps SFNT-based TrueType or OpenType fonts, but it achieves substantially smaller file sizes.
WOFF2 replaces WOFF's zlib compression with the Brotli algorithm and adds font-specific preprocessing of the glyph tables. This typically yields around 30% better compression than WOFF, while supporting the full TrueType/OpenType feature set including variable fonts and font collections.
How WOFF2 Works
WOFF2 is version 2 of the Web Open Font Format, and it does the same job as the original WOFF: it wraps an OpenType or TrueType font in a container built for the web. The glyph outlines, character maps, and layout tables inside are unchanged, and a browser reconstructs the original font from them. What sets WOFF2 apart is that it is far more aggressive about making that container small, which is the whole point of the revision.
The headline change is the compression engine. Where WOFF 1.0 compressed each table with general-purpose zlib, WOFF2 uses Brotli, a newer algorithm that consistently squeezes text-like data smaller. On top of that, WOFF2 applies a font-specific transform before compressing: it rearranges the glyf and loca tables into a form that exposes more redundancy for Brotli to exploit, understanding the structure of glyph outlines rather than treating them as an opaque blob. The two techniques together typically yield files roughly a quarter to a third smaller than the same font as WOFF 1.0.
WOFF2 also compresses the whole font as a single stream rather than table by table, which lets the compressor find patterns that span the entire file. This is more efficient but means a browser generally decodes the complete font before use rather than pulling out one table at a time. For a web font, where the whole file is needed to render text anyway, that is the right trade, and it contributes to the size win.
For the designer, none of this is visible. A WOFF2 font is referenced from a CSS @font-face rule with format("woff2"), downloaded like any other asset, and expanded back to a standard OpenType font in memory. Everything the underlying font supports, ligatures, kerning, multiple scripts, and variable-font axes, works exactly as it would from a desktop file, because the reconstructed font is byte-for-byte the original.
History and Standardization
WOFF2 grew out of work led by Google, which had strong reasons to shrink web fonts: every byte saved on a font speeds up page loads across an enormous number of sites. It built on the proven WOFF wrapper and paired it with Brotli, the compression algorithm Google was developing in the same period, adding the glyph-table transform to push the savings further.
The W3C standardized it as a formal Recommendation, the WOFF 2.0 File Format, giving it the same vendor-neutral footing as the original. Browser support followed quickly and is now effectively universal across current versions of Chrome, Firefox, Safari, and Edge. Because the retirement of Internet Explorer removed the last common browser that could not read WOFF2, it has become the default web font format for modern sites.
In current practice, WOFF2 is the primary format in a @font-face rule, often listed alone or with WOFF 1.0 as a single fallback for rare old browsers. The elaborate multi-format font stacks of the past, which juggled EOT, TTF, WOFF, and SVG fonts, have collapsed into essentially just WOFF2 plus at most one fallback. It represents the current end point of the web's long effort to deliver real typography efficiently.
WOFF2 Compared to WOFF and Raw Fonts
Against WOFF 1.0, WOFF2 is a straight improvement in size with no loss of capability: same fonts, same features, meaningfully fewer bytes thanks to Brotli and the glyph transform. The only reason to still serve WOFF 1.0 is compatibility with a shrinking set of older browsers, and even that need is largely gone. For any font a browser can render, WOFF2 is the smaller way to deliver it.
Against serving a raw .ttf or .otf, WOFF2 wins decisively on transfer size while decompressing to the very same font. A raw font can be gzipped by the server, but that does not match Brotli plus the font-aware transform, so WOFF2 is both smaller and simpler to deploy as a single self-contained file. Raw OpenType remains the master you convert from, not the file you ship to visitors.
One practical point worth remembering is that WOFF2, like every web font wrapper, is a delivery format, not an editing format. To modify a typeface, add glyphs, adjust spacing, or subset it, you work with the underlying OpenType source and generate a fresh WOFF2 at the end. Pairing WOFF2 with subsetting, shipping only the glyphs a page actually uses, produces the smallest possible web fonts, which is why it sits at the heart of modern performance-minded typography.
MKV Technical Specifications
WOFF2 vs Other Font Formats
| Feature | WOFF2 | WOFF | TTF |
|---|---|---|---|
| Type | Web font wrapper[1] | Web font wrapper | Outline font |
| Standardized by | W3C[1] | W3C | Apple / IANA |
| Compression | Brotli[2] | zlib / DEFLATE | None |
| File size | Smallest[2] | Small | Largest |
| Best for | Modern web delivery | Broad compatibility | Desktop fonts |
WOFF2 achieves the smallest size via Brotli but is unsupported in some older browsers that still accept WOFF.
Advantages & Disadvantages
Advantages
WOFF2 uses Brotli plus glyph-table preprocessing, typically about 30% smaller than WOFF for faster loading.
It supports the entire TrueType/OpenType spec, including variable fonts, color fonts, and font collections.
WOFF2 is implemented in all major modern browsers and is widely used in production.
Brotli decoding is designed to be fast and memory-friendly even on lower-end mobile devices.
Disadvantages
Legacy browsers that predate WOFF2 require a WOFF or TTF fallback.
WOFF2 is designed for web delivery and is not used for desktop installation or print.
Creating WOFF2 requires Brotli-capable tools, though these are now widely available.
Common Use Cases
WOFF2 is the default modern format for serving custom web fonts.
Primary web font delivery
Sites serve WOFF2 first via @font-face to give most visitors the smallest, fastest fonts.
Variable font deployment
WOFF2 efficiently delivers variable fonts, packing many weights and styles into one compressed file.
Performance optimization
Developers adopt WOFF2 to reduce page weight and improve Core Web Vitals on font-heavy pages.
Convert WOFF2 Files Free
Use our free online converter to convert WOFF2 and other formats - no signup, no watermarks.
Try Font Converter FreeHow to open a WOFF2 file
Software for working with WOFF2 files can be categorized into professional tools, free/open-source options, browser-based utilities, and built-in applications. Professional tools often cater to designers and developers needing advanced features, while free/open-source options are suitable for users on a budget. Browser-based utilities provide quick access without installation, making them ideal for casual users. Built-in applications may offer basic functionality for users who need minimal editing or viewing capabilities.
When choosing software for WOFF2, key factors include feature fidelity, whether editing or viewing is required, cost model, and platform compatibility. Users should consider if they need robust editing features or simple viewing capabilities. Export needs are also crucial, as some tools may offer limited output formats. In cases where extensive editing is unnecessary, converting WOFF2 to other formats might be a more efficient solution.
FontForge 2023
FontForge is a free and open-source font editor that supports WOFF2 files. It allows users to view and edit font glyphs, making it suitable for detailed font design work.
- Full glyph editing and manipulation
- Support for multiple font formats
- OpenType and TrueType support
- Kerning and hinting adjustments
- Comprehensive editing capabilities for fonts
- Supports a wide range of font formats
- Active community and extensive documentation
- Steeper learning curve for beginners
- User interface can be less intuitive
Exports to: TTF, OTF, WOFF, WOFF2, SVG
Best for: FontForge is ideal for users needing a powerful, free tool for comprehensive WOFF2 font editing.
Visit FontForge →Transfonter 2023
Transfonter is a web-based service that allows users to convert WOFF2 files into various web font formats. It is user-friendly and focuses on quick conversions rather than extensive editing.
- Batch conversion of font files
- Options for font subsetting
- Custom CSS generation for web use
- Preview of converted fonts
- Quick and easy to use online tool
- No installation required
- Supports multiple font formats
- Limited editing capabilities
- Dependent on internet connection
Exports to: WOFF, TTF, EOT, SVG
Best for: Transfonter is perfect for users needing fast and simple WOFF2 conversions without installation.
Visit Transfonter →Glyphs 3.0
Glyphs is a professional font creation tool that supports WOFF2 files, offering advanced features for type designers. It allows for precise control over font design and export options.
- Advanced glyph editing tools
- Multiple master and variable font support
- Extensive OpenType feature support
- Export to multiple web font formats
- Highly professional and feature-rich
- Intuitive interface for designers
- Strong support for modern font technologies
- High cost may deter casual users
- macOS only limits accessibility
Exports to: TTF, OTF, WOFF, WOFF2, SVG
Best for: Glyphs is best for professional type designers who require a comprehensive and powerful tool for WOFF2 font creation.
Visit Glyphs →Webfont Generator 2023
Webfont Generator is an online tool that converts fonts, including WOFF2, into web-friendly formats. It is designed for web developers looking to optimize font delivery for websites.
- Upload and convert multiple font formats
- Generate CSS for web integration
- Options for font subsetting
- Preview fonts before download
- Simple and effective web-based tool
- No software installation required
- Generates necessary CSS automatically
- Limited editing features
- Free version has some restrictions
Exports to: WOFF, TTF, EOT, SVG
Best for: Webfont Generator is ideal for web developers needing a straightforward solution for converting WOFF2 fonts for online use.
Visit Webfont Generator →