Source Code Pro

Replaces: Consolas (85%) | OFL-1.1 | Updated: Feb 2026

About Source Code Pro

Classification
mono
Weights
Variable (100-900)
Features
Variable, Italics
SIL Open Font License 1.1

Free to use, modify, and distribute. Can be used commercially without attribution.

What's allowed?
  • Client work
  • SaaS / Web apps
  • YouTube / Video
  • Sell products
  • Print materials

Note: Derivative fonts must use the same license.

Full license guide →
Get Source Code Pro Free ↗

Source Code Pro is a monospace font designed by Paul D. Hunt for Adobe, released in 2012 as the monospace member of the Source type family. It provides a professional, neutral coding font with excellent language support and true italic forms.

History and Design

Adobe commissioned Source Code Pro as part of their open-source Source font family, which also includes Source Sans Pro and Source Serif Pro. Paul D. Hunt designed it to complement these families while meeting the specific needs of coding environments. The font balances neutrality with subtle humanist touches.

Why Source Code Pro is Trusted

Source Code Pro has become a standard choice in professional environments:

  • Adobe quality: Crafted by a major type foundry
  • True italics: Genuine italic design, not sloped roman
  • Family harmony: Pairs perfectly with Source Sans/Serif Pro
  • Comprehensive support: Extensive language and weight coverage
  • Variable font: Modern implementation with weight axis

Technical Features

  • Weight range: 200-900 (Variable font with full range)
  • True italics: Each weight has a companion italic
  • Character set: Extended Latin, Cyrillic, Greek, Vietnamese
  • OpenType features: Stylistic alternates, tabular figures
  • Professional origin: Adobe foundry quality assurance

Best Use Cases

Source Code Pro excels in:

  • Enterprise development: Professional, trusted appearance
  • Documentation: Pairs beautifully with Source Sans Pro
  • Multi-language projects: Extensive character support
  • Adobe ecosystem: Native integration in Creative Cloud

Usage Tips

Use weight 400 for body code, 600 for emphasis. Enable italics for comments to leverage the true italic design. For a cohesive design system, pair with Source Sans Pro for UI and Source Serif Pro for long-form content. Available through Adobe Fonts for Creative Cloud subscribers or Google Fonts for everyone else.

Is Source Code Pro on Google Fonts?

Yes, Source Code Pro is available for free on Google Fonts. Get Source Code Pro on Google Fonts ↗

Alternative For (8)

Source Code Pro is a free alternative to the following premium fonts:

[Shannon Miwa] · mono

Clean monospace alternative

View all alternatives
[Eigil Nikolajsen] · mono

Comparable clean coding font

View all alternatives
#3 Consolas 85%
[Microsoft] · mono

Adobe's excellent monospace with comparable readability

View all alternatives
[Intel] · mono

Comparable clean mono

View all alternatives
#5 Menlo 85%
[Apple] · mono

Comparable code font with similar proportions

View all alternatives
#6 Monaco 82%
[Apple] · mono

Adobe's monospace with comparable neutrality

View all alternatives
#7 SF Mono 82%
[Apple] · mono

Adobe's clean monospace with similar neutral character

View all alternatives
[Google] · mono

Adobe's clean monospace with true italics

View all alternatives

Compare Source Code Pro

See how Source Code Pro compares to other fonts side by side.

Variable Font Axes

Source Code Pro is a variable font with 1 axis you can fine-tune.

Axis Min Default Max
wght 200 400 900

Font Pairings

Fonts that pair well with Source Code Pro based on contrast and complementary design characteristics.

Barlow + Source Code Pro
92/100
sans-serif + mono
Healthcare Enterprise Accessibility
Libre Franklin + Source Code Pro
92/100
sans-serif + mono
Enterprise Finance Healthcare
Montserrat + Source Code Pro
92/100
sans-serif + mono
Enterprise Finance Healthcare
Noto Sans + Source Code Pro
92/100
sans-serif + mono
Enterprise Accessibility Aviation
Nunito Sans + Source Code Pro
92/100
sans-serif + mono
Healthcare Enterprise Accessibility

Performance

Key metrics for evaluating Source Code Pro in production.

Score
62 /100 Good
File Size
235.0 KB Medium
Weights
9 (variable) + Italics
Languages
6 groups CDN delivery

Font Metrics

x-Height Ratio
0.486
Cap Height Ratio
0.66
Ascender
984
Descender
-273

Fallback CSS Overrides

Apply these overrides to Courier New to minimize layout shift when loading Source Code Pro.

@font-face {
  font-family: 'Source Code Pro Fallback';
  src: local('Courier New');
  ascent-override: 98.4%;
  descent-override: 27.3%;
  line-gap-override: 0%;
  size-adjust: 97.2%;
}
woff2 Measured via Google Fonts API Metrics extracted from WOFF2

How to Use Source Code Pro

Copy these code snippets to quickly add Source Code Pro to your project.

Quick Start

CSS code for Source Code Pro

@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@100..900&display=swap');