Skip to content

Google Sans Code and Google Sans

Google Sans Code and Google Sans font pairing (suggested) · Google Sans Code for headings, Google Sans for body text

Category · 5 min read

Sphinx of black quartz, judge my vow

A short standfirst sits under the headline, set in the body font at a slightly larger size.

Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the reader notices the words, not the letters. A heading font may shout; the text font must be comfortable for a thousand words at a time.

Every line is editable: paste your real headline and copy. How to use this page

Google Sans Code and Google Sans settings

  • Set Google Sans Code on h1 to h3 at weight 700, line height 1.1, letter spacing -0.01em on the largest sizes.
  • Set Google Sans on body text at 17 px with line height 1.6. Use its bold for inline emphasis instead of a third font.
  • Keep headings at least 2× the body size so the two fonts never compete at the same size.
Google Sans Code and Google Sans side by side
Google Sans CodeGoogle Sans
CategoryMonospaceSans-serif
DesignerGoogle, Universal ThirstGoogle
Styles12 (variable)8 (variable)
Weights300, 400, 500, 600, 700, 800400, 500, 600, 700
ItalicsYesYes
LicenceOFLOFL
Popularity#303#4

CSS for Google Sans Code and Google Sans

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&family=Google+Sans:ital,wght@0,400..700;1,400..700&display=swap" rel="stylesheet">

One request loads both families.

More fonts that pair with Google Sans

All fonts that pair with Google Sans →