Skip to content
Simple But How

Source Code Pro

Source Code Pro

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 Source Code Pro

The quick brown fox jumps over the lazy dog

About Source Code Pro

Source Code Pro is a monospace typeface by Paul D. Hunt, a variable font with weights from 200 to 900. It is currently number 55 among the most used families on Google Fonts. It was added to Google Fonts on 20 September 2012.

CategoryMonospace
DesignerPaul D. Hunt
Weights Any weight from 200 to 900 (variable)
ItalicsYes
Character setsCyrillic, Cyrillic Extended, Greek, Greek Extended, Latin, Latin Extended, Vietnamese
Last updated1 October 2026
LicenceSIL Open Font License 1.1

Can I use Source Code Pro commercially?

Yes. Source Code Pro is published under the SIL Open Font License 1.1. Free for personal and commercial use.

You can

You must

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 Source Code Pro 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=Source+Code+Pro: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/source-code-pro

import "@fontsource-variable/source-code-pro";

Then set it in CSS

body {
  font-family: "Source Code Pro", ui-monospace, Menlo, Consolas, monospace;
}

If you installed the variable npm package, the family name to use is Source Code Pro 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.

Recommended as an alternative to

Writing systems

Besides Latin, Source Code Pro includes:

Fonts similar to Source Code Pro

Other free monospace families with a comparable style and range of weights.

Fonts that pair with Source Code Pro

Suggestions chosen for contrast: a different kind of typeface that can take the other role on the page.