Fira Sans Sans Serif
Fira Code is built on Fira Mono, the fixed-width member of the Fira family, so code blocks sit naturally next to Fira Sans in docs.
A monospaced coding font built on Fira Mono, with ligatures that join arrows and operators into single symbols.
Fira Code is a free monospace font by The Mozilla Foundation and others. It has 5 styles and 1,846 glyphs and covers 28 languages, plus Cyrillic and Greek. It is a variable font with a weight axis. Fira Code is licensed under the SIL Open Font License 1.1, so it is free for personal and commercial use. The download is a zip with the original font file and the license text.
Fira Code
AaBbCc 0123
Official source: Google Fonts. Facts on this page were read from the font files and the source’s published data.
Type over the sample to test your own words. The preview loads a Latin subset of Fira Code; the download contains the complete files.
Monospace, 5 styles, OFLvafont.com
Fira Code
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789 & @ ? ! % ( ) { } “ ”
The quick brown fox jumps over the lazy dog, then packs five dozen liquor jugs into a box.
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.
Type the characters for an arrow, an assignment operator or less-than-or-equal in Fira Code and each sequence is drawn as one joined symbol. That is the point of this monospaced face: it takes Fira Mono and adds programming ligatures. Some of them simply adjust the gap inside frequent pairs such as a double dot or double slash. Nothing changes in the file you save, since the text underneath is still plain ASCII. The zero has a mark inside, the i has serifs, and l and 1 are clearly different.
Weight can be set anywhere from 300 to 700, and five instances are named, from Light up to Bold. No italic exists. Its 1,846 glyphs take in Latin, Greek and Cyrillic as well as a symbols set. The Fira Code Project Authors hold the copyright.
Latin and Latin Extended characters in the preview subset; the complete family has 1,846 glyphs. Select a glyph to see its code point.
The family contains the core letters these languages are written with:
Writing systems with glyphs in the family besides Latin: Cyrillic, Greek. 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.
SIL Open Font License 1.1Copyright 2014-2020 The Fira Code Project Authors (https://github.com/tonsky/FiraCode)
A short summary, not legal advice. The license text decides: read the full OFL text. A copy is included in the download.
Fira Code is built on Fira Mono, the fixed-width member of the Fira family, so code blocks sit naturally next to Fira Sans in docs.
Suggestions follow simple rules: a contrasting classification and enough weights to carry body text. Treat them as a starting point.
Download the family, put the files on your own server and declare them in CSS. Please do not link to files on vafont.com: the previews here are subsets and their addresses change.
@font-face {
font-family: "Fira Code";
src: url("/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:
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap" rel="stylesheet">Yes. Under the SIL Open Font License 1.1 it can be used in personal and commercial work, modified and redistributed. The font may not be sold on its own, and edited versions keep the same license.
It extends Fira Mono and is credited to Nikita Prokopov along with The Mozilla Foundation and Telefonica S.A. The name table also lists Carrois Corporate and Edenspiekermann AG, and the copyright belongs to The Fira Code Project Authors.
Frequent character sequences in code, such as arrows or a less-than-or-equal sign, are shown as one joined glyph, and spacing is corrected for pairs like two dots. The file still contains plain ASCII.
Five, from Light 300 through Regular, Medium and SemiBold to Bold 700, in one variable file with a weight axis from 300 to 700. There is no italic.
Its 1,846 glyphs include Latin, Cyrillic and Greek, so Turkish, Polish and German work as well as Bulgarian, Ukrainian, Russian and Greek.
Free monospace fonts close to Fira Code in use include Roboto Mono, Space Mono, IBM Plex Mono, Google Sans Code and Geist Mono. Each is listed on this page with the uses it shares.
Open-license fixed-width families for terminals and code editors, with clear zeros, several weights and, for most, italic styles.
Free-license families containing the whole Turkish alphabet, dotted and dotless i included, across text, display and script styles.
These free monospace families are the closest to Fira Code in the library by classification and shared uses. Use them as alternatives when you need a different weight range or a slightly different tone.
Other monospace families, ordered by shared uses. All monospace fonts