Skip to content
Google Sans Code

Google Sans Code

A 2025 monospace built to sit next to Google Sans without either looking borrowed.

Homebrew cask Direct download

What it does

Google Sans Code is the monospaced companion to Google Sans, released in 2025 under the Open Font License. It is a variable font with a weight axis from Light to Bold and true italics, drawn with wider apertures and a larger x-height than the Roboto Mono it effectively replaces — which is the difference you notice in a documentation page rendered at 14px rather than in a terminal at 12pt.

Its design brief was code inside prose: the letterforms are close enough to the sans that a code span in a paragraph does not read as a different voice.

Ligatures and OpenType features

No programming ligatures. There are stylistic alternates for a handful of characters, and the usual zero slashed-zero feature.

The syntax for switching any of these on or off, per editor and per terminal, is on the Fonts page.

Notes

This is not a Nerd Font. There is no patched build, so a prompt drawing powerline separators or lsd icons will show empty boxes unless Symbols Nerd Font is installed and configured as the fallback. That is the supported route for any unpatched family.
  • Being a variable font, weight is continuous — an editor that accepts a numeric weight can ask for 450 rather than choosing between Regular and Medium.
  • Available from Google Fonts as a web font, which makes it a reasonable choice for a site whose code blocks should match its body text.

Alternative to

AlternativeTypeTrade-off
Roboto MonoOpen sourceGoogle’s previous answer, tighter and more neutral
IBM Plex MonoOpen sourceThe same code-and-prose pairing idea, with a Nerd Font build
JetBrains MonoOpen sourceBuilt for editors rather than for documents, and patched
Geist MonoOpen sourceVercel’s, from the same recent wave of corporate monospaces

Install

brew install --cask font-google-sans-code

Links

This post is licensed under CC BY 4.0 by the author.
Last updated on