Skip to content
Simple But How

Google Sans Code

Google Sans Code

The quick brown fox jumps over the lazy dog

ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789 & ? ! @ # % ( )

The download comes from the Fontsource open-source font project and includes every style with its licence file.

Test Google Sans Code

The quick brown fox jumps over the lazy dog

About Google Sans Code

Google Sans Code is a monospace typeface by Google and Universal Thirst, a variable font with weights from 300 to 800. It is currently number 249 among the most used families on Google Fonts. It was added to Google Fonts on 26 February 2025.

CategoryMonospace
DesignersGoogle and Universal Thirst
Weights Any weight from 300 to 800 (variable)
ItalicsYes
Other variable axesMONO
Character setsAdlam, Canadian aboriginal, Cherokee, Latin, Latin Extended, Math symbols, Old permic, Symbols, Syriac, Vietnamese
Last updated1 October 2026
LicenceSIL Open Font License 1.1

Can I use Google Sans Code commercially?

Yes. Google Sans Code is published under the SIL Open Font License 1.1. Free for personal and commercial use.

You can

You must

This is a summary, not legal advice. The licence text included in the download is what applies. See how font licensing works on this site.

Use Google Sans Code on a website

From Google Fonts

Add these lines inside the head of your page:

<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:wght@400;700&display=swap" rel="stylesheet">

Self-hosted with npm

Install the package, then import it once in your JavaScript or CSS entry file:

npm install @fontsource-variable/google-sans-code

import "@fontsource-variable/google-sans-code";

Then set it in CSS

body {
  font-family: "Google Sans Code", ui-monospace, Menlo, Consolas, monospace;
}

If you installed the variable npm package, the family name to use is Google Sans Code Variable.

To install it on your computer instead, download the family above and follow the guide to installing fonts on Windows or on a Mac.

Writing systems

Besides Latin, Google Sans Code includes:

Fonts similar to Google Sans Code

Other free monospace families with a comparable style and range of weights.

Fonts that pair with Google Sans Code

Suggestions chosen for contrast: a different kind of typeface that can take the other role on the page.