Google Sans Code
monospace · Designed by Google, Universal Thirst
Instant CSS & Tailwind Generator
Snippet updates automatically to match whichever weight you select above.
Just want to use the font? Click "Get this font on Google Fonts" to download it or add it directly to a document, design tool (like Canva or Photoshop), or your computer's font list.
Building a website? Click "Copy Font Code" to copy a short snippet, then paste it into your website's HTML (usually inside the <head> section) to use this font on your site.
Google Sans Code is a monospace typeface built on the foundations of Google Sans, giving it a clean, geometric structure that feels modern and precise without being cold or sterile. The letterforms are clear and well-spaced, with consistent stroke weights that make individual characters easy to distinguish, which is exactly what you want when every character needs to count. It sits in a middle ground between strictly utilitarian coding fonts and something with a bit more personality, making it feel professional but not anonymous. The overall impression is organized and functional, with enough visual warmth to avoid feeling like a relic from a terminal screen.
The most obvious use case is displaying code snippets and technical documentation on developer-facing websites or product pages, where clarity and readability are non-negotiable. It also works well in UI contexts where you need to show data outputs, command inputs, API keys, or any string of characters that users need to read carefully or copy accurately. A third solid application is in technical branding or product interfaces for developer tools, where the monospace structure itself signals precision and serves as a visual cue that the product is built for a technical audience, all without having to reach for a font that looks like it belongs in a 1980s command line.
Best suited for: Code documentation, developer tool interfaces, data display contexts, API key fields, and technical product pages where character clarity and accurate reading are essential.
Design considerations: The typeface offers twelve variants across weight and italic styles, supporting extensive language coverage including Latin, Vietnamese, and specialized symbol sets. Its geometric structure and consistent stroke weights prioritize legibility in dense technical contexts while maintaining visual approachability.
Pairing guidance: Pair Google Sans Code with Google Sans for cohesive product interfaces where the sans-serif handles body text and headings while the monospace reserves itself for code and data; consider Noto Serif for technical documentation that benefits from serif-based reading passages alongside code blocks; Space Mono works as an alternative monospace for contexts requiring a more condensed or stylistically distinct code presentation.
Pairs well with
Google Sans Code at a glance
Google, Universal Thirst
SIL Open Font License 1.1
February 2025
September 2026
12 (6 weights + italics)
Yes: MONO 0–1, weight 300–800
Monospace
11
Google Fonts
All 12 Google Sans Code styles
| Weight | Name | Upright | Italic |
|---|---|---|---|
| 300 | Light | Aa Bb Gg 123 | Aa Bb Gg 123 |
| 400 | Regular | Aa Bb Gg 123 | Aa Bb Gg 123 |
| 500 | Medium | Aa Bb Gg 123 | Aa Bb Gg 123 |
| 600 | SemiBold | Aa Bb Gg 123 | Aa Bb Gg 123 |
| 700 | Bold | Aa Bb Gg 123 | Aa Bb Gg 123 |
| 800 | ExtraBold | Aa Bb Gg 123 | Aa Bb Gg 123 |
Google Sans Code character map
Which languages does Google Sans Code support?
Google Sans Code includes 11 character sets:
- Adlam
- Canadian Aboriginal
- Cherokee
- Latin: English, Spanish, French, German, Italian, Portuguese and other Western European languages
- Latin Extended: Central and Eastern European languages such as Polish, Czech, Turkish, Romanian and Hungarian
- Math: mathematical symbols and operators
- Old Permic
- Symbols: arrows, shapes and other technical symbols
- Symbols 2: box-drawing, block and other extra symbols
- Syriac
- Vietnamese: Vietnamese, including its stacked tone marks
It does not include Cyrillic or Greek characters, so it can't set Russian, Ukrainian or Greek text.
Can I use Google Sans Code commercially?
Yes, it's free for personal and commercial use. Google Sans Code is released under the SIL Open Font License 1.1. You can use it in logos, websites, apps, videos, printed products and merchandise without paying or asking permission. The one thing you can't do is sell the font file on its own.