TypeSmith
Best Font PairingsAlternativesFonts

Browse

  • All Fonts
  • Search Fonts
  • Best Font Pairings
  • Font Alternatives
  • Test Font Pairings
  • Font Scanner
  • Font Pairing Guide

Categories

  • Serif
  • Sans Serif
  • Slab Serif
  • Monospace
  • Display
  • Script
  • Handwriting
  • Calligraphic
  • Blackletter
  • Retro
  • Comic
  • Stencil
  • Novelty
  • Typewriter
  • Grunge

Best Fonts For

  • Best Fonts for Figma
  • Best Fonts for Canva
  • Best Fonts for VS Code
  • Best Fonts for PowerPoint
  • Best Fonts for Web Design
  • Best Fonts for Branding
  • Best Fonts for Ecommerce
  • All Tools & Use Cases

Recommendations

  • Top Sans Serif Fonts
  • Top Serif Fonts
  • Top Monospace Fonts
  • Top Display Fonts
  • Trending Fonts 2026
  • Best Accessible Fonts
  • Best Variable Fonts
  • All Recommendations

Free Alternatives

  • Helvetica Alternatives
  • Futura Alternatives
  • Gotham Alternatives
  • Proxima Nova Alternatives
  • Garamond Alternatives
  • All Free Alternatives

About

  • About TypeSmith
TypeSmith

Discover beautiful fonts and perfect pairings for your next project. Browse 8,500+ fonts with accessibility ratings.

© 2026 TypeSmith · Robert David Orr

  1. Fonts
  2. /
  3. Monospace
  4. /
  5. Fira Code

Fira Code

Fira Code provides pixel-perfect precision with uniform character widths ideal for code and technical content.

Scroll to explore
Monospaceby Nikita Prokopov89% Accessible
Characters256
Glyphs307
Typography Tools

Best Ways to Use Fira Code

01

Best Font Pairings for Fira Code

TypeSmith curates 3 expert font pairings for Fira Code, including combinations with IBM Plex Mono, Montserrat and Lato.

Each pairing includes accessibility ratings, expert reasoning, and usage recommendations for web and print design.

Explore 3 Pairings for Fira Code
02

Test Fira Code Font Pairings Live

TypeSmith's interactive testing tool lets you preview Fira Code with any font combination in real-time, optimized for monospace characteristics.

Adjust font sizes, weights, and see live typography specimens including editorial layouts, code editors, and UI components.

Test Fira Code Pairings Live
Premium Font Alternative

Fira Code Is a Free Alternative To

Fira Code operates as a verified free alternative to 5 premium typefaces across the monospace classification. As a Monospaced sans-serif typeface, Fira Code shares core design traits that make it a practical substitute in professional workflows. TypeSmith confirms each alternative using structural similarity analysis, comparing stroke weight, x-height ratio, and character width proportions to ensure typographic consistency when replacing a licensed font.

Maison Monoby Milieu Grotesque

Fira Code reproduces Maison Mono's core metrics: matching x-height, similar descender depth, and equivalent stroke modulation create near-identical text color on the page.

90% matchstructural match$35-299
Berkeley Monoby Berkeley Graphics

While not a metric clone, Fira Code evokes Berkeley Mono's distinctive character through similar terminal treatments, comparable letter spacing, and analogous weight distribution.

86% matchstylistic match$35-299
Nittiby Bold Monday

Fira Code performs the same typographic role as Nitti — both excel at the same point sizes, column widths, and reading contexts with comparable legibility.

75% matchfunctional match$35-299
Cartograph CFby Connary Fagen

Fira Code channels the same design era and aesthetic movement as Cartograph CF, evoking comparable associations without directly replicating individual letterforms.

70% matchspiritual match$35-299
Sohne Monoby Klim Type Foundry

While structurally distinct, Fira Code inhabits the same typographic territory as Sohne Mono — both speak to similar audiences and contexts through shared design sensibilities.

64% matchspiritual match$35-299
Recommended For

Fira Code is recommended for 13 use cases

TypeSmith includes Fira Code in curated font recommendations for 13 development environments. Each recommendation reflects tested rendering quality and readability characteristics specific to that platform or workflow.

