EN

Fira Code

Fira Mono extended with programming ligatures that draw sequences such as -> and <= as single symbols.

Monospace 5 styles · variable by The Mozilla Foundation, Telefonica S.A., Nikita Prokopov OFL

Fira Code is a monospaced typeface that extends Fira Mono with ligatures for common multi-character programming sequences; Nikita Prokopov is credited with the extension. Fira Code is a variable font with five weights, Light 300 to Bold 700, and 1,846 glyphs. It is released under the SIL Open Font License 1.1 and suits code editors and terminals.

Fira Code font preview card
Preview drawn by trendhub from the font files.
Designers
The Mozilla Foundation, Telefonica S.A., Nikita Prokopov
Classification
Monospace
License
SIL Open Font License 1.1
Styles
5 5 weights
Variable font
Yes Weight 300–700
Glyphs
1,846
Languages checked
28 see the list
Last updated
version 5.002
Used for
CodeTech

Official source: Google Fonts. Facts on this page were read from the font files and the source’s published data.

Try Fira Code

Sample text

Type over the sample to test your own words. The preview loads a Latin subset of Fira Code; the download contains the complete files.

Fira Code font specimen: alphabet, numerals and weights
Fira Code specimen: alphabet, numerals and weights. Image drawn by trendhub from the font files.

Weights and styles

  • Light 300Fira Code Light
  • Regular 400Fira Code Regular
  • Medium 500Fira Code Medium
  • SemiBold 600Fira Code SemiBold
  • Bold 700Fira Code Bold

Fira Code is a variable font: the download holds the whole weight range in one file, and the named weights above are positions on that range.

About Fira Code

Fira Code is a monospaced typeface built on Fira Mono with an added set of programming ligatures. Sequences such as an arrow, a less-than-or-equal sign or an assignment operator are drawn as one joined symbol, and for frequent pairs like two dots or two slashes the ligatures correct the spacing. This is a rendering feature only: the underlying text stays ordinary ASCII characters. The specimen shows a zero with an interior mark, a serifed i, and an l and 1 that are easy to tell apart. Fira Code is a variable font with a weight axis from 300 to 700 and five named weights, Light to Bold; it has no italic. Its 1,846 glyphs cover Latin, Cyrillic, Greek and a symbols subset. The copyright belongs to The Fira Code Project Authors.

Where Fira Code works

Code editors
Ligatures turn multi-character operators into single symbols, so comparisons and arrows read as one token.
Terminals
A fixed width with distinct zero, l and 1 keeps command output and paths unambiguous.
Code in slides and tutorials
Bold 700 and SemiBold 600 stay readable when a snippet is projected.
Documentation with Cyrillic or Greek comments
Both scripts are included, so comments in Russian or Greek keep the same character width.
Configuration and log viewers
Five weights let a tool show levels or keys with a heavier weight without leaving the grid.

Glyphs

!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~¡¢

Latin and Latin Extended characters in the preview subset; the complete family has 1,846 glyphs.

Language support

The family contains the core letters these languages are written with:

  • English
  • French
  • German
  • Spanish
  • Portuguese
  • Italian
  • Dutch
  • Swedish
  • Norwegian
  • Danish
  • Finnish
  • Icelandic
  • Catalan
  • Turkish
  • Polish
  • Czech
  • Slovak
  • Hungarian
  • Romanian
  • Croatian
  • Slovenian
  • Lithuanian
  • Latvian
  • Estonian
  • Russian
  • Ukrainian
  • Bulgarian
  • Greek

Writing systems with glyphs in the family besides Latin: Cyrillic, Greek. These are listed as scripts, not as a promise for every language written in them.

Character sets found in the files: cyrillic, cyrillic-ext, greek, greek-ext, latin, latin-ext, symbols2. The language list is a check of required letters against the font, not a promise of typographic quality in each language.

License

SIL Open Font License 1.1Copyright 2014-2020 The Fira Code Project Authors (https://github.com/tonsky/FiraCode)

What the license allows

  • Use the fonts in personal and commercial work, in print, on the web and in apps.
  • Modify the fonts and build new versions from them.
  • Redistribute the fonts, on their own or bundled with software, as long as the license text and copyright notice go with them.

Conditions

  • The fonts cannot be sold by themselves.
  • A modified version must stay under the same license and cannot use a Reserved Font Name without the copyright holder's permission.
  • The authors' names cannot be used to promote a modified version without permission.

This is a short summary, not legal advice. The license text decides: read the full OFL text. A copy is included in the download.

Fonts that pair with Fira Code

Fira Sans Sans Serif

Fira Code extends Fira Mono, the monospaced variant of the Fira family, so it matches Fira Sans in documentation.

Suggestions come from simple rules on the records: a contrasting classification and enough weights to carry body text. They are a starting point, not a verdict.

Use Fira Code on the web

Download the family and host the files on your own site, then declare them in CSS. Please do not link to the files on trendhub.net: preview files here are subsets and their addresses change.

CSS, self-hosted
@font-face {
  font-family: "Fira Code";
  src: url("/assets/fonts/FiraCode-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Fira Code", monospace;
}

Or load it from the official source. Google Fonts serves Fira Code with this markup:

HTML, Google Fonts

Things to know

No italic
Fira Code has upright weights only; editors that italicise comments will slant it artificially.
Ligatures can be switched off
They are an OpenType feature, so an editor or CSS can disable them and show the plain characters.
The file content is unchanged
Ligatures alter only how text is drawn; copying code still gives the original characters.

FAQs

Is Fira Code free for commercial use?

Yes. Fira Code is published under the SIL Open Font License 1.1, which allows use in personal and commercial work, modification and redistribution. The font cannot be sold on its own, and modified versions stay under the same license.

Who designed Fira Code?

Fira Code is an extension of Fira Mono, credited to Nikita Prokopov together with The Mozilla Foundation and Telefonica S.A. The font's name table also lists Carrois Corporate and Edenspiekermann AG.

What are the ligatures in Fira Code?

Fira Code draws common multi-character programming sequences, such as arrows and comparison operators, as single joined symbols. The code itself is not changed and remains ASCII-compatible.

How many weights does Fira Code have?

Fira Code has five weights: Light 300, Regular 400, Medium 500, SemiBold 600 and Bold 700. There is no italic. Fira Code is supplied as one variable file whose weight axis runs from 300 to 700.

Which languages does Fira Code support?

Fira Code includes the letters needed for English and other Latin-script languages such as German, Polish and Turkish, as well as Russian, Ukrainian, Bulgarian and Greek.

Comments

No comments yet. If you have used Fira Code, tell other readers how it went.

Leave a comment

Comments are reviewed before they appear. Links are marked as user content.

Collections with Fira Code

  • Monospace fonts for coding

    Fixed-width open-license families for editors and terminals, with clear zeros, several weights and, in most cases, italics.

  • Fonts that support Turkish

    Open-license families that contain every letter of the Turkish alphabet, including dotted and dotless i, across text, display and script styles.

Similar fonts

Other families in the same classification, ordered by shared use tags. All monospace fonts