Free fonts similar to Consolas
Consolas is the monospaced font that reads most like normal text: humanist shapes, proportions close to a proportional font and a real italic. It was the default in Visual Studio for many years, so it is what code looks like to many Windows developers.
Short answer: the closest free alternative to Consolas is Inconsolata. JetBrains Mono is also worth a look. All are open source and free for commercial use.
Consolas is not installed on this device, so it cannot be drawn here. The free alternatives below are live. On a device that has it, this row shows the original and unlocks the overlay.
/* Inconsolata is open source. Self-host it or load it from Google Fonts. */ font-family: "Inconsolata", Consolas, "Lucida Console", Menlo, monospace;
The alternatives in detail
1. Inconsolata
Why it works. An open source monospace that its designer, Raph Levien, drew with Consolas as an acknowledged influence. It has the same humanist warmth and a slashed zero.
What differs. No italics. It is lighter at the regular weight, but the variable font offers weights and widths to compensate.
2. JetBrains Mono
Why it works. A sturdy modern coding font with italics and eight weights, easy to read for hours.
What differs. Wider with a taller x-height and more rectangular curves, so it feels more technical and fits fewer characters per line.
How to recognize Consolas
Lucas de Groot for Microsoft. It shipped with Windows Vista and Office 2007 as the monospaced member of the ClearType font collection.
- A slashed zero.
- Humanist, slightly narrow letters that look less mechanical than Courier New or Lucida Console.
- A true italic with cursive shapes, instead of a slanted roman.
Is Consolas free?
Ships with Windows and Microsoft Office, and is missing on Macs without Office, phones and Linux. It is not open source and cannot be served as a web font without a license, although it is now also in the Adobe Fonts library.
The alternatives on this page are open source, so you can use them on commercial sites, self-host the files and ship them in products. Read more in font licensing in plain English.
Use Inconsolata in your CSS
Put the free font first and keep sensible fallbacks behind it. Self-hosting the files is the most private and usually the fastest option.
@font-face {
font-family: "Inconsolata";
src: url("/fonts/inconsolata-400.woff2") format("woff2");
font-weight: 400;
font-display: swap;
}
@font-face {
font-family: "Inconsolata";
src: url("/fonts/inconsolata-700.woff2") format("woff2");
font-weight: 700;
font-display: swap;
}
body {
font-family: "Inconsolata", Consolas, "Lucida Console", Menlo, monospace;
}Saw a font you can’t place, or can’t afford?
Font Inspector names the font on any website in one click. For popular paid and system fonts it suggests free look-alikes right in the panel.
Questions & answers
What is the closest free font to Consolas?
Inconsolata is the closest free alternative to Consolas. An open source monospace that its designer, Raph Levien, drew with Consolas as an acknowledged influence. It has the same humanist warmth and a slashed zero. JetBrains Mono is also worth testing.
Is Consolas free to use?
Ships with Windows and Microsoft Office, and is missing on Macs without Office, phones and Linux. It is not open source and cannot be served as a web font without a license, although it is now also in the Adobe Fonts library.
What Google Font looks like Consolas?
On Google Fonts, the nearest matches are Inconsolata and JetBrains Mono. All are open source and free for commercial use. None is an exact copy, so compare them with your own text first.
How can I tell whether a website uses Consolas?
Inspect the text. Browser DevTools show the rendered font in the Computed tab, and the Font Inspector extension shows the family, the rendered font and free look-alikes in one click.
Courier New
Try Cousine and Courier Prime
MONOSPACED TYPEWRITER SANS SERIFOperator Mono
Try Fira Code, JetBrains Mono and Victor Mono
MONOSPACED SYSTEM SANS SERIFSF Mono
Try JetBrains Mono and IBM Plex Mono
CONDENSED HEAVY SANS SERIFImpact
Try Anton and Oswald
NEO-GROTESQUE SANS SERIFHelvetica
Try Inter, Arimo and Roboto
NEO-GROTESQUE SANS SERIFHelvetica Neue
Try Inter, Arimo and Hanken Grotesk