Skip to content
>_ TrueFileSize.com

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

10 KB
Verified file details
Filename
sample-10kb.woff2
Exact size
10,240 bytes
Displayed size
10 KB
MIME type
application/octet-stream
Glyphs
26
Font family
SampleSans
Font style
Regular
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/woff2/sample-10kb.woff2

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-50kb.woff2

50 KB
Verified file details
Filename
sample-50kb.woff2
Exact size
51,200 bytes
Displayed size
50 KB
MIME type
application/octet-stream
Glyphs
95
Font family
SampleSans
Font style
Regular
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/woff2/sample-50kb.woff2

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-100kb.woff2

100 KB
Verified file details
Filename
sample-100kb.woff2
Exact size
102,400 bytes
Displayed size
100 KB
MIME type
application/octet-stream
Glyphs
220
Font family
SampleSans
Font style
Bold
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/woff2/sample-100kb.woff2

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-500kb.woff2

500 KB
Verified file details
Filename
sample-500kb.woff2
Exact size
512,000 bytes
Displayed size
500 KB
MIME type
application/octet-stream
Glyphs
800
Font family
SampleSans
Font style
Regular
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/woff2/sample-500kb.woff2

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-1mb.woff2

1 MB
Verified file details
Filename
sample-1mb.woff2
Exact size
1,048,576 bytes
Displayed size
1 MB
MIME type
application/octet-stream
Glyphs
2,000
Font family
SampleSans
Font style
Italic
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/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

FeatureWOFF2WOFFTTF
CompressionBrotli (~30% smaller)zlib (~20% smaller)None
Browser support97%+99%+100%
Desktop installNoNoYes
RecommendationPrimary web formatLegacy fallbackLast fallback

Technical specifications

Full nameWeb Open Font Format 2
Extension.woff2
MIME typefont/woff2
CompressionBrotli (font-specific)
Size reduction~30% vs TTF/OTF
Developed byW3C (2018, Recommendation)
Browser support97%+ (all modern browsers)

Frequently Asked Questions

Why should I use WOFF2 instead of TTF on the web?
WOFF2 is ~30% smaller than TTF due to Brotli compression — faster downloads, better Core Web Vitals scores. With 97%+ browser support, WOFF2 should be your primary web font format. Only include TTF as a fallback for very old browsers if needed.
Can I install WOFF2 fonts on my desktop?
No. WOFF2 is a web-only format — operating systems don't support installing it as a system font. For desktop use, you need the TTF or OTF version of the same font. Many font distributors provide both formats.
How do I convert TTF to WOFF2?
CLI: woff2_compress font.ttf (Google's woff2 tool). Python: fonttools — pyftsubset font.ttf --output-file=font.woff2 --flavor=woff2. Online: FontSquirrel Webfont Generator or Transfonter. The conversion is lossless.
What is font subsetting and why does it matter?
Subsetting removes glyphs you don't need (e.g., CJK characters from a Latin-only site). A 500KB font can become 20KB after subsetting. Tools: pyftsubset (fonttools), glyphhanger, or Google Fonts (subsets automatically via unicode-range).
Should I self-host fonts or use Google Fonts?
Self-hosting is generally recommended for performance and privacy. Google Fonts adds a DNS lookup + connection to fonts.googleapis.com. Self-hosted WOFF2 files served from your CDN with proper cache headers (Cache-Control: max-age=31536000) deliver faster and avoid third-party cookie/privacy concerns.

Other font formats

Related reading