Free Creative Assets

Monospace · Google Fonts · #384 most popular

Fira Code font: free download & CSS embed

Fira Code is a free, open-source monospace typeface from Google Fonts with 5 styles (5 weights) and 7 character subsets. Free for commercial use under the SIL Open Font License or Apache 2.0.

Fira Code
Sphinx of black quartz, judge my vow. Pack my box with five dozen liquor jugs.

Click the text above to type your own preview.

Weights & styles

300

The quick brown fox jumps over the lazy dog 0123456789

400

The quick brown fox jumps over the lazy dog 0123456789

500

The quick brown fox jumps over the lazy dog 0123456789

600

The quick brown fox jumps over the lazy dog 0123456789

700

The quick brown fox jumps over the lazy dog 0123456789

Embed Fira Code with Google Fonts

<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;400;500;600;700&display=swap" rel="stylesheet">

<style>
  body { font-family: "Fira Code", monospace; }
</style>
stylesheet URL

Self-host Fira Code (faster, GDPR-friendly)

Download the ZIP above and serve the woff2 files from your own domain:

@font-face {
  font-family: "Fira Code";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/firacode/v27/uU9eCBsR6Z2vfE9aq3bL0fxyUs4tcw4W_D1sJVD7Ng.woff2") format("woff2");
}

About the Fira Code typeface

Fira Code is a monospace font family distributed through Google Fonts (version v27, last updated 2025-09-16). It supports the cyrillic, cyrillic-ext, greek, greek-ext, latin, latin-ext, symbols2 subsets, which makes it suitable for multilingual websites, apps and print. Available styles: 300, 400, 500, 600, 700.

When to use Fira Code

Monospace fonts keep every character the same width, which is why developers love them for code editors, terminals, documentation and technical dashboards. Many also work as a distinctive display face for tech brands.

License

Like all Google Fonts, Fira Code is open source. It can be used freely in commercial projects, websites, apps, logos and printed products, and it can be redistributed and self-hosted under the terms of its license (OFL 1.1 or Apache 2.0).

Frequently asked questions

Is Fira Code free for commercial use?

Yes. Fira Code is published on Google Fonts under an open-source license, so you can use it in commercial websites, apps, logos and print without paying royalties.

How do I download Fira Code?

Use the download button on this page to get a ZIP with woff2, woff and ttf files for Fira Code, or download the family from Google Fonts. Install the TTF files on Windows or macOS to use it in Figma, Photoshop or Word.

How do I add Fira Code to my website?

Copy the Google Fonts stylesheet link from this page into your HTML head, then set font-family: "Fira Code" in CSS. For best performance and privacy, self-host the woff2 files instead.

What weights does Fira Code have?

Fira Code ships with 5 styles: 300, 400, 500, 600, 700.

Looking for a motion designer?

Free Creative Assets is built by Serhii Dovhyi (Sergey Designer), a Top Rated Plus motion designer with 330+ delivered projects.

See portfolio ↗