font-display Strategy
Pick between swap, block, fallback and optional — with plain-English tradeoffs and the exact CSS you should paste.
Runs entirely in your browser — no upload, no registration.
CSS
@font-face {
font-family: 'Your Font';
src: url('/fonts/your-font.woff2') format('woff2');
font-display: swap;
}What this tool does
Guides you to the right font-display strategy for the page you're building, then emits the CSS.
Why you might need it
font-display is the single biggest lever on Core Web Vitals for webfont pages. Auto is almost always wrong.
How to use it
- Pick your strategy.
- Read the tradeoff.
- Copy the @font-face rule.
Always review the included licence before commercial use. Do not remove copyright records, designer names, licensing metadata or embedding restrictions from any font you process.