Google Sans Code
Designed by Google, Universal Thirst · 2 original files · 12 declared instances

Explore fonts with similar tested capabilities
Font profile
About Google Sans Code
Google Sans Code is listed upstream as a monospace family. The imported package contains 2 original files — 2 variable fonts. The default specimen uses Regular (Version 6.001) and maps 670 Unicode code points.
Variable design space
Google Sans Code includes 2 variable files with 12 declared named instances across them. Named instances are saved coordinate sets, not separate downloads. The default file has the following axes.
wght300 to 800Default 400Default-face metrics and metadata
- Units per em
- 2000
- hhea ascent / descent
- 1932 / -572
- hhea line gap
- 0
- OS/2 typo ascent / descent
- 1932 / -572
- OS/2 typo line gap
- 0
- Cap height / x-height
- 1432 / 1047
- Italic angle
- 0°
- Fixed pitch declared
- Yes
- PostScript name
- GoogleSansCode-Regular
- Designer name record
- Google Sans Code Authors
- Manufacturer record
- Google LLC
Measured glyph advance samples (font units)
Metrics are values declared in the original font at default coordinates, not measured readability. Zero cap or x-height may indicate an unavailable measurement. Advances are not visible ink widths.
Character coverage
What can you set in Google Sans Code?
The default face has 670 mapped code points; the union across all 2 files has 670. The inspected files have the same mapped code-point set. A glyph count is not a Unicode character count.
STATUS: READY
Exact text used in the default-face proof. This label is displayed in the interface font; use the specimen above to see the actual face.Mapped letters and numbers by Unicode script
Counts exclude common/inherited characters and symbols. Script classification is not a complete test of any language.
How the sample checks work
Each check requires all listed Unicode code points in a file's best cmap. This does not test shaping, locale-specific alternates, combining marks in context, or emoji sequences.
Basic LatinABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
SpanishABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzáéíóúüñÁÉÍÓÚÜÑ¿¡
VietnameseABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzăâđêôơưĂÂĐÊÔƠƯẠạẢảẤấẦầẨẩẪẫẬậẮắẰằẲẳẴẵẶặẸẹẺẻẼẽẾếỀềỂểỄễỆệỈỉỊịỌọỎỏỐốỒồỔổỖỗỘộỚớỜờỞởỠỡỢợỤụỦủỨứỪừỬửỮữỰựỲỳỴỵỶỷỸỹàáảãèéẻẽìíỉĩòóỏõùúủũỳýỷỹÀÁẢÃÈÉẺẼÌÍỈĨÒÓỎÕÙÚỦŨỲÝỶỸ
Shaping test results
HarfBuzz 15.0.0 processed 2 original files; 10/10 mapped phrase checks passed. No failing check was recorded in the tested strings. These finite tests do not certify language correctness or visual quality.
Default specimen: Pass. U+0020 (space) is mapped. Vietnamese sample: NFC Pass, NFD Pass.
Search the selected file's character mapGuide to character coverage
Original downloads
Font files & OpenType features
Download individual originals or the complete ZIP with its OFL notice. Choose a file by its actual style and coverage. The family overview is not a substitute for checking a specific file.
Italic
GoogleSansCode-Italic[wght].ttf
Technical details for Italic
- Internal family / style
- Google Sans Code / Italic
- Version record
- Version 6.001
- PostScript name
- GoogleSansCode-Italic
- Outline format
- TrueType
- Glyphs / code points
- 688 / 670
- Units per em
- 2000
- Declared OS/2 weight / width
- 400 / 5
- Italic angle
- -10°
Mapped sample checks: Basic Latin, Spanish, Vietnamese.
Axes in this file
wght300 to 800Default 400Named instance coordinates (6)
Declared layout features
GSUB: 4 tags · GPOS: 1 tags · Legacy kern: not present. A declared feature need not be available for every script or string.
Measured shaping checks
Tested specimen: STATUS: READY (Pass). Space mapped.
- Basic Latin
- Pass
- Spanish
- Pass
- Vietnamese
- Pass
- Vietnamese NFC
- Pass
- Vietnamese NFD
- Pass
Single-axis endpoints
- wght
- Min: Pass / max: Pass
One axis at a time with other axes at default. Not an exhaustive multi-axis test.
Feature on/off samples
- mark: Tiếng Việt: Đường phố
- On: Pass / off: Pass; no output change
- locl: STATUS: READY
- On: Pass / off: Pass; no output change
No output change for a selected string does not mean that a feature is broken.
Original SHA-256bdf116292f27aca16e2aefb5534042a25f244d3a9187a521ce97fc2117a4a844
Regular Default
GoogleSansCode[wght].ttf
Technical details for Regular
- Internal family / style
- Google Sans Code / Regular
- Version record
- Version 6.001
- PostScript name
- GoogleSansCode-Regular
- Outline format
- TrueType
- Glyphs / code points
- 687 / 670
- Units per em
- 2000
- Declared OS/2 weight / width
- 400 / 5
- Italic angle
- 0°
Mapped sample checks: Basic Latin, Spanish, Vietnamese.
Axes in this file
wght300 to 800Default 400Named instance coordinates (6)
Declared layout features
GSUB: 4 tags · GPOS: 1 tags · Legacy kern: not present. A declared feature need not be available for every script or string.
Measured shaping checks
Tested specimen: STATUS: READY (Pass). Space mapped.
- Basic Latin
- Pass
- Spanish
- Pass
- Vietnamese
- Pass
- Vietnamese NFC
- Pass
- Vietnamese NFD
- Pass
Single-axis endpoints
- wght
- Min: Pass / max: Pass
One axis at a time with other axes at default. Not an exhaustive multi-axis test.
Feature on/off samples
- mark: Tiếng Việt: Đường phố
- On: Pass / off: Pass; no output change
- locl: STATUS: READY
- On: Pass / off: Pass; no output change
No output change for a selected string does not mean that a feature is broken.
Original SHA-256c9649573afcd966f61096b1e9c3c3115e7b54315ca2adf9839c6f8b17d5f8e1f
5 distinct layout tags in the default face (including legacy kerning when present). Feature settings affect selected glyphs only; use the Specimen tab to try supported controls.
Measured in the original font
A practical layout trial for Google Sans Code
ID 0010 012345
Example text (UI font until you load the matching face in preview)At default coordinates, the sample occupies 8.400 em including measured horizontal overhang. A 240 px single-line frame could contain it at approximately 28 px with zero tracking; add your own margins. This is a geometric estimate, not a recommended reading size; the preview opens at a bounded 14–48 px trial size. Browser shaping, feature settings, wrapping and mixed-direction text can change the result.
Shaped glyph extents: 0.089 em to 8.340 em horizontally; -0.016 em to 0.732 em vertically relative to the baseline (y-up). These are reported glyph extents, not a pixel screenshot.
How axis settings affect this exact text
- wght: 300 → 800
- 8.400 em → 8.400 em
One axis at a time, other axes at default. An unchanged advance does not mean identical outlines.
Same text across 2 original files
Among the successfully measured original files, this exact sample advances between 8.400 em and 8.400 em. A file with no result is not represented by the default face.
- GoogleSansCode-Italic[wght].ttf
- 8.400 em · 14 glyphs
- GoogleSansCode[wght].ttf
- 8.400 em · 14 glyphs
Individual glyph dimensions (8)
Nominal isolated glyph metrics; character display in this table uses the UI font. Contextual shaping may select other glyphs.
Same-text spacing comparison
Tiếng Việt: Đường phố
Google Sans Code: 12.600 em · encodesanscondensed: 8.505 em. At 16 px the advances differ by 65.52 px for this exact sample. Compare the actual text before replacing a font.
Upstream catalog listing date: (not necessarily the font's original release date).
Original-file verification
Browser rendering checks
2/2 original files rendered the exact measured sample using custom-font glyphs only, without fallback, in local Chromium 158.0.8127.91.
ID 0010 012345
Inspect original-file browser results (2)
- GoogleSansCode-Italic[wght].ttf
- Custom glyphs only · 14 custom / 0 fallback · browser 268.81 px; HarfBuzz 268.80 px; difference 0.01 px
- GoogleSansCode[wght].ttf
- Custom glyphs only · 14 custom / 0 fallback · browser 268.81 px; HarfBuzz 268.80 px; difference 0.01 px
Finite one-string test at default coordinates and 32 px using the original binary, not its converted preview. It does not certify other strings, browsers, features, axis positions, or correctness of a writing system.
Measured project examples
Where Google Sans Code fits
For the code / identifier example, the original default face uses approximately 134.4 px of a 240 px single-line frame at 14 px. The measured footprint fits, leaving 105.6 px before padding. The same text in 38 measured families of the same catalog category has a median footprint of 9.600 em; this face matches the median to the reported precision.
Original-file geometry at the default axis coordinates. A fit does not certify readability, language correctness or identical browser wrapping. Sample labels below use the site font; choose a test to preview it in the selected face.
Code / identifier
Il1 O0 | id = 42
134.4 / 240 px14 px text · Fits measured frame
Same-text cohort: 38 families · median 9.600 em
Try this text in previewNumeric label
Total 1,280.50
134.4 / 160 px16 px text · Fits measured frame
Same-text cohort: 43 families · median 8.400 em
Try this text in previewCompact interface
Order details
124.8 / 160 px16 px text · Fits measured frame
Same-text cohort: 43 families · median 7.800 em
Try this text in previewReading line
The story continues on the next page.
355.2 / 320 px16 px text · Exceeds frame
Same-text cohort: 38 families · median 22.200 em
Try this text in previewHeadline
A new perspective
367.2 / 320 px36 px text · Exceeds frame
Same-text cohort: 38 families · median 10.200 em
Try this text in previewVietnamese text
Tiếng Việt: Đường phố
201.6 / 240 px16 px text · Fits measured frame
Same-text cohort: 20 families · median 12.600 em
Try this text in previewNumbers in tables and prices
All ten tested decimal digits have equal shaped advances at default settings. The tnum switch did not produce a changed width array in these isolated digit tests. Test full numbers, separators, signs and the actual browser settings separately.
Nominal UI glyphs above illustrate measured advances, not the font's outlines.
Automatically calculated application profile from this original file. Separate source-bound editorial notes and specialist reviews are not replaced by these tests.
Practical use
Test Google Sans Code in your project
Start with actual content
Try the proof text “Il1 O0 / 001.25” and then your own copy. Test aligned columns and confusing letters and digits. Check actual advances; a monospace category or fixed-pitch flag alone does not guarantee equal advances for every glyph.
Choose the variable settings
The default file supports weight 300–800. Start at 400 and compare the actual text at two intended sizes. Check the supplied italic/oblique file instead of relying on synthetic slant.
Install or self-host
The 153.5 KiB ZIP includes 2 original files and the original license. Extract the intended TTF/OTF for desktop use, or use the selected-file CSS snippet under Use on web. Do not load every file for one paragraph.
Check layout features
The default face declares mark positioning; test complete words with combining marks in context. A fixed-pitch flag is present; verify real advances where alignment matters.
Check real source-code alignment and character distinction
Google Sans Code extends Google's branding typography into a fixed-width coding face. Try real code with I, l, 1, O and zero, inspecting character distinction and actual column alignment at editor size. The exact code / identifier trial occupies 134.40 px at 14 px in a 240 px frame.
Try in the preview: Il1 O0 | id = 42
Original default face: 9.600 em shaped advance for this exact string. This is a measurement at default coordinates, not its ink bounds.
Upstream design documentation (pinned revision)
Set size and spacing with measured evidence
Mean advance of the measured default-face glyph sample: 0.600 em, or about 9.6 CSS px at 16 px. This is an advance measurement, not average paragraph width. For comparison, Geist Mono measures 0.600 em on its available sample. Compare the same actual text before reusing a layout.
Declared x-height is 73% of cap height (1047/1432 font units). Match optical sizes when pairing; equal CSS font size does not imply equal apparent size.
No changed-output feature toggle was recorded for the tested default-face strings. Verify line wrapping and mark placement with the chosen file.
Pairing candidate: Encode Sans Condensed
The two default original files both passed the exact Vietnamese shaping sample: Tiếng Việt: Đường phố. This is a complementary-category comparison based on tested repertoire and declared proportions, not an aesthetic or language-quality rating.
Shared passed sample checks: Basic Latin, Spanish, Vietnamese
Compare both fontsMeasured alternatives
These families are comparison starting points with related category, repertoire and measured default-face characteristics, not visual identity matches or drop-in replacements.
889 default-face mapped code points
Compare with Google Sans Code976 default-face mapped code points
Compare with Google Sans Code1,073 default-face mapped code points
Compare with Google Sans Code723 default-face mapped code points
Compare with Google Sans CodeProvenance
License & source files
SIL Open Font License 1.1. Keep the accompanying copyright and license notices when redistributing. Review the actual notice and modification conditions before embedding, converting or modifying the files. No reserved-name reference was detected by the header check. The actual license is authoritative.
Imported notice excerptCopyright 2025 The Google Sans Code Project Authors (github.com/googlefonts/googlesans-code) This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is copied below, and is also available with a FAQ at: https://openfontlicense.org -----------------------------------------------------------
- Source
- Google Fonts OFL catalog · imported original files
- Revision
4662aa00aa3cbe69de11428b65ead922c2ab9683- Family ZIP
- 153.5 KiB · 2 font files + OFL.txt
- Default-face version
- Version 6.001
Verify downloaded package and license checksums
ZIP SHA-2560401ed462526cf74b88ccb9bc380d55e8d080613aac9aadeacf500966dc433ec
OFL.txt SHA-25663b6955ee21166af0d0db1b04bef1275697308061308480355b99d20613dc57a
Metadata is extracted from the imported originals; matching hashes verify integrity, not legal clearance, design quality or independent language certification. FiFont does not alter the original downloads.