Free coding fonts

Fonts for editors and terminals: fixed-width families with clear distinctions between similar characters such as 0 and O, or 1, l and I.

Type your text. See it in every font below.

Or try

22 font families

What is a coding font?

A coding font is a monospaced typeface made for editors and terminals. Characters that are easy to confuse are drawn clearly apart, and the fixed width keeps code aligned.

How to choose a coding font

  1. Compare 0 O, 1 l IThese are the characters that cause bugs when misread. Look for a slashed or dotted zero.
  2. Decide on ligaturesSome coding fonts merge sequences such as an arrow into one symbol. Make sure your editor lets you switch them on or off.
  3. Check bold and italicSyntax highlighting uses both. A family with real styles looks better than faked ones.

Well-known coding fonts

  • JetBrains MonoDeveloper-focused fixed-width type from JetBrains, with a tall lowercase, true italics and weights from Thin to ExtraBold.
  • Fira CodeA monospaced coding font built on Fira Mono, with ligatures that join arrows and operators into single symbols.
  • Source Code ProFixed-width offshoot of Source Sans for coding, with a dotted zero, slab-footed i and j, and full italics
  • Roboto MonoRoboto adapted to fixed widths, with distinct 1, l and I, a clear zero and enlarged punctuation for code.
  • IBM Plex MonoIBM Plex in fixed width, with slab-footed narrow letters, a marked zero, seven weights, italics and Cyrillic.
  • Space MonoGeometric monospace with grotesque touches and a nod to 1960s headline type, built for display use
  • InconsolataRaph Levien’s fixed-width typeface, conceived for printed code and later made variable in weight and in width.
  • Ubuntu MonoUbuntu’s monospaced cut for code and terminals, with a marked zero and true italics in two weights.

Free coding fonts at a glance

Families
22
Variable fonts
11
Single-style families
1
Most styles
Geist Mono 18 styles
Licenses
SIL Open Font License 1.1 21Ubuntu Font Licence 1.0 1

Questions about free coding fonts

What is a coding font?

A coding font is a monospaced typeface made for editors and terminals. Characters that are easy to confuse are drawn clearly apart, and the fixed width keeps code aligned.

What are the most popular free coding fonts?

Widely used free coding fonts include JetBrains Mono, Fira Code, Source Code Pro, Roboto Mono, IBM Plex Mono and Space Mono. All of them can be downloaded here with their license text.

Are these coding fonts free for commercial use?

Yes. All 22 families carry an open license: 21 under the SIL Open Font License 1.1 and 1 under the Ubuntu Font Licence 1.0. These licenses allow personal and commercial use, including logos, products, apps and websites. The license text is included in every download.

How do I download and install one of these fonts?

Open the font page and select Download family. You get a zip with the original font files and the license text. Unzip it, open a .ttf or .otf file and choose Install (Font Book on macOS, the Install button on Windows).

Which coding fonts are variable fonts?

11 of the 22 are variable fonts, including JetBrains Mono, Fira Code and Source Code Pro. A variable font holds its whole weight range in one file, so you can set any weight in between.

Which of these coding fonts has the most styles?

Geist Mono, with 18 styles. 1 of the 22 families comes in a single style, which is common for display and script designs.