Code EditorVS CodeIndustry-standard programming ligatures for operators like =>, !=, and -> in VS Code.Code EditorJetBrains IDEsRich ligature set that integrates seamlessly with JetBrains editor ligature rendering pipeline.Code EditorSublime TextLigature support that integrates with Sublime Text 4 native ligature rendering.Code EditorVim / NeovimNerd Font patched variant provides ligatures and icon glyphs for Vim statusline plugins.Code EditorZedProgramming ligatures render smoothly with Zed native ligature support.Code EditoriTerm2Ligatures render shell operators clearly and Nerd Font patches add terminal icon support.Code EditorWarpLigatures clarify shell operators and pipe chains in Warp command input blocks.Code EditorWindows TerminalStrong TrueType hinting that produces crisp ClearType rendering on Windows LCD displays.Code EditorAlacrittyAlacritty does not support ligatures natively, but Fira Code base glyphs remain excellent.Code EditorCursorProgramming ligatures render cleanly alongside Cursor AI completions without glyph collision.Code EditorEmacsEmacs supports ligatures via ligature.el and prettify-symbols-mode, making Fira Code programming ligatures fully accessible.Code EditorKittyFull ligature set renders natively in Kitty — no Nerd Font patches needed for programming symbols.Code EditorXcodeXcode 16+ supports ligatures in its source editor, making Fira Code programming ligatures fully functional.
Featured In

Recommendation Lists

By Classification

Top 10 Monospace Fonts

Ranked #2
Accessibility

Top 10 Accessible Monospace Fonts

Ranked #2
By Tool

Top 10 VS Code Fonts

Ranked #2
By Tool

Top 10 Coding Fonts

Ranked #1
By Tool

Top 10 Terminal Fonts

Ranked #2

In Context

Fira Code Specimen Gallery

Code Editor
index.tsx
TypeScript ReactUTF-8
1import { useState, useEffect } from 'react';
2
3interface UserProfile {
4 id: string;
5 name: string;
6 email: string;
7 avatar?: string;
8}
9
10export function UserCard({ user }: { user: UserProfile }) {
11 const [isLoading, setIsLoading] = useState(false);
12
13 return (
14 <div className="card">
15 <img src={user.avatar} alt={user.name} />
16 <h2>{user.name}</h2>
17 <p>{user.email}</p>
18 </div>
19 );
20}
Ln 15, Col 28Spaces: 2
TypeScript JSXPrettier

Code Editor

Syntax highlighted code block

Character Set

Fira Code Glyphs & Characters

Size48
Showing 62 of 187 charactersDouble-click to copy • Click for details
ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789

Type Scale

Fira Code Used As Heading Examples

Heading Level 1<h1>
64px
Bold
72px
Fira Code primary headline
Heading Level 2<h2>
48px
SemiBold
56px
Fira Code section heading
Heading Level 3<h3>
32px
Medium
40px
Fira Code subsection title
Heading Level 4<h4>
24px
Regular
32px
Fira Code content heading
Heading Level 5<h5>
18px
Regular
26px
Fira Code minor heading
Heading Level 6<h6>
14px
Medium
20px
Fira Code smallest heading
Font SizeWeightLine Height
Body Copy

Fira Code Body Typography

TypeSmith provides optimized body text specifications for Fira Code, including recommended sizes, line heights, and letter spacing for long-form content. These settings ensure maximum readability across devices and screen sizes.

Fira Code demonstrates exceptional body text performance with balanced proportions and consistent stroke widths that enhance readability across paragraph lengths.

When setting Fira Code for body copy, TypeSmith recommends these optimized specifications. The carefully tuned metrics ensure comfortable reading at extended lengths while maintaining the typeface's distinctive character.

Fira Code small text sizes retain legibility through well-defined letterforms. Caption and footnote applications benefit from the font's clear x-height and open counters.

ElementWeightSizeLine HeightTrackingPreview
Body TextRegular16px24px0.5pxFira Code delivers excellent readability for body copy
ItalicizedRegular Italic16px24px0.5pxFira Code italic provides elegant emphasis
BoldBold16px24px0.5pxFira Code bold creates strong visual hierarchy
Small CapsRegular16px24px0.5pxFira Code typography specimen
Secondary TextMedium14px20px0.5pxFira Code typography specimen
.your-class { font-family: 'Fira Code'; }

