Toolvito

Works on this device

Font Pairing Tool

Choose a font for headings and a font for text, and see them together with your own words. Each font can be a font file from your device or a font that is installed on your device. The page gives numbers that help you judge the pair, and the CSS to use it.

Choose the fonts

Each font can be a font file from your device (.ttf, .otf, .ttc, .woff or .woff2, at most 50 MB) or a font that is installed on your device. A file is read in this browser and is not uploaded.

Heading font

No font chosen. A font of your browser is shown.

Text font

No font chosen. A font of your browser is shown.

No fonts chosen yet. Font files are read on this device and are not sent anywhere.

The fonts together

Numbers to compare

Choose a heading font and a text font to see their numbers here.

What the numbers say

    These lines only describe numbers. Whether the pair looks right is your decision.

    CSS for this pair

    To use a font file on a web page, the page also needs an @font-face rule that points at the file, and the licence of the font must allow it.

    Suggestions from the fonts on this device

    The page can try pairs of font families that come with common operating systems. These are suggestions, not rules. A pair is shown only when both of its fonts are found on your device.

      How to use this tool

      1. For the Heading font, open a font file from your device, or type the name of a font that is installed on your device and choose Use this name.
      2. Do the same for the Text font. Tick Add a third font for small text if you want three fonts.
      3. Type your own heading and text under The fonts together. Change the size, the weight and the line height of each font.
      4. Read Numbers to compare to see how the two fonts differ in letter height, weight, width and kind.
      5. Copy the CSS under CSS for this pair.
      6. To start from fonts that you already have, choose Find pairs on this device and try one of the suggestions.

      What the numbers mean

      • x-height is the height of the small letters, such as x, as a share of the font size. Two fonts at the same font size can have small letters of very different height. Then one looks larger than the other.
      • Cap height is the height of the capital letters, such as H, as a share of the font size.
      • As drawn means that the page measured the letter as your browser draws it. In the file means that the font file states the number. A page cannot read the file of an installed font, so for those fonts only drawn sizes are known.
      • A drawn height is measured at a font size of 240 px. It is right to about half a hundredth of the font size, so it is shown with two decimal places.
      • Weight class runs from 100 (thin) over 400 (regular) and 700 (bold) to 900 (black). Width class runs from 1 (very narrow) over 5 (normal) to 9 (very wide).
      • Kind of design is serif, sans serif, monospaced, script, decorative or symbol. It comes from numbers that the maker put in the font file (the PANOSE numbers, the family class or the fixed width flag). Many files leave them empty.
      • Average width is the mean width of the letters a to z and a space, as drawn. A wider font needs more room for the same words.

      How the comparison is worked out

      For two heights a and b, with a the larger one, the page says that the letters are (a ÷ b − 1) × 100 percent taller. To give both fonts the same look of size, the font with the smaller letters is set at a ÷ b times the size of the other font.

      A difference of less than 2 percent is called nearly the same.

      Worked example

      Font A has an x-height of 0.5 em and font B of 0.4 em. The small letters of A are (0.5 ÷ 0.4 − 1) × 100 = 25% taller. For the same look of size, set B at 0.5 ÷ 0.4 = 1.25 times the size of A. With A at 16 px, that is 20 px.

      Font A has the weight class 700 and font B has 400. The difference is 300.

      Guidance for pairing fonts

      These points are advice that many designers follow. They are not rules, and this tool does not judge your pair.

      • Pick two fonts that clearly differ, such as a serif font with a sans serif font. Or use one family in two weights. Two fonts that are nearly alike often look like a mistake.
      • Give each font one job: one for headings, one for text.
      • When two fonts stand in the same line or at nearly the same size, bring their x-heights close together.
      • Two fonts are enough for most pages. Use a third one only for a clear job, such as code or captions.
      • Check that both fonts have the characters, the weights and the italic that your text needs.
      • Test with your real words at the real sizes, on a phone and on a large screen.

      Pairs that this tool can suggest

      The suggestions use only font families that come with common operating systems, so nothing has to be downloaded. They are suggestions, not rules. The page shows a pair only when it finds both fonts on your device.

      Suggested pairs of fonts that come with operating systems
      Heading font Text font Kinds
      Georgia Verdana serif with sans serif
      Georgia Segoe UI serif with sans serif
      Cambria Calibri serif with sans serif
      Constantia Corbel serif with sans serif
      Palatino Linotype Tahoma serif with sans serif
      Times New Roman Arial serif with sans serif
      Arial Black Arial sans serif with sans serif
      Trebuchet MS Georgia sans serif with serif
      Segoe UI Georgia sans serif with serif
      Calibri Cambria sans serif with serif
      Franklin Gothic Medium Georgia sans serif with serif
      Impact Verdana sans serif with sans serif
      Consolas Segoe UI monospaced with sans serif
      Sitka Text Segoe UI serif with sans serif
      Bahnschrift Georgia sans serif with serif
      Baskerville Helvetica Neue serif with sans serif
      Didot Avenir serif with sans serif
      Hoefler Text Gill Sans serif with sans serif
      Palatino Optima serif with sans serif
      Futura Georgia sans serif with serif
      Avenir Next Charter sans serif with serif
      Helvetica Neue Georgia sans serif with serif
      Gill Sans Baskerville sans serif with serif
      Rockwell Helvetica serif with sans serif
      Menlo Helvetica Neue monospaced with sans serif
      American Typewriter Avenir serif with sans serif
      Noto Serif Roboto serif with sans serif
      Roboto Noto Serif sans serif with serif
      Noto Serif Noto Sans serif with sans serif
      DejaVu Serif DejaVu Sans serif with sans serif
      Liberation Serif Liberation Sans serif with sans serif
      Ubuntu DejaVu Serif sans serif with serif
      DejaVu Sans Mono DejaVu Sans monospaced with sans serif
      Droid Serif Droid Sans serif with sans serif

      Limits you should know

      • The page gives numbers and plain lines about them. Whether a pair looks right is your decision.
      • The page has no fonts of its own and downloads none. It works with font files that you open and with fonts on your device.
      • A web page cannot list the fonts of your device. The page checks one name at a time by measuring a test text. Some browsers hide fonts that you installed yourself; such a font shows as not found.
      • For an installed font the page knows only what it can measure. Weight class, width class and kind of design are known only for font files.
      • For a WOFF 2 file the page can show the font, but it cannot read its numbers, because browsers do not let a page unpack that kind of file. Drawn sizes are still measured.
      • Of a font collection (.ttc), the first font is used.
      • The drawn x-height is the height of the letter x, and the drawn cap height is the height of the letter H. For a font without these letters, they are not measured.
      • A font file holds one weight unless it is a variable font with a weight axis. The page asks the browser not to make a fake bold.
      • To use a font file on a web page you also need an @font-face rule that points at the file, and the licence of the font must allow it. The licence is set by the licence document of the font.

      Related tools