Inconsolata
Monospace · Variable · OFL · by Raph Levien · #84 most used
Fonts that pair with Inconsolata
The best fonts to pair with Inconsolata are Roboto, Open Sans and Google Sans. Use Inconsolata for headings with Roboto, Open Sans or Google Sans for body text, or set Inconsolata as body text under Roboto or Google Sans headings.
Inconsolata 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
withRobotoSuggested
Inconsolata & Roboto
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Inconsolata 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.
Open pairing →withOpen SansSuggested
Inconsolata & Open Sans
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Inconsolata 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.
Open pairing →withGoogle SansSuggested
Inconsolata & Google Sans
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Inconsolata 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.
Open pairing →withMerriweatherSuggested
Inconsolata & Merriweather
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Inconsolata gives headlines a technical, typewriter edge. Merriweather is a wide serif that reads comfortably at paragraph sizes, so the page feels built rather than coded.
Open pairing →withLoraSuggested
Inconsolata & Lora
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Inconsolata gives headlines a technical, typewriter edge. Lora is a serif that reads comfortably at paragraph sizes, so the page feels built rather than coded.
withCormorant GaramondSuggested
Inconsolata & Cormorant Garamond
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Inconsolata gives headlines a technical, typewriter edge. Cormorant Garamond is a serif that reads comfortably at paragraph sizes, so the page feels built rather than coded.
Headings for Inconsolata body text
Inconsolata reads well in paragraphs. These heading fonts give it hierarchy.
Roboto
const pair = { heading, body }; // 0O 1lI
Roboto + Inconsolata
Google Sans
const pair = { heading, body }; // 0O 1lI
Google Sans + Inconsolata
Inter
const pair = { heading, body }; // 0O 1lI
Inter + Inconsolata
Black Ops One
const pair = { heading, body }; // 0O 1lI
Black Ops One + Inconsolata
Changa One
const pair = { heading, body }; // 0O 1lI
Changa One + Inconsolata
Lobster Two
const pair = { heading, body }; // 0O 1lI
Lobster Two + Inconsolata
Styles
Variable font: wdth 50–200, wght 200–900. 8 weights: ExtraLight, Light, Regular, Medium, SemiBold, Bold, ExtraBold, Black.
- 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
- 900 Blackconst pair = { heading, body }; // 0O 1lI
Get the CSS for Inconsolata
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=Inconsolata:wght@200..900&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=Inconsolata:wght@200..900&display=swap');
.inconsolata {
font-family: "Inconsolata", ui-monospace, Menlo, Consolas, monospace;
}The @import goes at the top of your stylesheet. The <link> version above loads faster.
font-family: "Inconsolata", ui-monospace, Menlo, Consolas, monospace;
/* Headings */
h1, h2, h3 {
font-family: "Inconsolata", ui-monospace, Menlo, Consolas, monospace;
font-weight: 700;
}Fallbacks keep text readable while Inconsolata downloads.
@import "tailwindcss";
@theme {
--font-sans: "Inconsolata", 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/inconsolata
// In your entry file
import "@fontsource-variable/inconsolata";
/* CSS */
font-family: "Inconsolata Variable", ui-monospace, Menlo, Consolas, monospace;Self-hosted through Fontsource: no requests to Google, works offline and with strict privacy rules.
import { Inconsolata } from "next/font/google";
const inconsolata = Inconsolata({
subsets: ["latin"],
display: "swap",
});next/font self-hosts the files at build time and sets a size-adjusted fallback.
About Inconsolata
Inconsolata was Raph Levien's first serious original font release. It is a monospace font, designed for printed code listings and the like. There are a great many “programmer fonts,” designed primarily for use on the screen, but in most cases do not have the attention to detail for high resolution rendering.
Inconsolata draws from many inspirations and sources. I was particularly struck by the beauty of Luc(as) de Groot's Consolas, which is his monospaced design for Microsoft's Vista release. This font, similar to his earlier TheSansMono, demonstrated clearly to me that monospaced fonts do not have to suck.
The development of the Regular style by Raph Levien was started in 2006 using his own Spiro-based tools and FontForge. The Bold style was designed by Kirill Tkachev and the Cyreal foundry in 2012. Updated September 2015: Internal metadata corrected.
Updated April 2020: Family has been upgraded to a variable font family. To contribute, see github.com/googlefonts/inconsolata .
Description from the font's documentation on Google Fonts.
Inconsolata 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 |
|---|---|
| Designer | Raph Levien |
| Styles | 8 (variable) |
| Weights | 200, 300, 400, 500, 600, 700, 800, 900 |
| Axes | wdth 50–200, wght 200–900 |
| Writing systems | latin, latin ext, vietnamese |
| Languages | 495 |
| Licence | SIL Open Font License 1.1 |
| Popularity | #84 of 1,959 Google Fonts |
| Added | February 19, 2010 |
| Last updated | September 4, 2025 |