Google Sans Code
Monospace
by Google, Universal Thirst
#141 on Google Fonts
Weight
About Google Sans Code
Google Sans Code هو خط monospace طوّرته Google وUniversal Thirst يتشارك الحمض النووي الهندسي لـ Google Sans مع تلبية المتطلبات الوظيفية لعرض الكود. يمتد محور الوزن المتغير عبر ست خطوات، والأهم من ذلك أن الخط يمتد ليشمل كتابات Adlam والمقاطع الأبجدية الكندية الأصلية والشيروكي والبيرمية القديمة إلى جانب اللاتينية والرموز الرياضية. يجعله هذا خط برمجة شاملاً بشكل غير عادي للمطورين الذين يعملون في أنظمة الكتابة الأقل شيوعاً.
Character Map
AaBbCcDdEeFfGgHhIiJjKkLlMm
NnOoPpQqRrSsTtUuVvWwXxYyZz
0123456789
!@#$%^&*()_+-=[]{}|;':",.<>?
NnOoPpQqRrSsTtUuVvWwXxYyZz
0123456789
!@#$%^&*()_+-=[]{}|;':",.<>?
Code Editor Preview
example.js
const fibonacci = (n) => {
if (n <= 1) return n;
return fibonacci(n - 1) + fibonacci(n - 2);
};
// Generate first 10 numbers
const results = Array.from(
{ length: 10 },
(_, i) => fibonacci(i)
);
console.log(`Result: ${results.join(', ')}`);
Character Disambiguation
Can you tell these apart? A good monospace font makes similar characters easy to distinguish.
Zero vs O
0 O o
One vs l vs I
1 l I | !
Quotes
' ' " " ` ´
Braces
( ) [ ] { } < >
Punctuation
. , : ; .. ...
Weight Waterfall (6)
300
Light
400
Regular
500
Medium
600
SemiBold
700
Bold
800
ExtraBold
How to Use
<link href="https://fonts.googleapis.com/css2?family=Google+Sans+Code:wght@300;500;600;700;800;400&display=swap" rel="stylesheet">
@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:wght@300;500;600;700;800;400&display=swap');
font-family: 'Google Sans Code', monospace;
brew install --cask font-google-sans-code
Details
- Category
- Monospace
- Weights
- 6
- Italic
- ✓
- الكوريّة
- ✗
- Designer
- Google, Universal Thirst
- License
- OFL
- Version
- Popularity
- #141
License Usage
| Web use | Allowed |
| Allowed | |
| Video / Broadcast | Allowed |
| Packaging | Allowed |
| App embedding | Allowed |
| Brand / Logo | Allowed |
| Modification | Allowed |
OFL — Free for personal & commercial use
Language Support
adlam
canadian-aboriginal
cherokee
latin
latin-ext
math
old-permic
symbols
symbols2
syriac
vietnamese