Font Pairing Preview

Test how a heading font and a body font look together, using your own copy rather than a generic pangram.

Design is how it works

A subheading carries the idea a little further, and shows how the two fonts sit together at an intermediate size.

This is body copy at the size people will actually read. Font pairings that look striking in a specimen often fall apart here, where the text runs long and the eye needs to move quickly along the line without snagging. Edit any of this text directly to try your own words.

Small print, captions and metadata — 13px.

Heading

Body

Generated CSS

These are system fonts, already installed on the visitor's device, so they render instantly and cost nothing to load. If you choose a font your visitors may not have, self-host it or load it from a font service and keep the fallbacks in the stack.

About the font pairing

Font pairings that look great in a specimen image often fall apart on a real page. This preview puts a heading, a subheading and a paragraph of your own text side by side so you can judge the combination at the sizes you will actually ship. Size, weight, line height and letter spacing are all adjustable, and the CSS font stack is generated as you go. Only fonts already installed on the visitor system are used, so nothing is downloaded and the preview appears instantly.

How to use the font pairing

  1. Pick a font for headings and a different font for body text.
  2. Replace the sample text with a real heading and paragraph from your project.
  3. Adjust size, weight, line height and letter spacing until it reads well.
  4. Copy the generated CSS and drop it into your stylesheet.

Frequently asked questions

What makes two fonts pair well?
Contrast with a shared quality. Pairing a serif heading with a sans-serif body gives clear visual separation, while a similar x-height or shared historical period keeps them feeling related. Pairing two fonts that are only slightly different usually reads as a mistake rather than a choice.
Are these web fonts I can use on my site?
The preview uses fonts installed on your device, including the common system stacks. If you choose a font that visitors may not have, you will need to self-host it or load it from a font service, and include appropriate fallbacks in your CSS font stack.
How many fonts should one site use?
Two is the safe answer: one for headings and one for body text. A third can work for a specific accent such as pull quotes or code. Beyond that, pages start to look uncoordinated and each additional font file costs load time.