Sample WOFF2 File Download — Free Web Font Test Files
Download free WOFF2 test files from 10KB to 1MB with exact sizes. WOFF2 is the best font format for web — Brotli compression delivers fonts ~30% smaller than TTF/OTF with 97%+ browser support. Use these web font file downloads to test @font-face, Font Loading API, and performance.
sample-10kb.woff2
File details and verification
- Filename
- sample-10kb.woff2
- Exact size
- 10,240 bytes
- Displayed size
- 10 KB
- Catalog status
- Intentionally invalid (negative test)
- SHA-256
- 22cd73bfa6089dce926f71f407c775e061be3a20d4447ca3ca7798d6364a4d23
- Header signature
- Expected mismatch (expected wOF2)
- Verified on
- 2026-08-10
- MIME type
- application/octet-stream
- Glyphs
- 120
- Font family
- SampleSans
- Font style
- Regular
- Note
- OpenType/CFF content with a .woff2 extension — negative signature test
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/woff2/sample-10kb.woff2
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-50kb.woff2
File details and verification
- Filename
- sample-50kb.woff2
- Exact size
- 51,200 bytes
- Displayed size
- 50 KB
- Catalog status
- Intentionally invalid (negative test)
- SHA-256
- 724e99e1cd33898f7d350a70fc6f1ce48eb6a3c38c6760ce2f642bea70d4a78a
- Header signature
- Expected mismatch (expected wOF2)
- Verified on
- 2026-08-10
- MIME type
- application/octet-stream
- Glyphs
- 486
- Font family
- SampleSans
- Font style
- Regular
- Note
- OpenType/CFF content with a .woff2 extension — negative signature test
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/woff2/sample-50kb.woff2
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-100kb.woff2
File details and verification
- Filename
- sample-100kb.woff2
- Exact size
- 102,400 bytes
- Displayed size
- 100 KB
- Catalog status
- Intentionally invalid (negative test)
- SHA-256
- 97914a29b5a8ae1111413fc507b8ee34296c15d3f5d93983732ad5c8d6696c0a
- Header signature
- Expected mismatch (expected wOF2)
- Verified on
- 2026-08-10
- MIME type
- application/octet-stream
- Glyphs
- 940
- Font family
- SampleSans
- Font style
- Regular
- Note
- OpenType/CFF content with a .woff2 extension — negative signature test
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/woff2/sample-100kb.woff2
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-500kb.woff2
File details and verification
- Filename
- sample-500kb.woff2
- Exact size
- 512,000 bytes
- Displayed size
- 500 KB
- Catalog status
- Intentionally invalid (negative test)
- SHA-256
- 6946ac609a75ed22449fda0fceab1b9689d7b0f610b5b273ae7e876dafa8b96e
- Header signature
- Expected mismatch (expected wOF2)
- Verified on
- 2026-08-10
- MIME type
- application/octet-stream
- Glyphs
- 4,577
- Font family
- SampleSans
- Font style
- Regular
- Note
- OpenType/CFF content with a .woff2 extension — negative signature test
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/woff2/sample-500kb.woff2
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-1mb.woff2
File details and verification
- Filename
- sample-1mb.woff2
- Exact size
- 1,048,576 bytes
- Displayed size
- 1 MB
- Catalog status
- Intentionally invalid (negative test)
- SHA-256
- a08108643ef800871381ffe1c68ef583184461da8937118bdc099590eb90ce37
- Header signature
- Expected mismatch (expected wOF2)
- Verified on
- 2026-08-10
- MIME type
- application/octet-stream
- Glyphs
- 9,341
- Font family
- SampleSans
- Font style
- Regular
- Note
- OpenType/CFF content with a .woff2 extension — negative signature test
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/woff2/sample-1mb.woff2
See how TrueFileSize generates and measures sample files, or review the editorial policy.
Use cases for sample WOFF2 files
- Testing @font-face loading and font-display strategies
- Measuring web font impact on Core Web Vitals (CLS, LCP)
- Testing the CSS Font Loading API (FontFace object)
- Verifying font preloading with <link rel='preload'>
- Benchmarking WOFF2 vs TTF download and parsing times
- Testing font CDN caching and cache-control headers
Optimal web font loading
<!-- 1. Preload critical font (above the fold) -->
<link rel="preload" href="/fonts/main.woff2"
as="font" type="font/woff2" crossorigin>
<!-- 2. CSS @font-face with font-display: swap -->
<style>
@font-face {
font-family: 'MainFont';
src: url('/fonts/main.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}
</style>
<!-- 3. JavaScript Font Loading API (programmatic) -->
<script>
const font = new FontFace('MainFont',
'url(/fonts/main.woff2)');
font.load().then(() => {
document.fonts.add(font);
document.body.classList.add('fonts-loaded');
});
</script>WOFF2 vs WOFF vs TTF for web
| Feature | WOFF2 | WOFF | TTF |
|---|---|---|---|
| Compression | Brotli (~30% smaller) | zlib (~20% smaller) | None |
| Browser support | 97%+ | 99%+ | 100% |
| Desktop install | No | No | Yes |
| Recommendation | Primary web format | Legacy fallback | Last fallback |
Technical specifications
| Full name | Web Open Font Format 2 |
| Extension | .woff2 |
| MIME type | font/woff2 |
| Compression | Brotli (font-specific) |
| Size reduction | ~30% vs TTF/OTF |
| Developed by | W3C (2018, Recommendation) |
| Browser support | 97%+ (all modern browsers) |
Frequently Asked Questions
Why should I use WOFF2 instead of TTF on the web?
Can I install WOFF2 fonts on my desktop?
How do I convert TTF to WOFF2?
What is font subsetting and why does it matter?
Should I self-host fonts or use Google Fonts?
Other font formats
Related reading
5 Browser File API Gotchas: Memory, Slicing & Metadata
Five reproducible Browser File API pitfalls involving data URLs, Blob slicing, lastModified metadata, file input events, and whole-file buffering.
Generate Sample Files in the Browser (No Upload Needed)
How to generate sample files locally with Blob, TextEncoder, Uint8Array, object URLs, and a custom file size up to 1GB. No upload or backend required.
MIME Type Detection in Production — A Practical Validation Pipeline
Build a defensible MIME detection pipeline with client hints, magic bytes, text sniffing, parser validation, and explicit confidence levels.