Font Loading Strategy Guide

Compare font loading strategies and generate optimal @font-face declarations with font-display, preload, and fallback options

swap

Shows fallback immediately, swaps when font loads. Best for body text.

FOUT: Yes | Invisible: No | CLS Risk: Medium

optional

Uses font only if cached. No layout shift. Best for repeat visits.

FOUT: No | Invisible: Brief | CLS Risk: None

fallback

Brief invisible period, then fallback. Swap if loaded quickly.

FOUT: Maybe | Invisible: ~100ms | CLS Risk: Low

block

Invisible text until font loads. Avoid for body text.

FOUT: No | Invisible: ~3s | CLS Risk: Low

More Developer Tools tools at toool.cc