Code · Made a little simpler

Font Loading Strategy Checker

Compare font-display block, swap, fallback, optional and auto. Model text visibility, inspect swap risk and export an @font-face CSS rule.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Font Loading Strategy Checker: how to use it

  1. Enter a family name, font file size and estimated load time, or choose a preset.
  2. Select the text context and compare modeled visibility, custom font arrival and visible swap risk.
  3. Choose a font-display value for the saved CSS. Replace the placeholder path with the actual font resource.

Limits and notes

Models one font, up to 5,000 KB and 30,000 ms. The timeline uses stated timing assumptions. The browser chooses its actual periods and rendering behavior. The tool reads no font file or website and reports no measured CLS.

How your privacy works →

Font Loading Strategy Checker: common questions

What happens if the font loads after the fallback window?

The model keeps the fallback face once the fallback swap window expires. Swap can still bring in the custom face after a longer wait.

How does the tool estimate layout shift?

It reports when a visible swap is possible. Measuring layout shift needs the actual fallback and custom font metrics, text and surrounding layout.

What does the CSS contain?

It contains an @font-face family declaration, a local placeholder path, your selected display value and optional Unicode ranges. Set the real font URL in the stylesheet where you use it.

Guides