Design2 min read

How to Choose a Website Font

The wrong font choice can make even the most useful text unbearable to read and wreck the entire user experience.

In this article, we’ll walk through how to choose a font for a website design, step by step. You’ll get practical steps for picking fonts that support your interface and make it better to use.

What to Know Before Choosing Fonts

Let’s start by getting a few definitions straight. Understanding how fonts are classified and what their key parameters are is the foundation for every decision that follows. All fonts can be loosely divided into a few big groups. Three of them matter most for the web:

Serif Fonts

Serifs are the small decorative details at the ends of strokes. People associate them with tradition, scholarship, and expertise. Fonts like Georgia or PT Serif work great for long reads and text-heavy sites because the serifs help the eye “hold on” to the line.

Serif font on the Jasper website homepage

Jasper uses a serif font for its headings

These fonts are a good fit for news portals, educational platforms, legal and consulting websites, and heritage brands.

That claim is pretty debatable, though: an NNGroup study comparing serif and sans-serif fonts found that on modern screens the difference in readability is minimal. Come on, the most respected company in the UX world sets the articles on its own site in a serif font 🙃

Sans-Serif Fonts

These fonts look more modern, minimalist, and techy. The text you’re reading right now is set in one. They’re considered more readable on low-resolution screens. Roboto, Inter, and Open Sans are classic examples.

Sans-serif font in the Lemni website design

A sans-serif font in the Lemni interface

You’ll find them on web services, tech startup sites, app interfaces, and corporate websites where clean, functional design matters.

Display & Script Fonts

These are decorative fonts designed to grab attention. Their main job is to be expressive, not readable in long stretches of text. Using them for body text is a serious mistake that will kill usability.

Script font in the Oyster website interface

A script font in the Oyster interface

They’re used in large headlines, logos, ad banners, and quotes. Use them sparingly and don’t overdo it.

Let’s also clear up a few more typography terms.

Weight & Style

Weight is how thick the strokes are (Light, Regular, Medium, Bold), and style covers variations like Italic. A good typeface comes in several weights and styles. That lets you build a visual hierarchy without switching fonts, which keeps the design cohesive.

The range of Inter typeface styles, from Thin to Black

The range of styles in the Inter typeface

Legibility & Readability

Legibility is how easily you can tell one character from another: “l” from “I,” say, or the digit “0” from the letter “O.”

Character legibility test for fonts, using I, l, and 1 as an example

A legibility test for similar-looking characters in fonts

Readability is how comfortable it is to read long passages of text. It depends not only on the font itself but also on size, line spacing, and line length.

Both matter on the web, but when you’re choosing a font for body text, readability always comes first.

5 Steps to Choosing Fonts

Now let’s move from theory to practice. This process will help you bring structure to choosing fonts for your project.

Step 1. Define the Project’s Personality and Goal

A font is your brand’s voice. Before you go hunting for fonts online, answer these questions:

  • What’s our brand’s tone? Serious, friendly, innovative, premium?
  • Who is our target audience? What will feel familiar and comfortable to them?
  • What emotion should the site evoke? Trust, delight, calm?

Example: a law firm’s website calls for a formal, trustworthy serif font, while a children’s educational project is better off with a friendly, rounded sans-serif.

Serif font in the hero section of the Origin website

The interface of Origin, an investment platform

Step 2. Choose Your Primary Font

Start with the font for your body text. That’s what users will read the most.

  • Readability comes first. Pick a font that’s comfortable to read at 16–18px. These sizes aren’t pulled out of thin air: they’re recommended by many usability organizations, such as WCAG and the Baymard Institute
  • Check language support. Make sure the font supports Cyrillic and all the special characters you need (currency symbols, math signs, and so on).

Example of a readable font on the Medium website

Medium uses good, readable fonts

Step 3. Build a Hierarchy and Pick a Font Pairing

Once you’ve chosen your primary font, find a heading font to pair with it. This helps create visual contrast and guide the user’s attention.

  • The contrast principle: The easiest way is to combine a serif with a sans-serif. For example, headings in Playfair Display (serif) and body text in Roboto (sans-serif).
  • The harmony principle: You can use a single versatile font (for example, Inter or Montserrat) and build hierarchy through different weights (Bold for headings, Regular for body text) and sizes.

Part of the interface on the Base website

The Base website uses just 2 typefaces

Step 4. Test and Check Accessibility

Don’t forget to test, and always check your decisions. After all, text makes up most of the content in your interface, so you can’t afford to mess it up.

  • Test on real layouts. Try the font out on your site’s prototype. How does it look on buttons, in menus, in long articles?
  • Test on different devices. Make sure the font reads well on both desktop and mobile.
  • Check the contrast. According to the WCAG accessibility standards, the contrast ratio between text and background should be at least 4.5:1 for normal text. Use contrast checkers to verify it.

Example of accessible typography on the MetaMask website

The fonts on the MetaMask website meet accessibility requirements

Step 5. Licensing

Make sure the font’s license allows you to use it on a website. Services like Google Fonts and Adobe Fonts offer fonts with a suitable web license. If you’re buying a font from a commercial marketplace, read the terms carefully.

Useful Resources for Choosing Fonts

We’d also like to share a few resources that will make choosing fonts for your projects easier:

  • Google Fonts: A huge library of free, high-quality fonts.
  • Typewolf: A great resource with examples of fonts used in real interfaces.
  • Fontjoy: A tool that uses AI to generate harmonious font pairings.

Also, in the Resources section of the Academy’s website, you’ll find tools that will help you work with typography like a pro.

Choosing a font is a systematic process grounded in the project’s goals, an understanding of the audience, and technical requirements. Start by defining the brand’s personality, choose a readable primary font, build a contrasting hierarchy on top of it, and don’t forget the technical side.

Remember: the best font is the one that does its job and goes unnoticed by the user, making the content comfortable to engage with.

Subscribe to our regular digest

We'll send you useful articles and news from the world of AI, design, tech, and career growthdesign, and tech

Over 3,000 people already get our useful content