Skip to content

How to choose fonts for a website

Last checked 2 December 2026

Choose in this order: style, source, fallback, licence, then readability. Each step is quick, and skipping one tends to cause rework later.

A sensible order for choosing a fontPick a style familyDecide where the font comes fromAdd a fallbackCheck the licenceTest size and contrast
Work through these steps before you commit to a font.

The checklist

  1. Pick a style family. CSS has a few generic families, such as serif and sans-serif. Serif fonts have small flourishes on the letters, and sans-serif fonts don't.1 For long paragraphs, try both and see which one you can read comfortably.

  2. Decide where the font comes from. A font is either already on the visitor's device or it's downloaded with your page. The browser only uses a font if it's available on the visitor's machine.1 Your page can ask for a downloadable one with a rule called @font-face.2 The next page, System fonts and web fonts, covers the trade-off.

  3. Always add a fallback. Your font list should include at least one generic family name.2 Put it last in the list, so the browser can still show something close if your first choice doesn't load.1

  4. Check the licence before you download. Fonts often come with conditions. You may have to pay, or follow other licence terms, such as crediting the font creator.3 See Font licences explained.

  5. Keep the number of files low. Each extra font file is something your visitor's browser has to fetch. It's a good idea to offer as few web font files as possible.3

  6. Test it on real text. Paste in a few real paragraphs from your own site. Look at them on a phone and a desktop screen. Then check size and line spacing and colour contrast.

Questions to ask before you commit

  • Can I read a full paragraph in it? A decorative font may look fine in a logo and tire the eye in a long paragraph. Save those for a short heading, if you use them at all.
  • Does it have the characters I need? If a font doesn't have a character, the browser tries the next font in your list for that one character.2 That can look uneven, so scan your text for accents and symbols.
  • Will the page still make sense if the font fails? Even a web font can fail to load for some reason.1 A sensible fallback means the page stays usable.
  • Do I need two fonts? Often one is enough. If you want a second, pairing two fonts explains how to keep them calm together.

A simple starting point

If you're unsure, start plain. Use one font for everything, in regular and bold. Add a second font only when you can say what job it does, like headings.

Write the choice down in one line, for example: "Headings: serif. Body: sans-serif. Both from the visitor's device." That line is your whole font plan, and it's easy to change later.

When you do change it, test again. A new font can shift line lengths and spacing, even at the same size.

Where the facts come from

  1. Fundamental text and font styling, MDN Web Docs
  2. font-family, MDN Web Docs
  3. Web fonts, MDN Web Docs