Skip to content
Simple But How

Ubuntu Sans Mono

Ubuntu Sans Mono

The quick brown fox jumps over the lazy dog

ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789 & ? ! @ # % ( )

The download comes from the Fontsource open-source font project and includes every style with its licence file.

Test Ubuntu Sans Mono

The quick brown fox jumps over the lazy dog

About Ubuntu Sans Mono

Ubuntu Sans Mono is a monospace typeface by Dalton Maag, a variable font with weights from 400 to 700. It was added to Google Fonts on 1 May 2024.

CategoryMonospace
DesignerDalton Maag
Weights Any weight from 400 to 700 (variable)
ItalicsYes
Character setsCyrillic, Cyrillic Extended, Greek, Greek Extended, Latin, Latin Extended
Last updated2 September 2025
LicenceUbuntu Font Licence 1.0

Can I use Ubuntu Sans Mono commercially?

Yes. Ubuntu Sans Mono is published under the Ubuntu Font Licence 1.0. Free for personal and commercial use.

You can

You must

This is a summary, not legal advice. The licence text included in the download is what applies. See how font licensing works on this site.

Use Ubuntu Sans Mono on a website

From Google Fonts

Add these lines inside the head of your page:

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Ubuntu+Sans+Mono:wght@400;700&display=swap" rel="stylesheet">

Self-hosted with npm

Install the package, then import it once in your JavaScript or CSS entry file:

npm install @fontsource-variable/ubuntu-sans-mono

import "@fontsource-variable/ubuntu-sans-mono";

Then set it in CSS

body {
  font-family: "Ubuntu Sans Mono", ui-monospace, Menlo, Consolas, monospace;
}

If you installed the variable npm package, the family name to use is Ubuntu Sans Mono Variable.

To install it on your computer instead, download the family above and follow the guide to installing fonts on Windows or on a Mac.

Writing systems

Besides Latin, Ubuntu Sans Mono includes:

Fonts similar to Ubuntu Sans Mono

Other free monospace families with a comparable style and range of weights.

Fonts that pair with Ubuntu Sans Mono

Suggestions chosen for contrast: a different kind of typeface that can take the other role on the page.