Source Code Pro

Monospace coding-mono by Paul D. Hunt #47 on Google Fonts
Weights
8 (200–900)
Styles
16
Italic
Yes
Variable font
Yes (wght)
Subsets
7
Added to Google Fonts

Source: Google Fonts · Family last modified

Weight

About Source Code Pro

Part of Adobe's Source type system, Source Code Pro was designed by Paul D. Hunt as a fixed-pitch complement to Source Sans — sharing its humanist proportions while adopting the even character widths required for code display. The variable weight axis spanning eight stops is a notable engineering achievement for a monospace typeface, and broad script support including Cyrillic, Greek, and Vietnamese makes it one of the most internationally capable coding fonts available. Its combination of legibility, neutrality, and typographic refinement has made it a popular choice for both code editors and terminal emulators.

Character Map

AaBbCcDdEeFfGgHhIiJjKkLlMm
NnOoPpQqRrSsTtUuVvWwXxYyZz
0123456789
!@#$%^&*()_+-=[]{}|;':",.<>?

Code Editor Preview

example.js
const fibonacci = (n) => {
  if (n <= 1) return n;
  return fibonacci(n - 1) + fibonacci(n - 2);
};

// Generate first 10 numbers
const results = Array.from(
  { length: 10 },
  (_, i) => fibonacci(i)
);

console.log(`Result: ${results.join(', ')}`);

Character Disambiguation

Can you tell these apart? A good monospace font makes similar characters easy to distinguish.

Zero vs O 0 O o
One vs l vs I 1 l I | !
Quotes ' ' " " ` ´
Braces ( ) [ ] { } < >
Punctuation . , : ; .. ...

Weight Waterfall (8)

200 ExtraLight
Source Code Pro
300 Light
Source Code Pro
400 Regular
Source Code Pro
500 Medium
Source Code Pro
600 SemiBold
Source Code Pro
700 Bold
Source Code Pro
800 ExtraBold
Source Code Pro
900 Black
Source Code Pro

How to Use

<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@200;300;500;600;700;800;900;400&display=swap" rel="stylesheet">
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@200;300;500;600;700;800;900;400&display=swap');
font-family: 'Source Code Pro', monospace;
brew install --cask font-source-code-pro
On this page

Details

Category
Monospace
Style
coding-mono
Weights
8
Italic
✓
Korean
✗
Designer
Paul D. Hunt
License
OFL
Popularity
#47
Downloads
1,347

License Usage

Web useAllowed
PrintAllowed
Video / BroadcastAllowed
PackagingAllowed
App embeddingAllowed
Brand / LogoAllowed
ModificationAllowed

OFL — Free for personal & commercial use

Language Support

cyrillic cyrillic-ext greek greek-ext latin latin-ext vietnamese

Best For

Code editors Technical docs Web apps UI elements Presentations

Typography Concepts

  • Monospace

    A typeface where every character occupies the same horizontal width. Essential for code editors and tabular data.

Articles About Source Code Pro

Frequently Asked Questions

Is the Source Code Pro font free for commercial use?

Yes — Source Code Pro is an open-source font, free to use in personal and commercial projects.

What type of typeface is Source Code Pro?

Source Code Pro is a Monospace typeface. It is offered as a variable font.