Quick Start

Using Fira Code in Your Design

HTML Link Tag

Add to your <head> section

<link href="https://fonts.bunny.net/css?family=Fira+Code:400,700&display=swap" rel="stylesheet">

CSS @import

Add at top of your stylesheet

@import url('https://fonts.bunny.net/css?family=Fira+Code:400,700&display=swap');

CSS @font-face

Self-host the font files

@font-face {
  font-family: 'Fira Code';
  src: url('https://fonts.google.com/specimen/Fira+Code');
  font-display: swap;
}

Implementation

CSS Code Examples

Standard CSS

css

Apply directly to any CSS class or selector.

1.my-text {
2 font-family: 'Fira Code', sans-serif;
3 font-weight: 400;
4}

SCSS Variable

scss

Define once, use throughout your stylesheet.

1$font-primary: 'Fira Code', sans-serif;
2
3.my-text {
4 font-family: $font-primary;
5}

Tailwind CSS

config

Configure once, apply with utility classes.

1// tailwind.config.js
2module.exports = {
3 theme: {
4 extend: {
5 fontFamily: {
6 'fira-code': ['Fira Code', 'sans-serif'],
7 },
8 },
9 },
10}
11
12// Usage in HTML
13<p class="font-fira-code">Your text here</p>

About

Fira Code Background & Features

Nikita Prokopov
Monospace
Open Source

Representing monospace typeface design, Fira Code showcases mechanical precision and strong presence, making it well-suited for technical documentation. Its systematic spacing and uniform character width contribute to its versatile character. Particularly effective for technical documentation and programming environments, Fira Code adapts confidently across design contexts. Extended language coverage includes Fira Code is a monospaced font with programming ligatures designed to enhance the readability and ae....

Fira Code was created by Nikita Prokopov. The typeface's coding ligatures and clear letterforms reflect a design philosophy optimized for 2010s developer tooling, adopted for VS Code popular font choice.

As a Monospaced sans-serif in the Vox-ATypI Mechanistic Lineal family, Fira Code extended from Mozilla Fira Mono with ligature innovation. Its equal advance width for every glyph and exaggerated serifs or strokes to fill the fixed-pitch cell make it a strong fit for technical documentation with inline code.

Fira Code is available in a single weight, offering focused typographic consistency for both digital and print applications, with 3 font pairings curated. Fira Code also serves as a free alternative to premium typefaces, offering comparable typographic quality under open licensing.

Fira Code

Typography Judgment

Expert Analysis of Fira Code

TypeSmith evaluates every font across classification, accessibility, and design heritage. This analysis helps designers understand Fira Code's strengths and ideal use cases before committing to a typography decision.

1

Classification

Monospaced sans-serif classification. Fira Code exhibits coding ligatures, clear letterforms, distinct similar chars. Created by Nikita Prokopov in 2014. An extension of Fira Mono with programming ligatures for operators like => and !=. Notable adoption includes VS Code popular font choice.

2

Accessibility

Readability assessment (grade: 89). Fira Code maintains legibility across a range of sizes and rendering environments. Optimized for character-level scanning rather than word-shape recognition.

3

Design Heritage

Designed by Nikita Prokopov. The designer's attention to character shaping and weight distribution produces a Monospace with a single focused weight suited to both digital and print workflows.

Overview

About Fira Code

Fira Code is classified as a Monospaced sans-serif in the Vox-ATypI Mechanistic Lineal family, designed during the 2010s developer tooling era. Built with coding ligatures and clear letterforms, Fira Code serves as a standard typeface for technical documentation with inline code, with notable adoption in VS Code popular font choice. TypeSmith features Fira Code in a single weight variant and 3 curated font pairings. Fira Code also serves as a verified free alternative to premium typefaces.

Font Pairings Available
3 curated pairings for Fira Code
View Pairings

Categories

Browse by Classification

DisplayHandwritingMonospaceSans SerifSerif

