Kode Mono
Monospace · Variable · OFL · by Isa Ozler · #1,100 most used
Fonts that pair with Kode Mono
The best fonts to pair with Kode Mono are Open Sans, Roboto and Google Sans. Use Kode Mono for headings with Open Sans, Roboto or Google Sans for body text, or set Kode Mono as body text under Nunito or Anton headings.
Kode Mono for headings, each of these for body text. Curated pairings were chosen by hand; Suggested ones come from the pairing rules. How to use this page
withOpen SansSuggested
Kode Mono & Open Sans
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Kode Mono gives headlines a technical, typewriter edge. Open Sans is a sans-serif that reads comfortably at paragraph sizes, so the page feels built rather than coded.
withRobotoSuggested
Kode Mono & Roboto
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Kode Mono gives headlines a technical, typewriter edge. Roboto is a sans-serif that reads comfortably at paragraph sizes, so the page feels built rather than coded.
withGoogle SansSuggested
Kode Mono & Google Sans
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Kode Mono gives headlines a technical, typewriter edge. Google Sans is a sans-serif that reads comfortably at paragraph sizes, so the page feels built rather than coded.
withLoraSuggested
Kode Mono & Lora
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Kode Mono gives headlines a technical, typewriter edge. Lora is a serif that reads comfortably at paragraph sizes, so the page feels built rather than coded.
withEB GaramondSuggested
Kode Mono & EB Garamond
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Kode Mono gives headlines a technical, typewriter edge. EB Garamond is a serif that reads comfortably at paragraph sizes, so the page feels built rather than coded.
withAlegreyaSuggested
Kode Mono & Alegreya
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Kode Mono gives headlines a technical, typewriter edge. Alegreya is a serif that reads comfortably at paragraph sizes, so the page feels built rather than coded.
Headings for Kode Mono body text
Kode Mono reads well in paragraphs. These heading fonts give it hierarchy.
Nunito
const pair = { heading, body }; // 0O 1lI
Nunito + Kode Mono
Anton
const pair = { heading, body }; // 0O 1lI
Anton + Kode Mono
Changa One
const pair = { heading, body }; // 0O 1lI
Changa One + Kode Mono
Lilita One
const pair = { heading, body }; // 0O 1lI
Lilita One + Kode Mono
Abril Fatface
const pair = { heading, body }; // 0O 1lI
Abril Fatface + Kode Mono
Hammersmith One
const pair = { heading, body }; // 0O 1lI
Hammersmith One + Kode Mono
Styles
Variable font: ROND 0–100, wdth 75–125, wght 400–700. 4 weights: Regular, Medium, SemiBold, Bold.
- 400 Regularconst pair = { heading, body }; // 0O 1lI
- 500 Mediumconst pair = { heading, body }; // 0O 1lI
- 600 SemiBoldconst pair = { heading, body }; // 0O 1lI
- 700 Boldconst pair = { heading, body }; // 0O 1lI
Get the CSS for Kode Mono
Pick how you load fonts. The Google Fonts link is the quickest; the npm and Next.js options self-host the files. Which one should I use?
<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=Kode+Mono:wght@400..700&display=swap" rel="stylesheet">Paste in <head>. Loads every weight; remove the ones you do not use from the URL to save bytes.
@import url('https://fonts.googleapis.com/css2?family=Kode+Mono:wght@400..700&display=swap');
.kode-mono {
font-family: "Kode Mono", ui-monospace, Menlo, Consolas, monospace;
}The @import goes at the top of your stylesheet. The <link> version above loads faster.
font-family: "Kode Mono", ui-monospace, Menlo, Consolas, monospace;
/* Headings */
h1, h2, h3 {
font-family: "Kode Mono", ui-monospace, Menlo, Consolas, monospace;
font-weight: 700;
}Fallbacks keep text readable while Kode Mono downloads.
@import "tailwindcss";
@theme {
--font-sans: "Kode Mono", ui-monospace, Menlo, Consolas, monospace;
}Then use class="font-sans". Add the <link> tag from the HTML tab to load the font.
npm install @fontsource-variable/kode-mono
// In your entry file
import "@fontsource-variable/kode-mono";
/* CSS */
font-family: "Kode Mono Variable", ui-monospace, Menlo, Consolas, monospace;Self-hosted through Fontsource: no requests to Google, works offline and with strict privacy rules.
import { Kode_Mono } from "next/font/google";
const kodeMono = Kode_Mono({
subsets: ["latin"],
display: "swap",
});next/font self-hosts the files at build time and sets a size-adjusted fallback.
About Kode Mono
Kode Mono is a variable monospaced typeface designed specifically for the developer community. Its key feature is clarity and functionality, making it ideal for coding environments where legibility is crucial. The font includes ligatures, which are combinations of multiple characters into a single glyph—helpful in improving the readability of common programming symbols in languages like JavaScript, Python, Haskell, and Rust.
Kode Mono has three variable axes: Weight (400–700), Width (75–125, from Condensed to Expanded) and Roundness (0–100, from the original sharp corners to fully rounded). Stylistic set 1 ( ss01 ) offers alternates for D, Q and 8 that are easier to tell apart from O, 0 and B, useful for identity documents, scanned text and OCR. To contribute, see github.com/isaozler/kode-mono .
Description from the font's documentation on Google Fonts.
Kode Mono is free for commercial and personal use under the SIL Open Font License 1.1: on the web, in apps and in print, with no attribution needed on the finished work. Only selling the font files themselves is not allowed.
| Category | Monospace (sans serif) |
|---|---|
| Designer | Isa Ozler |
| Styles | 4 (variable) |
| Weights | 400, 500, 600, 700 |
| Axes | ROND 0–100, wdth 75–125, wght 400–700 |
| Writing systems | latin, latin ext |
| Languages | 403 |
| Licence | SIL Open Font License 1.1 |
| Popularity | #1,100 of 1,959 Google Fonts |
| Added | May 19, 2023 |
| Last updated | October 27, 2026 |