Ubuntu Sans Mono
monospace · Designed by Dalton Maag
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.
Ubuntu Sans Mono is a clean, technical monospace typeface with a humanist edge. Unlike many coding fonts that feel cold or purely mechanical, it carries a subtle warmth inherited from the Ubuntu type family. Its letterforms are consistent and well-spaced, with a moderate x-height that aids readability at smaller sizes. The strokes are even and straightforward without being sterile, giving it a professional but approachable character. It reads as purposeful rather than decorative, making it easy to scan whether you are looking at a single line or a dense block of text.
This font works well as a code display font in developer documentation and technical blogs, where it needs to clearly distinguish code snippets from surrounding prose. It is also a solid choice for UI elements in developer tools, terminals, or dashboards where precision and legibility matter more than personality. Beyond technical contexts, it fits naturally in minimal portfolio sites or product interfaces that want a slightly modern, structured feel without leaning into aggressive geometric styling.
Best suited for: Code blocks in technical documentation, terminal interfaces, developer tool UIs, and minimal digital products where clarity and professional restraint are priorities.
Design considerations: Eight weight and italic variants offer flexibility for hierarchy and emphasis within code-heavy layouts. The moderate x-height and even stroke weight support sustained readability in both single lines and dense text passages typical of technical contexts.
Pairing guidance: Pair Ubuntu Sans Mono with Ubuntu Sans for a cohesive system where the sans-serif handles body text and navigation while the monospace anchors code and data; consider Source Serif 4 to introduce serif warmth in editorial sections alongside technical content; or use DM Mono as an alternative monospace if a slightly more geometric character suits the interface aesthetic.
Pairs well with
Ubuntu Sans Mono at a glance
Dalton Maag
Ubuntu Font Licence 1.0
May 2024
September 2025
8 (4 weights + italics)
Yes: weight 400–700
Monospace
6
Google Fonts
All 8 Ubuntu Sans Mono styles
| Weight | Name | Upright | Italic |
|---|---|---|---|
| 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 |
Ubuntu Sans Mono character map
Which languages does Ubuntu Sans Mono support?
Ubuntu Sans Mono includes 6 character sets:
- Cyrillic: Russian, Ukrainian, Bulgarian, Serbian and other Cyrillic-script languages
- Cyrillic Extended: additional Cyrillic letters used in languages such as Kazakh, Tatar and Bashkir
- Greek: modern Greek
- Greek Extended: polytonic (ancient) Greek
- 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
Can I use Ubuntu Sans Mono commercially?
Yes, it's free for personal and commercial use. Ubuntu Sans Mono is released under the Ubuntu Font Licence 1.0. You can use it in personal and commercial work. If you modify the font and share your version, it has to be released under a different name.