Source Sans 3 Sans Serif
Source Sans is the face this monospace was adapted from. Set prose in it and code in Source Code Pro, and the page reads as a single system.
Fixed-width offshoot of Source Sans for coding, with a dotted zero, slab-footed i and j, and full italics
Source Code Pro is a free monospace font by Paul D. Hunt. It has 16 styles and 1,556 glyphs and covers 29 languages, plus Cyrillic and Greek. It is a variable font with a weight axis. Source Code Pro is licensed under the SIL Open Font License 1.1, so it is free for personal and commercial use. The download is a zip with 2 original font files and the license text.
Source Code Pro
AaBbCc 0123
Official source: Google Fonts. Facts on this page were read from the font files and the source’s published data.
Type over the sample to test your own words. The preview loads a Latin subset of Source Code Pro; the download contains the complete files.
Monospace, 16 styles, OFLvafont.com
Source Code Pro
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789 & @ ? ! % ( ) { } “ ”
The quick brown fox jumps over the lazy dog, then packs five dozen liquor jugs into a box.
Source Code Pro is a variable font: the download holds the whole weight range in one file per style, and the named weights above are positions on that range.
Someone asked for a version of Source Sans for coding applications, and Source Code Pro is the answer. It keeps the sans’s vertical proportions and general forms but gives each glyph an identical width in every weight. Characters that are easy to confuse in code are separated: the zero has a centred dot, the l turns at its foot, and i and j carry slab-like serifs.
The variable font runs a weight axis from 200 to 900, with eight named weights from ExtraLight to Black, each with an italic. There are 1,556 glyphs; Greek, Cyrillic, Vietnamese and the italics arrived with the 2019 update, according to the official notes. Paul D. Hunt designed the family, Teo Tuominen is also credited in the name table, and Adobe releases it under the SIL Open Font License 1.1.
Latin and Latin Extended characters in the preview subset; the complete family has 1,556 glyphs. Select a glyph to see its code point.
The family contains the core letters these languages are written with:
Writing systems with glyphs in the family besides Latin: Cyrillic, Greek. Listed as scripts, not as a promise for every language written in them.
Character sets found in the files: cyrillic, cyrillic-ext, greek, latin, latin-ext, vietnamese. The language list is a check of required letters against the font, not a promise of typographic quality in each language.
SIL Open Font License 1.1Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.
A short summary, not legal advice. The license text decides: read the full OFL text. A copy is included in the download.
Source Sans is the face this monospace was adapted from. Set prose in it and code in Source Code Pro, and the page reads as a single system.
Suggestions follow simple rules: a contrasting classification and enough weights to carry body text. Treat them as a starting point.
Download the family, put the files on your own server and declare them in CSS. Please do not link to files on vafont.com: the previews here are subsets and their addresses change.
@font-face {
font-family: "Source Code Pro";
src: url("/fonts/SourceCodePro-Italic-VariableFont_wght.ttf") format("truetype");
font-weight: 200 900;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Source Code Pro";
src: url("/fonts/SourceCodePro-VariableFont_wght.ttf") format("truetype");
font-weight: 200 900;
font-style: normal;
font-display: swap;
}
body {
font-family: "Source Code Pro", monospace;
}Or load it from the official source. Google Fonts serves Source Code Pro with this markup:
<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..900;1,200..900&display=swap" rel="stylesheet">Yes, at no cost, under the SIL Open Font License 1.1. You may modify and redistribute it too. The font files cannot be sold alone, and derivatives keep the license and may not use the reserved name Source.
Paul D. Hunt designed it and Adobe publishes it. Teo Tuominen is also credited in the name table.
Sixteen. There are eight weights between ExtraLight 200 and Black 900, and every one has an italic.
Yes. It is variable in weight from 200 to 900, with roman and italic shipped as two separate files.
Latin-script languages such as English, German, Polish, Turkish and Vietnamese, plus Russian, Ukrainian and Bulgarian in Cyrillic, and Greek. Greek, Cyrillic and Vietnamese arrived with the 2019 update.
Source Sans 3, since the monospace was built as a companion to Source Sans and shares its proportions.
Free monospace fonts close to Source Code Pro in use include Geist Mono, Roboto Mono, IBM Plex Mono, Fira Mono and DM Mono. Each is listed on this page with the uses it shares.
Open-license fixed-width families for terminals and code editors, with clear zeros, several weights and, for most, italic styles.
Families made to work as a set, pairing a sans with a serif or slab and frequently a monospace, all sharing proportions, weights and tone.
These free monospace families are the closest to Source Code Pro in the library by classification and shared uses. Use them as alternatives when you need a different weight range or a slightly different tone.
Other monospace families, ordered by shared uses. All monospace fonts