Example font files
Free example font files to download in TTF and WOFF2 formats. Open-source fonts you can use for testing web font loading, CSS font-face declarations, and font rendering.
Download Example font files
| File | File type | File size | Font format | Font family | Download example file |
|---|---|---|---|---|---|
| TTF Font Sample (Inter) | TTF | 65 KB | .ttf | Inter | Download example file |
| WOFF2 Font Sample (Inter) | WOFF2 | 23 KB | .woff2 | Inter | Download example file |
About font file formats
Font files contain the glyph outlines, spacing metrics, and hinting instructions that tell computers how to render text. The most common formats today are TTF (TrueType Font), OTF (OpenType Font), and the web-optimized WOFF/WOFF2 formats.
TTF files
TrueType was developed by Apple and Microsoft in the late 1980s. TTF files work on virtually every operating system and are the most straightforward format to install locally. They contain quadratic Bezier curves for glyph outlines and support hinting for crisp rendering at small sizes.
WOFF2 files
WOFF2 (Web Open Font Format 2.0) is a compressed font format designed specifically for the web. It uses Brotli compression and typically achieves 30% better compression than the original WOFF format. Every modern browser supports WOFF2, making it the preferred choice for web font delivery.
If you need sample files for other web assets, have a look at our code file samples which include HTML, CSS, and JavaScript examples.