Martian Mono
Monospace · Variable · OFL · by Roman Shamin, Evil Martians · #569 most used
Fonts that pair with Martian Mono
The best fonts to pair with Martian Mono are Open Sans, Roboto and Google Sans. Use Martian Mono for headings with Open Sans, Roboto or Google Sans for body text, or set Martian Mono as body text under Nunito or Anton headings.
Martian 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
Martian Mono & Open Sans
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Martian 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
Martian Mono & Roboto
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Martian 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
Martian Mono & Google Sans
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Martian 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
Martian Mono & Lora
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Martian 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
Martian Mono & EB Garamond
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Martian 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
Martian Mono & Alegreya
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Martian 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 Martian Mono body text
Martian Mono reads well in paragraphs. These heading fonts give it hierarchy.
Nunito
const pair = { heading, body }; // 0O 1lI
Nunito + Martian Mono
Anton
const pair = { heading, body }; // 0O 1lI
Anton + Martian Mono
Changa One
const pair = { heading, body }; // 0O 1lI
Changa One + Martian Mono
Lilita One
const pair = { heading, body }; // 0O 1lI
Lilita One + Martian Mono
Abril Fatface
const pair = { heading, body }; // 0O 1lI
Abril Fatface + Martian Mono
Hammersmith One
const pair = { heading, body }; // 0O 1lI
Hammersmith One + Martian Mono
Styles
Variable font: wdth 75–112.5, wght 100–800. 8 weights: Thin, ExtraLight, Light, Regular, Medium, SemiBold, Bold, ExtraBold.
- 100 Thinconst pair = { heading, body }; // 0O 1lI
- 200 ExtraLightconst pair = { heading, body }; // 0O 1lI
- 300 Lightconst pair = { heading, body }; // 0O 1lI
- 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
- 800 ExtraBoldconst pair = { heading, body }; // 0O 1lI
Get the CSS for Martian 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=Martian+Mono:wght@100..800&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=Martian+Mono:wght@100..800&display=swap');
.martian-mono {
font-family: "Martian Mono", ui-monospace, Menlo, Consolas, monospace;
}The @import goes at the top of your stylesheet. The <link> version above loads faster.
font-family: "Martian Mono", ui-monospace, Menlo, Consolas, monospace;
/* Headings */
h1, h2, h3 {
font-family: "Martian Mono", ui-monospace, Menlo, Consolas, monospace;
font-weight: 700;
}Fallbacks keep text readable while Martian Mono downloads.
@import "tailwindcss";
@theme {
--font-sans: "Martian 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/martian-mono
// In your entry file
import "@fontsource-variable/martian-mono";
/* CSS */
font-family: "Martian Mono Variable", ui-monospace, Menlo, Consolas, monospace;Self-hosted through Fontsource: no requests to Google, works offline and with strict privacy rules.
import { Martian_Mono } from "next/font/google";
const martianMono = Martian_Mono({
subsets: ["latin"],
display: "swap",
});next/font self-hosts the files at build time and sets a size-adjusted fallback.
About Martian Mono
Martian Mono is a monospaced version of the Martian Grotesk font for code style design. It inherits Grotesk's brutal and eye-catching aesthetics as well as all of its benefits-metrics equilibrium, readability and intelligibility, and convenience for web developers and designers who believe in a systematic approach to design. Martian Mono consists of a variable font with a width (Condensed to SemiExpanded) and weight axes (Thin to ExtraBold).
In January 2023, the basic Cyrillic script is added and the font supports now Ukrainian, Belarusian, and Russian languages. To contribute, see github.com/evilmartians/mono .
Description from the font's documentation on Google Fonts.
Martian 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 |
|---|---|
| Designers | Roman Shamin, Evil Martians |
| Styles | 8 (variable) |
| Weights | 100, 200, 300, 400, 500, 600, 700, 800 |
| Axes | wdth 75–112.5, wght 100–800 |
| Writing systems | cyrillic, cyrillic ext, latin, latin ext |
| Languages | 481 |
| Licence | SIL Open Font License 1.1 |
| Popularity | #569 of 1,959 Google Fonts |
| Added | November 25, 2022 |
| Last updated | September 16, 2025 |