14 Best Free Fonts for Programming
Tags: fonts, typography, programming, productivity
Published: 2021-02-10 16:45:45

---
canonical_url: https://draculatheme.com/blog/best-free-fonts-for-programming
---

We spend the entire day using code editors, terminal emulators, and other developer tools. Using a font that feels comfortable to your eyes can make a huge difference and improve your productivity.

Here's a compilation of the best free monospace fonts for coding, along with additional comments and download links.

## 1. Fira Code

I've used Monaco for 10+ years until I finally met Fira Code. This font has more than 53,600 stars on GitHub, and it's popular for a reason. Nikita Prokopov puts a lot of effort into the ligatures, which transforms characters into single logical tokens. It's my favorite font nowadays.

[Download](https://github.com/tonsky/FiraCode/releases/download/5.2/Fira_Code_v5.2.zip) • [Github](https://github.com/tonsky/FiraCode)
<a href="https://github.com/tonsky/FiraCode">
  <figure>
    <img src="https://draculatheme.com/static/img/blog/best-free-fonts-for-programming-a.png" alt="Fira Code" />
  </figure>
</a>

## 2. IBM Plex Mono

The Plex family was created to replace Helvetica as the IBM corporate typeface after more than 50 years. The italics look great, and it features very crisp and easy-to-read glyphs. Unfortunately, it doesn't include ligatures.

[Download](https://github.com/IBM/plex/archive/v5.1.3.zip) • [Github](https://github.com/IBM/plex)

<a href="https://www.ibm.com/plex">
  <figure>
    <img src="https://draculatheme.com/static/img/blog/best-free-fonts-for-programming-b.png" alt="IBM Plex Mono" />
  </figure>
</a>

## 3. Source Code Pro

This was one of the first open source fonts made by Adobe. After its release in 2012, the font got extremely popular and was adopted by many developers. It preserves the design features and vertical proportions of Source Sans, but alters the glyph widths so that they are uniform across all weights.

[Download](https://github.com/adobe-fonts/source-code-pro/archive/2.038R-ro/1.058R-it/1.018R-VAR.zip) • [Github](https://github.com/adobe-fonts/source-code-pro)

<a href="https://adobe-fonts.github.io/source-code-pro">
  <figure>
    <img src="https://draculatheme.com/static/img/blog/best-free-fonts-for-programming-c.png" alt="Source Code Pro" />
  </figure>
</a>

## 4. Monoid

If you're one of those people who hate horizontal scrolling, this is the right font for you. It's optimized for coding with bitmap-like sharpness at 12px/9pt even on low res displays. There's also a Font Awesome integration called Monoisome.

[Download](https://github.com/larsenwork/monoid/archive/0.61.zip) • [Github](https://github.com/larsenwork/monoid)

<a href="https://larsenwork.com/monoid">
  <figure>
    <img src="https://draculatheme.com/static/img/blog/best-free-fonts-for-programming-d.png" alt="Monoid" />
  </figure>
</a>

## 5. Hack

This is one of the most customizable fonts of all. It has 1,573 glyphs, and you can change the details of each one yourself. Powerline glyphs are also included in the regular set.

[Download](https://github.com/source-foundry/Hack/archive/v3.003.zip) • [Github](https://github.com/source-foundry/Hack)

<a href="https://sourcefoundry.org/hack">
  <figure>
    <img src="https://draculatheme.com/static/img/blog/best-free-fonts-for-programming-e.png" alt="Hack" />
  </figure>
</a>

## 6. Iosevka

This font provides a slender outfit by default: glyphs are exactly 1/2em wide. Compared to the competitors, you could fit more columns within the same screen width. It also has two widths, Normal and Extended, so if you prefer more breeze between the character, go with the Extended version.

[Download](https://github.com/be5invis/Iosevka/archive/v4.5.0.zip) • [Github](https://github.com/be5invis/Iosevka)

<a href="https://typeof.net/Iosevka">
  <figure>
    <img src="https://draculatheme.com/static/img/blog/best-free-fonts-for-programming-f.png" alt="Iosevka" />
  </figure>
</a>

## 7. JetBrains Mono

JetBrains, the company behind IntelliJ, WebStorm, and so many other IDEs, surprised us all in 2020 when it came with its own font. Their approach is to keep code lines to the length that developers expect, making each letter occupy more pixels. They do that by having characters remain standard in width, but the height of the lowercase is maximized.

[Download](https://github.com/JetBrains/JetBrainsMono/releases/download/v2.225/JetBrainsMono-2.225.zip) • [Github](https://github.com/JetBrains/JetBrainsMono)

<a href="https://www.jetbrains.com/lp/mono">
  <figure>
    <img src="https://draculatheme.com/static/img/blog/best-free-fonts-for-programming-g.png" alt="JetBrains Mono" />
  </figure>
</a>

## 8. Fantasque Sans Mono

Designed with functionality in mind, this is the kind of font that adds an extra touch to your code. Its handwriting-like fuzziness makes it a really cool option.

[Download](https://github.com/belluzj/fantasque-sans/archive/v1.8.0.zip) • [Github](https://github.com/belluzj/fantasque-sans)

<a href="https://fontlibrary.org/en/font/fantasque-sans-mono">
  <figure>
    <img src="https://draculatheme.com/static/img/blog/best-free-fonts-for-programming-h.png" alt="Fantasque Sans Mono" />
  </figure>
</a>

## 9. Ubuntu Mono

Especifically created to complement the Ubuntu tone of voice. It has a contemporary style and contains characteristics unique to the Ubuntu brand that convey a precise, reliable, and free attitude. If you enjoy Linux but have to work in Windows or MacOS, this font gives you a little happiness.

[Download](https://assets.ubuntu.com/v1/0cef8205-ubuntu-font-family-0.83.zip) • [Site](https://design.ubuntu.com/font/)

<a href="https://design.ubuntu.com/font/">
  <figure>
    <img src="https://draculatheme.com/static/img/blog/best-free-fonts-for-programming-i.png" alt="Ubuntu Mono" />
  </figure>
</a>

## 10. Anonymous Pro

The cool thing about this font is that characters that could be mistaken for each other like 0 (zero) vs O (capital O) are intentionally differentiated. It's a family of four fixed-width fonts designed especially with coding in mind.

[Download](https://www.marksimonson.com/assets/content/fonts/AnonymousPro-1_002.zip) • [Site](https://www.marksimonson.com/fonts/view/anonymous-pro)

<a href="https://www.marksimonson.com/fonts/view/anonymous-pro">
  <figure>
    <img src="https://draculatheme.com/static/img/blog/best-free-fonts-for-programming-j.png" alt="Anonymous Pro" />
  </figure>
</a>

## 11. Inconsolata

An open source alternative to the proprietary Consolas font from Microsoft. It's a monospace font designed for printed code listings, terminal emulators, and similar uses. Comes with ligatures for a great coding experience.

[Download](https://github.com/googlefonts/Inconsolata/archive/v3.000.zip) • [GitHub](https://github.com/googlefonts/Inconsolata)

<a href="https://levien.com/type/myfonts/inconsolata.html">
  <figure>
    <img src="https://draculatheme.com/static/img/blog/best-free-fonts-for-programming-k.png" alt="Inconsolata" />
  </figure>
</a>

## 12. Victor Mono

This typeface is clean, crisp and narrow, with a large x-height and clear punctuation, making it legible and ideal for code. It comes in seven weights and Roman, Italic and Oblique styles. It also has optional semi-connected cursive italics and programming symbol ligatures.

[Download](https://github.com/rubjo/victor-mono/archive/v1.4.2.zip) • [Github](https://github.com/rubjo/victor-mono)

<a href="https://rubjo.github.io/victor-mono/">
  <figure>
    <img src="https://draculatheme.com/static/img/blog/best-free-fonts-for-programming-l.png" alt="Victor Mono" />
  </figure>
</a>

## 13. Space Mono

Developed explicitly for use in headline and display typography, the letterforms infuse a geometric slab core with novel over-rationalized forms. It supports a Latin Extended glyph set, enabling typesetting for English and other Western European languages.

[Download](https://github.com/googlefonts/spacemono/archive/f5ebc1e1c0.zip) • [GitHub](https://github.com/googlefonts/spacemono)

<a href="https://www.colophon-foundry.org/custom/spacemono/">
  <figure>
    <img src="https://draculatheme.com/static/img/blog/best-free-fonts-for-programming-m.png" alt="Space Mono" />
  </figure>
</a>

## 14. Hasklig

Based on Source Code Pro, this font solves the problem the way typographers have always solved ill-fitting characters, which co-occur often: ligatures. The underlying code stays the same — only the representation changes.

[Download](https://github.com/i-tu/Hasklig/archive/v1.2.zip) • [Github](https://github.com/i-tu/Hasklig)

<a href="https://github.com/i-tu/Hasklig">
  <figure>
    <img src="https://draculatheme.com/static/img/blog/best-free-fonts-for-programming-n.png" alt="Hasklig" />
  </figure>
</a>

## What's your favorite one?

Fonts, just like themes, are a very personal subject. Different developers like different fonts. Some love ligatures, others hate. Some love italics, others hate.

Hopefully, this compilation was useful to identify what works best for you. Give it a shot, try them for a couple of days, and you'll notice the difference.

I'd love to hear which one you like the most. Hit me up on [Twitter](https://twitter.com/zenorocha)!