Ubuntu Sans Mono

Monospace by Dalton Maag #1551 on Google Fonts
Weight

About Ubuntu Sans Mono

Ubuntu Sans Mono, crafted by Dalton Maag, brings the humanist design DNA of the Ubuntu typeface family to a monospaced coding context, with carefully adjusted metrics to ensure every character sits in an equal-width cell without sacrificing readability. The variable weight axis and Cyrillic, Greek, and extended Latin coverage make it a well-rounded choice for developers working in multilingual codebases. Its slightly warmer personality compared to purely geometric monospace fonts makes long coding sessions less visually fatiguing.

Character Map

AaBbCcDdEeFfGgHhIiJjKkLlMm
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 (4)

400 Regular
500 Medium
600 SemiBold
700 Bold

How to Use

<link href="https://fonts.googleapis.com/css2?family=Ubuntu+Sans+Mono:wght@500;600;700;400&display=swap" rel="stylesheet">
@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Sans+Mono:wght@500;600;700;400&display=swap');
font-family: 'Ubuntu Sans Mono', monospace;
brew install --cask font-ubuntu-sans-mono

Details

Category
Monospace
Weights
4
Italic
Coreano
Designer
Dalton Maag
License
OFL
Version
Popularity
#1551

License Usage

Web useAllowed
PrintAllowed
Video / BroadcastAllowed
PackagingAllowed
App embeddingAllowed
Brand / LogoAllowed
ModificationAllowed

OFL — Free for personal & commercial use

Language Support

cyrillic cyrillic-ext greek greek-ext latin latin-ext