Martian Mono font pairings start with a monospace that was planned for interfaces as much as for code. The upstream README in the evilmartians/mono repository on GitHub, read for this guide, describes Martian Mono as the monospaced version of Martian Grotesk, with a tall x-height and vertical metrics that leave equal room above the cap height and below the baseline. That balance makes text sit evenly inside buttons, inputs and lists. The same page lists four widths, from Condensed to Semi Wide, two sets of coding ligatures, and hinting meant to keep small sizes sharp. In a later Evil Martians article on choosing coding fonts, co-written by Roman Shamin, the team argues that a good developer font needs far more than equal character widths, pointing to details such as a slashed zero. Google Fonts added Martian Mono in 2022. With so much range of its own, the partner mostly needs to supply proportional reading text.
Is Martian Mono a heading or body font?
Martian Mono can do both jobs in technical settings. It is at home in code blocks, terminals, tables and numeric data, and its heavier and wider instances make striking headings for developer tools and documentation. For long articles, though, a proportional face reads faster, so most pairings below use Martian Mono for headings, labels and code while the partner carries paragraphs.
Martian Mono weights, styles and licence
On Google Fonts, Martian Mono has 8 styles: 8 upright weights from Thin 100 to ExtraBold 800. It is also a variable font, with a width axis from 75 to 112 and a weight axis from 100 to 800. There is no true italic, so avoid the slanted text a browser fakes when you ask for one. The width axis runs from 75 to 112.5 percent, matching the README names Condensed, Narrow, Standard and Semi Wide. The default ligatures turn sequences like an arrow made of hyphens into a single glyph; Stylistic Set 03 switches to spacing ligatures that keep the original characters. For desktop installs the README notes that the static fonts are named Martian Mono and the variable font Martian Mono VF, so both can sit side by side. The family also covers Cyrillic. The licence is the SIL Open Font License. In plain words, you can use it free for personal and commercial work, embed it on websites and in apps, use it in logos, print and video, and modify it, but you cannot sell the font files on their own.
Best fonts to pair with Martian Mono
Every partner is a free Google Fonts family with a full weight range. Martian Mono takes the headings and code in all five rows, while the partner sets paragraphs and longer interface text.
| Pairing | Use as | Why it works |
|---|---|---|
| Martian Mono + Inter | Heading + Body | Inter is designed for screens and shares a similar tall x-height, so documentation and product pages feel consistent between prose and code. |
| Martian Mono + IBM Plex Sans | Heading + Body | IBM Plex Sans has a precise, engineered tone that matches the technical character of Martian Mono in developer portals and reports. |
| Martian Mono + Source Serif 4 | Heading + Body | Source Serif 4 brings a literary serif to long technical essays, a clear contrast to monospaced headings and code samples. |
| Martian Mono + DM Sans | Heading + Body | DM Sans is a low contrast geometric sans that keeps marketing pages friendly next to bold, wide Martian Mono headlines. |
| Martian Mono + Space Grotesk | Heading + Body | Space Grotesk has quirky details from a monospace ancestry, so it extends the coded look into proportional text for startups. |
To try the first pairing, load both families from Google Fonts and assign the roles in CSS:
<link href="https://fonts.googleapis.com/css2?family=Martian+Mono&family=Inter&display=swap" rel="stylesheet">
h1, h2, h3 { font-family: "Martian Mono", monospace; }
body { font-family: "Inter", sans-serif; }
Martian Mono + Inter (for documentation and developer tools)
Documentation sites mix prose, code and interface labels on every screen. Use Martian Mono Medium at a wider width for page titles and section headings, keep it at Standard width and Regular weight for code blocks, and set explanations and navigation in Inter at 16 pixels. The two share a tall x-height, so inline code inside a sentence does not jump in size. The README suggests size and line height pairs such as 10 on 16 or 15 on 24 pixels, which suit code samples well.
Martian Mono + IBM Plex Sans (for dashboards, data products and reports)
Data heavy products need tabular numbers and calm labels. Use Martian Mono for figures, table headers, metric names and short headings, where the fixed width keeps columns aligned, and IBM Plex Sans for descriptions, tooltips and settings. Plex has its own engineered feel, so the page reads as one system. Try the Condensed width of Martian Mono in dense tables to fit more columns. The IBM Plex Sans font pairings guide covers more partners.
Martian Mono + Source Serif 4 (for engineering blogs and long technical essays)
Long form engineering writing benefits from a reading serif. Put article titles and subheads in Martian Mono SemiBold, code samples in Regular, and set body text in Source Serif 4 at 18 to 20 pixels. The serif slows the eye just enough for careful reading while the monospaced headings signal technical content at a glance. See the Source Serif 4 font pairings guide for other options.
How to pair fonts with Martian Mono yourself
Decide first what Martian Mono should do: code only, or headings too. If only code, choose any clear text sans and match x-heights so inline code sits level. If headings too, use the width axis to give titles presence and keep body text proportional. Avoid pairing two monospaces on one page unless one is purely for code. For comparison, earlier guides cover JetBrains Mono and Fira Code. Within this group, Nova Square adds a squared display accent and Nixie One a light retro one. Try your shortlist in the font pairing generator.
Frequently Asked Questions
What font pairs best with Martian Mono?
Inter is the best partner for documentation and developer tools. IBM Plex Sans suits dashboards, Source Serif 4 fits engineering blogs, DM Sans works for marketing pages, and Space Grotesk suits startups.
Is Martian Mono free?
Yes. Martian Mono is free on Google Fonts under the SIL Open Font License, which allows personal and commercial use, embedding on websites and in apps, and use in logos and print. You cannot sell the font files on their own.
Who designed Martian Mono?
Martian Mono was designed by Roman Shamin with Evil Martians, the design and engineering consultancy that publishes the source on GitHub. It is the monospaced companion to their Martian Grotesk. Google Fonts added the family in 2022.
Does Martian Mono have coding ligatures?
Yes. The README describes two sets: default ligatures that merge sequences such as arrows into one glyph, and spacing ligatures, turned on with Stylistic Set 03, that keep each character but adjust spacing and alignment.
Is Martian Mono a variable font?
Yes. Google Fonts serves it with a weight axis from 100 to 800 and a width axis from 75 to 112.5, so you can pick any weight and width in CSS with font-weight and font-stretch.


