# Google Sans Code Font

Monospace · 12 styles · variable · by Google, Universal Thirst

## Commercial Use Answer

**Yes,** Google Sans Code is free for commercial use: it is under the SIL Open Font License 1.1. You can use it in logos, on websites and in apps (provided the licence notice travels with the font files). You may not sell the font file on its own.

## Licence: SIL Open Font License 1.1 (OFL-1.1)

- **Summary:** Use it for anything, including commercial work and logos; share it with its licence; never sell the font file on its own.
- **Copyright:** Copyright 2025 The Google Sans Code Project Authors (github.com/googlefonts/googlesans-code)
- **Licence Source URL:** https://github.com/google/fonts/blob/main/ofl/googlesanscode/OFL.txt (read 2026-10-21)

### Permission Terms by Use

| Use | Status | Note |
| :--- | :--- | :--- |
| Commercial work | Allowed | Whatever you make with the font is yours; the licence covers the font files. |
| Logo or wordmark | Allowed | A logo is a document made with the font; the licence sets no limit on it. |
| Website (@font-face) | Allowed, with conditions | Serving the file to browsers is redistribution: the copyright notice and licence travel with it, and the font file's own metadata counts. |
| App or game bundling | Allowed, with conditions | Bundle it in free or paid software; ship the copyright notice and licence with it. |
| Modify the font | Allowed, with conditions | A modified font stays under the OFL and must not use a Reserved Font Name (each font page lists its own). |
| Share the font file | Allowed, with conditions | Share it freely, with its copyright notice and the OFL. |
| Sell the font file | Not allowed | Selling it inside software you sell is allowed (condition 2); selling the font alone is not. |
| No credit required | Allowed | The notice goes with copies of the font file, not into what you make. |

## Font Facts

- **Family:** Google Sans Code
- **Designers:** Google, Universal Thirst
- **Category:** Monospace
- **Styles Count:** 12
- **Variable Axes:** MONO (0–1), wght (300–800)
- **Scripts / Subsets:** adlam, canadian-aboriginal, cherokee, latin, latin-ext, math, old-permic, symbols, symbols2, syriac, vietnamese
- **Date Added:** 2025-02-26
- **Last Modified:** 2026-10-01
- **Google Fonts Popularity Rank:** #253
- **Style Tags:** Monospace/Monospace (100), Expressive/Calm (50)
- **Sources:** [family metadata](https://fonts.google.com/metadata/fonts) (read 2026-10-21), [style tags](https://github.com/google/fonts/blob/main/tags/all/families.csv) (read 2026-10-21), [CDN files and subsets](https://api.fontsource.org/v1/fonts/google-sans-code) (read 2026-10-21)

## How to Use

### HTML Link
```html
<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&display=swap" rel="stylesheet">
```

### CSS @import
```css
@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code&display=swap');
```

### npm Install
```bash
npm i @fontsource/google-sans-code

// In your JS/CSS entry:
import '@fontsource/google-sans-code';
```

### CSS @font-face
```css
@font-face {
  font-family: 'Google Sans Code';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://cdn.jsdelivr.net/fontsource/fonts/google-sans-code:vf@latest/latin-wght-normal.woff2') format('woff2');
}
```

### CSS font-family
```css
font-family: 'Google Sans Code', ui-monospace, monospace;
```

## Similar Fonts

| Lookalike Font | Similarity Score | Licence |
| :--- | :--- | :--- |
| [Reddit Mono](/fonts/reddit-mono/) | 85 / 100 | OFL-1.1 |
| [Roboto Mono](/fonts/roboto-mono/) | 82 / 100 | OFL-1.1 |
| [Spline Sans Mono](/fonts/spline-sans-mono/) | 82 / 100 | OFL-1.1 |
| [SUSE Mono](/fonts/suse-mono/) | 80 / 100 | OFL-1.1 |
| [Martian Mono](/fonts/martian-mono/) | 79 / 100 | OFL-1.1 |
| [Overpass Mono](/fonts/overpass-mono/) | 78 / 100 | OFL-1.1 |

## Frequently Asked Questions

### Is Google Sans Code free for commercial use?

Yes. Google Sans Code is published under the SIL Open Font License 1.1, allowing unrestricted commercial use in digital graphics, printed materials, branding, websites, apps, and games.

### Can I use Google Sans Code in a logo?

Yes. You can use Google Sans Code to create logos, wordmarks, branding elements, and corporate identities for both personal and commercial ventures without paying licence fees.

### Can I use Google Sans Code on my website?

Yes. You can embed Google Sans Code using CSS @font-face or a web font delivery network. The SIL Open Font License 1.1 requires keeping the copyright notice and licence with distributed font files.

### Who designed Google Sans Code?

Google Sans Code was designed by Google, Universal Thirst. It was published and indexed in Google Fonts in 2025.
