Fontier
All fonts

Is Google Sans Code free for commercial use?

Yes. Google Sans Code is under the SIL Open Font License 1.1, so you can use it free in commercial work, on websites and inside apps, paid or not. The one rule: don't sell the font files on their own.

monoGoogle, Universal ThirstThe Google Sans Code Project Authorsv22300 to 800, variable, italic#228 on Google FontsGet it from Google Fonts

Can I use it?

Commercial
Yes
Free to use and sell work made with it. Only the font files can't be sold on their own.
“The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves.”
Web
Yes
Self-host or serve it; webfont files are a normal redistribution.
“The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works.”
App
Yes
Bundle it in any app, free or paid.
“The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works.”
Platform
Yes
Redistribution is allowed, so users can pick it in your product.
“The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves.”
Modify
Conditional
Allowed, but a modified font must stay under the OFL and can't use a Reserved Font Name if the font declares one.
“The fonts and derivatives, however, cannot be released under any other type of license.”

Source: SIL Open Font License 1.1 · checked 2026-11-19 · sha256 ff8f4fbc4f1a71c7

Measured from the font file

Cap height
0.716 em
x-height
0.523 em 73% of the cap height
Average width
0.600 em mean advance of a weighted run of lowercase and spaces
Stem
0.090 em ink width of l at half the x-height
Ascender / descender
0.966 em / 0.286 em
Glyphs
687 670 Unicode characters mapped
Scripts
Latin
Languages
420 including English, Spanish, French, Portuguese, Swahili, Indonesian, German, Javanese
Variable axes
wght 300 to 800
Embedding flag
Installable OS/2 fsType 0: no embedding restriction

Read from GoogleSansCode[wght].ttf · Version 6.001 · 126.2 KB · em is a fraction of the font size

What it costs a page

WOFF2 bytes per weight, upright, Latin subset as served by cdn.jsdelivr.net/fontsource.

Stop the jump while it loads

Paste this and the fallback font takes the same space as Google Sans Code, so text doesn't shift when the real font arrives. Computed the way next/font does it, against Courier New.

@font-face { font-family: "Google Sans Code Fallback"; src: local("Courier New"); size-adjust: 99.98%; ascent-override: 96.62%; descent-override: 28.60%; line-gap-override: 0.00%; } body { font-family: "Google Sans Code", "Google Sans Code Fallback", monospace; }

Try it

Weights

300Sphinx of black quartz, judge my vow.
400Sphinx of black quartz, judge my vow.
500Sphinx of black quartz, judge my vow.
600Sphinx of black quartz, judge my vow.
700Sphinx of black quartz, judge my vow.
800Sphinx of black quartz, judge my vow.

Ask from an agent

GET https://fontier.ai/api/license?font=google-sans-code&use=web GET https://fontier.ai/api/fonts/google-sans-code MCP https://fontier.ai/mcp check_font_license { "font": "google-sans-code" }