Explore More

If You Like Fira Code, Try These

View all fonts

TypeSmith identifies 5 fonts with similar visual characteristics to Fira Code based on classification, x-height ratio, and stroke weight. These alternatives maintain the same typographic personality while offering different weight options and language support.

Aa
Fira Mono
Monospace
Aa
Fragment Mono
Monospace
Aa
Azeret Mono
Monospace
Aa
Sometype Mono
Monospace
Aa
Material Symbols Outlined
Monospace

Inclusive Design

Accessibility & Usability

89
Accessibility Score
Excellent Accessibility

Accessibility Features of Fira Code

Fira Code scores in the excellent accessibility tier, making it well-suited for body text, UI labels, and long-form reading across devices. Good monospace fonts clearly distinguish similar glyphs (0/O, 1/l/I). Ligatures should be optional, as they can impair character-by-character reading for screen readers.

Fira Code Legibility Characteristics

Fira Code draws legibility from its equal advance width for every glyph and exaggerated serifs or strokes to fill the fixed-pitch cell. These characteristics help readers distinguish similar glyphs such as I, l, and 1 at a range of sizes.

Fira Code's Readability

Optimized for character-level scanning rather than word-shape recognition. Readability depends on distinct glyph differentiation and consistent vertical alignment across all characters. Use at 16 px minimum for body text, and maintain 1.5 line-height to support comfortable reading rhythm.

Fira Code's Visual Fatigue and Adaptability

Fira Code provides a focused weight range that maintains consistent typographic color across paragraphs. Balanced stroke modulation keeps visual noise low during sustained reading sessions.

Fira Code Accessibility Recommendations

Maintain a minimum contrast ratio of 4.5:1 for body text and 3:1 for large text when setting Fira Code. Use font sizes of at least 16 px for paragraph copy and line spacing of 1.5 or greater. When Fira Code glyphs convey meaning, provide aria-label text for screen reader compatibility.

Design Tips for Fira Code

Pair with a humanist or geometric sans-serif for UI chrome around code blocks. Avoid combining two monospace faces on the same page. A focused set of pairings helps designers find compatible companions for Fira Code. Establish hierarchy through size, spacing, and color rather than multiplying font families. Serve Fira Code in WOFF2 format for optimal load performance and broad browser compatibility.

Get the Font

Download Weights & Variants

Available on Google Fonts
4 weights available for download
Download

Available Weights

400
Regular
400
Regular Italic
700
Bold
700
Bold Italic

Weight Reference

Aa
100
Aa
200
Aa
300
Aa
400
Aa
500
Aa
600
Aa
700
Aa
800
Aa
900

Internationalization

Fira Code Multilingual Support

Extended Latin Coverage
Supports 100+ languages with Latin script

Western European

  • English
  • French
  • German
  • Spanish
  • Italian
  • Portuguese
  • Dutch

Nordic

  • Swedish
  • Norwegian
  • Danish
  • Finnish
  • Icelandic

Central European

  • Polish
  • Czech
  • Hungarian
  • Romanian
  • Slovak

Baltic

  • Lithuanian
  • Latvian
  • Estonian

Fira Code is a monospaced font with programming ligatures designed to enhance the readability and aesthetics of source code. It supports a wide range of programming languages and coding environments, including but not limited to JavaScript, HTML, CSS, Java, Python, C++, C#, Ruby, PHP, Swift, and many others. Its broad language support makes it a popular choice among developers and coders for various software development tasks.

Legal

Font License Details

SIL Open Font License (OFL) 1.1
Free for personal and commercial use
View License

What you can do

  • Personal projects
  • Commercial projects
  • Web embedding
  • App embedding
  • Modification
  • Redistribution

Restrictions

  • Selling as standalone

Modified versions must use a different name and be distributed under the same OFL license.

Fira Code is available under the SIL Open Font License (OFL), Version 1.1. This license is a free, libre, and open source license specifically designed for fonts and related software. The OFL allows the fonts to be used, studied, modified, and redistributed freely as long as they are not sold by themselves. This makes Fira Code ideal for web projects, applications, documents, and print materials of any kind.