Monospace typeface

Google Sans Code

Try your own text
Google Sans Code — Five quacking zephyrs jolt my wax bed.
Instant CSS
About this font

Google Sans Code is a monospace typeface with a broad range of weights and both normal and italic styles. Its even character spacing and code-oriented category make it a natural fit for text where alignment matters, while the lighter and heavier options allow its presence to be adjusted across different contexts.

Best suited for: Use it for source code, terminals, technical documentation, data tables, interface labels, and developer-focused websites. It can also bring a clearly structured appearance to notes, product screens, or editorial passages that benefit from consistent character widths.

Design considerations: The six weights, from 300 through 800, support a useful hierarchy: lighter settings can keep longer technical text from feeling dense, while 600–800 can mark headings, controls, or important values. Normal is suited to primary reading, and italic can add emphasis or distinguish annotations without changing the family.

Pairing guidance: For surrounding text, try a readable sans serif with proportionally spaced letters and restrained shapes, keeping the contrast clear but not dramatic. A calm serif can also work for longer explanatory copy, especially when Google Sans Code is reserved for labels, examples, or technical details. Match the pairing’s size and weight carefully.

Font pairing ideas

Fonts that pair well with Google Sans Code

Explore complementary typefaces for headings, body copy, accents, and interface text.

Aldrich
Aa
Sans-serif · 1 weight
Fanwood Text
Aa
Serif · 1 weight
Andika
Aa
Sans-serif · 2 weights
Gowun Batang
Aa
Serif · 2 weights
Apfel Grotezk
Aa
Sans-serif · 2 weights