Skip to main content

Sample WOFF2 Files — Download Free Web Fonts for Testing

Web Open Font Format 2 · .woff2 · MIME type font/woff2

6 files41 KB – 113 KBDirect linksNo ads, no sign-upFree for any useSHA-256 verified

Download a sample WOFF2 file, the format you should actually be serving. WOFF2 applies Brotli compression plus a font-specific preprocessing step, which makes these files roughly 25 to 30 percent smaller than the matching WOFF and less than half the size of the raw TTF, with byte-identical outlines.

Every current browser supports WOFF2, so for testing @font-face, font-display behaviour, preloading, or a self-hosted font pipeline, this is the format to reach for. Files are served with the correct font/woff2 MIME type and an open CORS header.

Download sample WOFF2 files

FileDetailsSizeDownload
sample-font-roboto-mono-regular.woff2
Roboto Mono Regular • monospace · 400
Roboto Mono Regular · SIL Open Font License 1.141 KB
41,148 bytes
sample-font-lora-regular.woff2
Lora Regular • serif · 400
Lora Regular · SIL Open Font License 1.148 KB
48,324 bytes
sample-font-open-sans-regular.woff2
Open Sans Regular • sans-serif · 400
Open Sans Regular · SIL Open Font License 1.160 KB
59,616 bytes
sample-font-roboto-regular.woff2
Roboto Regular • sans-serif · 400
Roboto Regular · SIL Open Font License 1.169 KB
69,112 bytes
sample-font-roboto-bold.woff2
Roboto Bold • sans-serif · 700
Roboto Bold · SIL Open Font License 1.171 KB
71,236 bytes
sample-font-inter-regular.woff2
Inter Regular • sans-serif · 400
Inter Regular · SIL Open Font License 1.1113 KB
113,408 bytes
6 files · direct links · no sign-up · CORS enabled

Use these files from the command line or CI

Every URL is stable and CORS-open. Pin the SHA-256 in your test and you will know the moment a fixture changes.

# Download one file
curl -O https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/fonts/woff2/sample-font-roboto-mono-regular.woff2

# Verify it (SHA-256 is listed for every file above)
shasum -a 256 sample-font-roboto-mono-regular.woff2

# Machine-readable index of every sample file
curl https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/index.json | jq '.files[] | select(.format=="woff2")'

WOFF2 format at a glance

Full nameWeb Open Font Format 2
Extensions.woff2
MIME typefont/woff2
StandardWOFF 2.0 (W3C Recommendation, 2018)
CompressionBrotli plus glyph-table preprocessing
Magic bytes77 4F 46 32 ("wOF2")
MIME typefont/woff2
Browser supportAll current browsers

What people test with sample WOFF2 files

  • @font-face and self-hosted web font testing
  • Font preloading and font-display strategies
  • Core Web Vitals work — fonts are a common LCP blocker
  • Subsetting pipelines (these files are deliberately not subset)
  • CDN caching and cross-origin delivery
Testing notes. Preload the font your first paint needs and pair it with font-display: swap. A render-blocking font request is one of the most common causes of a poor Largest Contentful Paint. These files carry the full character set on purpose. If you subset one to Latin-only you should see it shrink by well over half, which is a quick way to prove your subsetter is working.

Frequently asked questions

How much smaller is WOFF2 than TTF?

Roughly half, and the comparison is easy to run here because the outlines are identical. Roboto Regular is 157,472 bytes as TTF, 92,216 as WOFF and 69,112 as WOFF2 — about 56 percent smaller than the TTF and 25 percent smaller than the WOFF.

Do I need a WOFF or TTF fallback?

Almost never. WOFF2 is supported by every browser released since about 2016. Add a WOFF fallback only if your own analytics show meaningful traffic from older browsers; adding one by reflex just means maintaining a second file nobody downloads.

Can I use these fonts in a commercial project?

Yes. Every face is released under the SIL Open Font License 1.1, which permits use, modification, embedding and redistribution, commercially included. You may not sell the fonts on their own, and a modified version must not keep the original reserved font name. The full licence text is published alongside the files.

Are these variable fonts?

No. The upstream sources are variable, and we instance each to a single static weight before conversion, then delete the leftover fvar, avar, STAT and gvar tables. Static faces are what font loaders, subsetters and validators are normally tested against, and an orphaned variation table is a common source of confusing failures.

Do the files contain the full character set?

Yes, the full upstream character set — between 778 and 2,849 mapped codepoints depending on the family, covering Latin, Latin Extended, Greek and Cyrillic. Nothing is subset, so these are also useful for testing that your own subsetting pipeline actually reduces the file.

Are these WOFF2 files safe to download?

Yes. Every file is generated by our own open script from scratch — nothing is scraped or user-uploaded — and contains no scripts, macros or executables. The SHA-256 of each file is published on this page so you can verify what you received.

Can I use the sample WOFF2 files commercially?

Yes. They are free for any purpose, including commercial products, test suites, demos and redistribution, with no attribution required. There is nothing to license and no one to ask.

Can I hotlink these files or use them in CI?

Yes. Every link is a stable direct URL over HTTPS with Access-Control-Allow-Origin: * and long cache headers, so curl, wget, fetch() and test runners can pull them directly. A JSON index of every file is linked from each page (see the command-line section).

Related sample files

Free tools that work with WOFF2

  • Favicon Generator — Turn any logo into a complete favicon package — favicon.ico, all PNG sizes, Apple touch icon, and webmanifest — in one click.
  • Test File Generator — Generate a dummy file of any exact size in your browser — 1 KB to 2 GB, random bytes, text, CSV or JSON.

Found a problem, or something that could be better? We read every message and we fix things quickly.

Testing a file pipeline? We build them.

Uploads, conversions, previews, document processing and media workflows are the kind of production systems Pine & Birch designs and runs for clients — which is why we needed these files in the first place.

See how we can help
Sample Files by Pine & Birch — technology consulting, Toronto. Free to use, no signup, no attribution required.