Ubuntu
About Ubuntu
- Source
- Google Fonts ↗
- Classification
- sans-serif
- Weights
- 300, 400, 500, 700
- Features
- Italics
Similar to OFL, designed for Ubuntu fonts. Free for commercial use.
What's allowed?
- ✓ Client work
- ✓ SaaS / Web apps
- ✓ YouTube / Video
- ✓ Sell products
- ✓ Print materials
Note: Derivative fonts must use the same license.
Full license guide →Ubuntu is the humanist sans that Canonical commissioned from Dalton Maag in 2010–2011 for the Ubuntu operating system. Google's description says it was meant "to enable the personality of Ubuntu to be seen and felt in every menu, button and dialog." It is released under the Ubuntu Font Licence 1.0, not the OFL. The files on Google Fonts are version 0.83, with four weights in roman and italic: Light 300, Regular 400, Medium 500 and Bold 700.
The licence is not the OFL
UFL 1.0 allows commercial use, embedding, modification and redistribution, like the OFL. Where it differs is in what happens to modified versions. The fonts and anything derived from them must be distributed under the UFL and no other licence, and a modified version has to change its name: a substantially changed one may not use the Ubuntu name at all, and a lightly changed one must be called "Ubuntu derivative X". Unlike the OFL, the UFL has no clause against selling the fonts on their own. Most product and web teams will never notice the difference. A foundry or a design-system team planning to fork and rename the family should read the licence text at ubuntu.com/legal/font-licence first. "Ubuntu" and "Canonical" are also registered trademarks of Canonical, which Google's description points out. That matters if a derivative's name or marketing would lean on them.
Design
The shapes are what people recognise without knowing the name. Stems end in short angled cuts, curves meet straights with a noticeable kink, and the lowercase has a slightly squared-off softness that reads as approachable rather than neutral. In the Regular, on a 1,000-unit em, the x-height is 520 and the cap height 693. The lowercase is large for a humanist sans, which is part of why it holds up at 13–14 px in a UI.
Dalton Maag hinted the family by hand for desktop and mobile screens, according to Google. On modern high-DPI displays that matters less than it did in 2010, but it still shows at small sizes on Windows.
Technical features
- Eight styles: four weights, each with a true italic. No variable font.
- 1,264 glyphs in the Regular. Cyrillic has 214 code points in the base block and Greek 71, plus 233 polytonic Greek code points in Greek Extended. Google lists a cyrillic-ext subset, but the binary has no code points in the Cyrillic Supplement or Extended blocks, so we list Cyrillic without it.
- Tabular and proportional figures (
tnumandpnum), fractions, superiors and inferiors, andcase-sensitive forms ss01swaps the Greek capitals that carry iota subscripts for alternate forms. It is useful for polytonic Greek and irrelevant for anything else.- Partial Vietnamese only: horn letters such as ơ are present, but the precomposed vowels with stacked marks are not.
Where Ubuntu works
Product UI and documentation for Linux-adjacent software, where it signals "open source" at a glance. Interfaces that need Latin, Cyrillic and Greek from one family. Dashboards that need tabular figures in a warm sans. And as a free substitute for Segoe UI: both are humanist UI faces with open apertures and a large lowercase, though Ubuntu's angled stroke endings are more opinionated.
Where it struggles
Its personality is strong enough to brand your product as "Ubuntu-ish", which you may not want. There is no variable font, and the gap between Medium 500 and Bold 700 leaves no semibold for buttons. If you want the same design lineage with a variable weight axis, Google Fonts also lists Ubuntu Sans and Ubuntu Sans Mono as separate families. Ubuntu Mono has its own page here, since it is a distinct monospace companion rather than a style of this family.
Is Ubuntu on Google Fonts?
Yes, Ubuntu is available for free on Google Fonts. Get Ubuntu on Google Fonts ↗
Alternative For (1)
Ubuntu is a free alternative to the following fonts:
Humanist UI sans with a large lowercase, true italics and Cyrillic and Greek
Free Twins: one premium font and its best free lookalikes, every Thursday.
Get the free font substitution kit now
Confirm by email and the kit is yours.
We'll email you a link to confirm. Unsubscribe in one click. No spam, no selling your address. Privacy
Compare Ubuntu
See how Ubuntu compares to other fonts side by side.
How to Use Ubuntu
Copy these code snippets to quickly add Ubuntu to your project.
CSS code for Ubuntu
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap'); HTML code for Ubuntu
<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:wght@300;400;500;700&display=swap" rel="stylesheet"> Tailwind code for Ubuntu
// tailwind.config.js
module.exports = {
theme: {
extend: {
fontFamily: {
'ubuntu': ['Ubuntu', 'sans-serif'],
},
},
},
}
// Usage in HTML:
// <p class="font-ubuntu">Your text here</p> Next.js code for Ubuntu
// Using next/font (Next.js 13+)
import { Ubuntu } from 'next/font/google';
const ubuntu = Ubuntu({
subsets: ['latin'],
weight: ['300', '400', '500', '700'],
});
export default function Component() {
return (
<p className={ubuntu.className}>
Your text here
</p>
);
}
// Or using inline styles with Google Fonts link:
// <p style={{ fontFamily: "'Ubuntu'" }}>Your text</p> Expo and React Native code for Ubuntu
// Install: npx expo install @expo-google-fonts/ubuntu expo-font
import { useFonts, Ubuntu_400Regular } from '@expo-google-fonts/ubuntu';
export default function App() {
const [fontsLoaded] = useFonts({
Ubuntu_400Regular,
});
if (!fontsLoaded) return null;
return (
<Text style={{ fontFamily: 'Ubuntu_400Regular' }}>
Your text here
</Text>
);
}