Ubuntu Sans Mono

Monospace by Dalton Maag #1593 on Google Fonts
Weights
4 (400–700)
Styles
8
Italic
Yes
Variable font
Yes (wght)
Subsets
6
Added to Google Fonts

Source: Google Fonts · Family last modified

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
Ubuntu Sans Mono
500 Medium
Ubuntu Sans Mono
600 SemiBold
Ubuntu Sans Mono
700 Bold
Ubuntu Sans Mono

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
On this page

Details

Category
Monospace
Weights
4
Italic
✓
Korean
✗
Designer
Dalton Maag
License
UFL
Popularity
#1593
Downloads
1,552

License Usage

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

UFL — Free for personal & commercial use

Language Support

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

Best For

Code editors Technical docs Web apps Branding UI elements

Frequently Asked Questions

Is the Ubuntu Sans Mono font free for commercial use?

Yes — Ubuntu Sans Mono is an open-source font, free to use in personal and commercial projects.

What type of typeface is Ubuntu Sans Mono?

Ubuntu Sans Mono is a Monospace typeface. It is offered as a variable font.