Monospaced Fonts for Coding
A coding font will not make bad code good, but it can make several hours in an editor more comfortable. Clear punctuation, distinct characters, sensible spacing, and the right amount of personality matter more than dramatic claims about productivity.
This list includes free and paid monospaced fonts, understated workhorses, typewriter-inspired designs, and a few families built specifically for code.
- MonoLisa is a commercial coding typeface designed around legibility and comfort during long sessions.
- Andale Mono is Steve Matteson’s sans-serif monospaced design, originally made for the Taligent project by Apple and IBM.
- Aperçu combines ideas from classic realist typefaces such as Johnston, Gill Sans, Neuzeit, and Franklin Gothic.
- Courier Std is Adobe’s version of the familiar slab-serif, typewriter-style family, with broad Latin-language support.
- Inconsolata was designed with printed code listings in mind and pays more attention to high-resolution rendering than many older programmer fonts.
- Fira Mono belongs to the Fira family created for Firefox OS and was designed to remain legible across screens of different quality.
- Source Code Pro adapts Paul D. Hunt’s Source Sans into uniform-width glyphs while keeping the original family’s proportions and character.
- Cousine is Steve Matteson’s screen-readable, Courier New-compatible design. Matching metrics can be useful when documents need to keep the same layout across platforms.
- Anonymous Pro is Mark Simonson’s four-font family for code. It supports Latin, Greek, and Cyrillic characters and is available under the Open Font License.
- Droid Sans Mono is the fixed-width member of the Droid Sans family, designed by Steve Matteson for legible screen text and tabular content.
- Oxygen Mono is the monospaced companion to the KDE project’s Oxygen interface and brand typeface.
- Cutive Mono takes its character from classic IBM Executive and Smith-Premier typewriter faces.
- Lekton was designed at ISIA Urbino and draws inspiration from typefaces used on Olivetti typewriters.
- PT Mono was made for forms, tables, and other layouts where predictable character widths help align fields and columns.
- Hack is an open-source coding font with roots in Bitstream Vera and DejaVu.
- Ubuntu Mono is the monospaced part of the Ubuntu Font Family, developed by Dalton Maag with funding from Canonical.
- Space Mono is Colophon Foundry’s original fixed-width family for Google Design, with an extended Latin character set.
- Roboto Mono adapts the Roboto family for fixed-width text, changing glyph forms where the monospaced format needs it.
- Operator Mono is a commercial family rooted in typewriting traditions, with a more distinctive voice than most coding fonts.
- Input borrows from monospaced console and bitmap fonts but is not limited by their old technical constraints.
- Consolas was designed for programming and other monospaced text, with proportions closer to ordinary reading fonts than Courier.
- Liberation Mono is part of Red Hat’s open-source Liberation family, originally designed by Steve Matteson at Ascender.
- Fira Code extends a monospaced font with programming ligatures for common symbol combinations.
- Monaco is Susan Kare and Kris Holmes’s monospaced sans-serif, long associated with classic Mac development tools.
- Office Code Pro customises Source Code Pro specifically for editors and coding environments.
- PragmataPro is a condensed commercial font made for code, mathematics, and engineering.
- Cartograph CF pairs monospaced efficiency with a warmer, more expressive design and also includes proportional sans styles.
Screenshots help, but they do not tell you how a font feels with your theme, size, language, and actual code. I would shortlist a few, then spend a working day with each one. The font you stop noticing is often the right choice.