Fira Code
Fira Code
The quick brown fox jumps over the lazy dog
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789 & ? ! @ # % ( )
The download comes from the Fontsource open-source font project and includes every style with its licence file.
Test Fira Code
The quick brown fox jumps over the lazy dog
About Fira Code
Fira Code is a monospace typeface by The Mozilla Foundation, Telefonica S.A. and Nikita Prokopov, a variable font with weights from 300 to 700. It is currently number 219 among the most used families on Google Fonts. It was added to Google Fonts on 24 March 2019.
| Category | Monospace |
|---|---|
| Designers | The Mozilla Foundation, Telefonica S.A. and Nikita Prokopov |
| Weights | Any weight from 300 to 700 (variable) |
| Italics | No |
| Character sets | Cyrillic, Cyrillic Extended, Greek, Greek Extended, Latin, Latin Extended, Symbols |
| Last updated | 16 September 2025 |
| Licence | SIL Open Font License 1.1 |
Can I use Fira Code commercially?
Yes. Fira Code is published under the SIL Open Font License 1.1. Free for personal and commercial use.
You can
- Use it in any project, paid or unpaid: logos, products, packaging, books, apps, websites and video.
- Embed it in documents, apps and web pages.
- Modify it or build a new font from it.
- Share it with other people.
You must
- Not sell the font files on their own.
- Keep the copyright notice and licence with the font when you pass it on.
- Release any modified version under the same licence, and give it a different name if the original name is reserved.
This is a summary, not legal advice. The licence text included in the download is what applies. See how font licensing works on this site.
Use Fira Code on a website
From Google Fonts
Add these lines inside the head of your page:
<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@400;700&display=swap" rel="stylesheet"> Self-hosted with npm
Install the package, then import it once in your JavaScript or CSS entry file:
npm install @fontsource-variable/fira-code
import "@fontsource-variable/fira-code"; Then set it in CSS
body {
font-family: "Fira Code", ui-monospace, Menlo, Consolas, monospace;
} If you installed the variable npm package, the family name to use is Fira Code Variable.
To install it on your computer instead, download the family above and follow the guide to installing fonts on Windows or on a Mac.
Writing systems
Besides Latin, Fira Code includes:
Fonts similar to Fira Code
Other free monospace families with a comparable style and range of weights.
Fonts that pair with Fira Code
Suggestions chosen for contrast: a different kind of typeface that can take the other role on the page.