Monospace typeface

Ubuntu Sans Mono

Try your own text
Ubuntu Sans Mono — Bright stars shimmer above the quiet harbor.
Instant CSS
About this font

Ubuntu Sans Mono is a monospace typeface with a clear, even rhythm suited to text where consistent character spacing matters. Its regular and italic styles support both upright reading and emphasis, while the available range of weights gives the family room to adapt across interface labels, documentation, and code-oriented layouts.

Best suited for: Use it for source code, command-line examples, technical documentation, developer tools, data displays, and compact interface elements. Monospace spacing can also help align columns, values, or short labels. For long-form prose, test the size and line length carefully, as the fixed-width structure may feel more spacious than a proportional text face.

Design considerations: The 400 and 500 weights can handle everyday reading and interface text, while 600 and 700 provide clearer hierarchy for headings, labels, or highlighted states. Normal styles keep information calm and direct; italic adds distinction to notes, comments, or selected terms. Since the family is variable, adjust weight gradually when the design needs finer contrast.

Pairing guidance: Balance its regular spacing with a proportional sans serif for surrounding editorial text or broader interface copy. A restrained serif can also create contrast in documentation or presentation layouts. Keep the companion face simpler when the mono style carries dense technical information, and use matching weight or size changes to make hierarchy feel deliberate.

Font pairing ideas

Fonts that pair well with Ubuntu Sans Mono

Explore complementary typefaces for headings, body copy, accents, and interface text.

Alegreya Sans
Aa
Sans-serif · 7 weights
Gelasio
Aa
Serif · 4 weights
Anek Devanagari
Aa
Sans-serif · 8 weights
Adamina
Aa
Serif · 1 weight
Archivo
Aa
Sans-serif · 9 weights