Free WOFF2 sample, test and dummy files (.woff2)

Brotli-compressed W3C Web Open Font Format 2.0 (.woff2) web font fixture. Use this sample to test CSS @font-face delivery, Content-Security-Policy font-src directives, CDN caching, and font decompression pipelines.

Quick facts: .woff2 format

Extension.woff2
Full nameWeb Open Font Format 2.0
MIME typefont/woff2
CategoryFonts
Compression / EncodingLossless transformed sfnt tables with Brotli compression
Magic bytes (signature)77 4F 46 32 ('wOF2' at byte offset 0)
SpecificationW3C Recommendation: WOFF File Format 2.0 (2018 / 2024)

Download sample WOFF2 files

Every file below is a spec-compliant .woff2 fixture generated deterministically for automated and manual testing. Verify the exact byte count and SHA-256 digest after downloading, or open the custom-size file generator to build additional fixtures in your browser.

WOFF2 sample files
FileSizeVariant & contentsSHA-256 checksumDownload
sample-font-web.woff2 472 bytes472 bytes WOFF2 Brotli-compressed web font (.woff2) for @font-face and CSP testing 2055391eb1c285472b67a8869aaea264b2e9c9639db8244d5afb5a7420748735 Download WOFF2

What is a WOFF2 file?

Web Open Font Format 2.0 (WOFF2) is the W3C standard packaging format for delivering fonts on the web. Developed to supersede WOFF 1.0 (which simply applied zlib/DEFLATE compression to each individual OpenType table), WOFF2 first applies font-specific preprocessing transforms to the glyf and loca tables—eliminating redundant bounding-box coordinates and reconstructing the index table—and then compresses all font tables together as a single shared Brotli stream. That combined approach reduces web font file sizes by 30% to 50% compared to raw TTF files.

Every WOFF2 file starts with a 48-byte header whose first four bytes are the ASCII signature wOF2 (hexadecimal 77 4F 46 32), followed by the underlying flavor signature (00 01 00 00 for TrueType or OTTO for CFF), total file length, table count, uncompressed size, and compressed Brotli stream length.

How to open a .woff2 file on Windows, macOS, Linux, Android and iOS

What to test with WOFF2 sample files

Common problems when handling .woff2 files

A frequent misconfiguration on web servers and CDNs is missing the font/woff2 MIME mapping, causing the server to send application/octet-stream or attempt on-the-fly gzip compression on an already Brotli-compressed file. Another common mistake is trying to install a .woff2 file directly into Windows Fonts or macOS Font Book; desktop operating systems require decompressed .ttf or .otf files.

Need to convert or inspect a file right away? Use ConvertFerry Web Utilities or drop any local file into our in-browser Magic-Byte File Inspector.

Related formats and testing resources

Frequently asked questions

How do I identify a WOFF2 file from its magic bytes?
The first four bytes of every WOFF2 file are 77 4F 46 32, which spells 'wOF2' in ASCII. By contrast, a WOFF 1.0 file starts with 77 4F 46 46 ('wOFF').
Should I configure Nginx or an edge proxy to gzip .woff2 files?
No. WOFF2 already uses high-ratio Brotli compression internally. Applying HTTP gzip or Brotli on top wastes CPU cycles and can slightly increase payload size.
Do I still need WOFF 1.0 or EOT fallback fonts for modern browsers?
Every major browser released since 2017 (Chrome 36+, Firefox 39+, Edge 14+, Safari 10+, iOS 10+) supports WOFF2 natively, so WOFF2 alone covers over 98% of active web traffic.
How was sample-font-web.woff2 created?
It was compiled directly from our deterministic TrueType test font using fontTools.ttLib.woff2 with Brotli compression.