WOFF2
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://fontfyi.com/iframe/glossary/woff2/" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://fontfyi.com/glossary/woff2/
Add a dynamic SVG badge to your README or docs.
[](https://fontfyi.com/glossary/woff2/)
Use the native HTML custom element.
Web Open Font Format 2.0 — Brotli-compressed, the most efficient font format for the web. ~30% smaller than WOFF, supported by all modern browsers.
WOFF2 (Web Open Font Format 2.0) is the most efficient font format available for web delivery today. It's supported by all modern browsers and should be your default choice when self-hosting fonts. Compared to its predecessor WOFF, WOFF2 achieves roughly 30% better compression on average — a significant saving when fonts are often one of the heavier resources on a page.
The compression improvement comes from WOFF2's use of the Brotli algorithm (the same algorithm used in HTTP/2 content compression), along with a preprocessing step that transforms the font's glyph data into a format that compresses more efficiently. The result is that a font that might be 200KB as a TTF file could be 60-80KB as WOFF2.
Using WOFF2 in CSS:
@font-face {
font-family: 'Inter';
src: url('/fonts/inter-regular.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}
Modern simplified syntax (single format is sufficient):
@font-face {
font-family: 'Inter';
src: url('/fonts/inter-variable.woff2') format('woff2-variations');
font-weight: 100 900;
}
You no longer need to include WOFF or TTF fallbacks in your @font-face declarations. Browser support for WOFF2 covers all browsers that would run your modern CSS anyway — if a browser can handle CSS Grid, it can handle WOFF2.
Preloading WOFF2 for performance:
<link
rel="preload"
href="/fonts/inter-regular.woff2"
as="font"
type="font/woff2"
crossorigin
/>
The crossorigin attribute is required even for same-origin fonts — this is a quirk of how browsers handle font requests.
For variable fonts, WOFF2 supports the same glyph format as OpenType variable fonts, so a single WOFF2 file can replace an entire font family. Roboto Flex distributed as WOFF2, for example, replaces dozens of individual weight and width variants in a package that's still smaller than serving several static files.
When converting fonts to WOFF2, tools like fonttools (Python) or woff2 (Google's C++ encoder) produce the best compression. The pyftsubset tool from fonttools also lets you subset and convert in a single step, which is the most efficient workflow for production font pipelines.
관련 용어
관련 도구
이 개념을 보여주는 폰트
더 알아보기
웹 폰트를 더 빠르게 로드하기 위한 실전 체크리스트입니다 — 프리로딩, 서브셋팅, font-display, 실제로 효과 있는 최신 모범 사례를 다룹니다.
CSS 타이포그래피Google Fonts를 셀프 호스팅하면 로딩, 개인정보, 캐싱을 완전히 제어할 수 있습니다. 다운로드부터 배포까지 단계별 가이드입니다.
CSS 타이포그래피CSS @font-face로 커스텀 폰트를 로드하는 단계별 튜토리얼입니다 — 문법, 포맷 선택, 바로 복사해 쓸 수 있는 실전 예제를 다룹니다.
폰트 리뷰가변 폰트는 하나의 파일로 무한한 유연성을 제공합니다. Google Fonts의 최고 가변 폰트입니다 — 성능, 디자인 유연성, 창의적 제어를 다룹니다.