INSPECTED ON SEPTEMBER 20, 2026

What font does GitHub use?

GitHub released Mona Sans and its companion Hubot Sans as open source fonts in 2022. They are variable fonts, and the home page uses that freedom with unusual in-between weights.

Short answer: GitHub’s home page uses Mona Sans, GitHub’s own open source variable typeface, with Mona Sans Mono for code-like details. Parts of the interface still use the system font stack.

FONTS ON GITHUB.COMShare of visible text · 1440px wide viewport

Mona Sans

Self-hosted78.9%
CSS name
Mona Sans
Weights
400, 425, 460, 480, 500
Sizes
64px · 40px · 22px · 18px · 16px · 14px
Served from
github.githubassets.com

System font stack

System font17.9%
CSS name
-apple-system
Weights
400, 600
Sizes
24px · 14px

Mona Sans Mono

Self-hosted3.1%
CSS name
Mona Sans Mono
Weights
400, 480, 500
Sizes
16px · 14px · 12px · 11px
Served from
github.githubassets.com

Sizes, weights and spacing by role

These are computed values from the live page, which is what the Font Inspector panel shows when you click each element.

RoleFontSizeWeightLine heightLetter spacing
HeadlineMona Sans64px4251.08-0.035em
SubheadingMona Sans22px6001.4normal
NavigationMona Sans16px5001.50.015em
Small textSystem font stack14px4001.5normal
Measured at a 1440px wide window on September 20, 2026. Responsive sites use other sizes on smaller screens.

The main font stack in the CSS:

font-family: "Mona Sans", MonaSansFallback, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  • Weights such as 425, 460 and 480 only exist in a variable font. GitHub tunes weight per size instead of jumping between Regular and Medium.
  • MonaSansFallback is a generated fallback face with adjusted metrics, which keeps the layout stable while the web font loads.
  • The big headline is tightened to about -0.035em, while small navigation text is opened up slightly.

Check any site yourself in one click.

Sites change their type without notice. Font Inspector shows the rendered font, size, weight and spacing of any text on github.com or anywhere else, and lists every font on the page. Free, no account.

Add to Chrome

About the fonts, and whether you can use them

Mona Sans

A strong, versatile grotesque made for GitHub together with Degarism Studio. The file on the page is a variable font with width, weight and optical size axes.

Can you use it? Yes. Mona Sans is free under the SIL Open Font License. It is on Google Fonts, and the full variable files are in GitHub’s mona-sans repository.

On Google Fonts: Mona Sans, Inter.

System font stack

Some components still use GitHub’s classic system stack, so they render in San Francisco on Apple devices, Segoe UI on Windows and so on.

Can you use it? System fonts cost nothing to use this way: you name them in your CSS and each device supplies its own.

Free alternatives to System font stack

Mona Sans Mono

The monospaced member of the Mona Sans family, used for labels and code-flavored details.

Can you use it? Part of the same open source family. JetBrains Mono and IBM Plex Mono are good free alternatives if you want something more widely used.

On Google Fonts: JetBrains Mono, IBM Plex Mono.

Finding a font does not license it. More in how to get a font you found, legally.

Get a similar look with a free font

This starter uses Inter, which is open source, with the sizes and spacing measured above. It is an approximation, not a copy of GitHub’s brand typeface.

/* Approximates the GitHub look with a free font */
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
h1 {
  font-size: 4rem; /* 64px */
  font-weight: 425;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
Try the pairing in the font pairing playground, or build the rest of the scale with the type scale calculator.

How we checked

We opened github.com in Chrome on September 20, 2026 and read the computed styles of its visible text: the declared font stack, the font actually rendered, and how much of the page’s text each family sets. That is the same data the Font Inspector extension shows under Fonts on this page. We re-check these pages periodically, and the date above shows the last inspection.

GitHub and its typefaces are trademarks of their respective owners. Font Inspector is not affiliated with GitHub.

Questions & answers

What font does GitHub use on its website?

GitHub’s home page uses Mona Sans, GitHub’s own open source variable typeface, with Mona Sans Mono for code-like details. Parts of the interface still use the system font stack.

Can I use the GitHub font?

Yes. Mona Sans is free under the SIL Open Font License. It is on Google Fonts, and the full variable files are in GitHub’s mona-sans repository.

What is a free font similar to Mona Sans?

Inter is free on Google Fonts and gives a similar feel. No free font is an exact match, so compare it with your own text first.

How can I check what font GitHub uses myself?

Open github.com, then click any text with the Font Inspector extension, or right-click, choose Inspect and look at Rendered Fonts in the Computed tab. Sites change their typography, so checking the live page is the only way to be sure.