Monospace · Google Fonts · #130 most popular
Source Code Pro font: free download & CSS embed
Source Code Pro is a free, open-source monospace typeface from Google Fonts with 16 styles (8 weights, italics) and 7 character subsets. Free for commercial use under the SIL Open Font License or Apache 2.0.
Click the text above to type your own preview.
Weights & styles
The quick brown fox jumps over the lazy dog 0123456789
The quick brown fox jumps over the lazy dog 0123456789
The quick brown fox jumps over the lazy dog 0123456789
The quick brown fox jumps over the lazy dog 0123456789
The quick brown fox jumps over the lazy dog 0123456789
The quick brown fox jumps over the lazy dog 0123456789
The quick brown fox jumps over the lazy dog 0123456789
The quick brown fox jumps over the lazy dog 0123456789
The quick brown fox jumps over the lazy dog 0123456789
Embed Source Code Pro 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=Source+Code+Pro:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<style>
body { font-family: "Source Code Pro", monospace; }
</style> stylesheet URLSelf-host Source Code Pro (faster, GDPR-friendly)
Download the ZIP above and serve the woff2 files from your own domain:
@font-face {
font-family: "Source Code Pro";
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("https://fonts.gstatic.com/s/sourcecodepro/v31/HI_diYsKILxRpg3hIP6sJ7fM7PqPMcMnZFqUwX28DMyQtMlrTA.woff2") format("woff2");
}Fonts that pair well with Source Code Pro
About the Source Code Pro typeface
Source Code Pro is a monospace font family distributed through Google Fonts (version v31, last updated 2025-09-08). It supports the cyrillic, cyrillic-ext, greek, greek-ext, latin, latin-ext, vietnamese subsets, which makes it suitable for multilingual websites, apps and print. Available styles: 200, 300, 400, 500, 600, 700, 800, 900, 200 italic, 300 italic, 400 italic, 500 italic, 600 italic, 700 italic, 800 italic, 900 italic.
When to use Source Code Pro
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, Source Code Pro 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 Source Code Pro free for commercial use?
Yes. Source Code Pro 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 Source Code Pro?
Use the download button on this page to get a ZIP with woff2, woff and ttf files for Source Code Pro, 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 Source Code Pro to my website?
Copy the Google Fonts stylesheet link from this page into your HTML head, then set font-family: "Source Code Pro" in CSS. For best performance and privacy, self-host the woff2 files instead.
What weights does Source Code Pro have?
Source Code Pro ships with 16 styles: 200, 300, 400, 500, 600, 700, 800, 900, 200 italic, 300 italic, 400 italic, 500 italic, 600 italic, 700 italic, 800 italic, 900 italic.
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.