Free Top Pick Google Fonts

Google Sans Code

Google's modern monospace font designed for coding, combining geometric precision with readability.

Checking this device…

function debounce(fn, ms = 250) {
  let timer;
  return (...args) => {
    clearTimeout(timer);
    timer = setTimeout(() => fn(...args), ms);
  };
}

const isOdd = (n) => n % 2 !== 0;
ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 !@#$%^&*(){}[]<>/\|~`+-=_.,:;'"

Google Sans Code specimen: type your own

function debounce(fn, ms = 250) { let timer; return (...args) => { clearTimeout(timer); timer = setTimeout(() => fn(...args), ms); }; } const isOdd = (n) => n % 2 !== 0;

Licence

Free

Hosted on Google Fonts; the specimen loads it automatically.

Ligatures

No

No programming ligatures.

Where to get it

Google Fonts

Official source linked at the top of this page.

Use Google Sans Code in VS Code

Paste this into your settings to set Google Sans Code for the editor. The fallbacks are the same ones CodeFont writes.

{
  "editor.fontFamily": "'Google Sans Code', 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace"
}

Where to get Google Sans Code

Google Sans Code is available from Google Fonts.

About the Google Sans Code coding font

Google's modern monospace font designed for coding, combining geometric precision with readability. Google Sans Code is a free monospace coding font without programming ligatures.

Google Sans Code is hosted on Google Fonts, so the specimen above renders without installing anything locally. It is one of the 15 CodeFont Top Picks.

Google Sans Code FAQ

Is Google Sans Code free?

Yes. Google Sans Code is free to use; check the official source for the exact licence terms.

Does Google Sans Code support ligatures?

No. Google Sans Code has no programming ligatures, so sequences such as -> and != are drawn as separate characters.

Where can I get Google Sans Code?

Google Sans Code is available from Google Fonts. The download links are listed in the Where to get section above.

Set Google Sans Code in VS Code.

CodeFont applies it to your editor or terminal in one click — local, no telemetry.

Install CodeFont Free →