2. Commercial use: github.com/fontsource/fontsource
“Always make sure to read the license for each font you use.”github.com/fontsource/fontsource
3. Credit the author
4. Agent access: fontsource.org
An agent can install it by itself with npm install @fontsource/<font>. No key or account is needed.
fontsource.orgLicense checked Oct 10, 2026 against 2 official pages. Tap a verdict to see its source. How we checked Report an error
License
Per font.
“Always make sure to read the license for each font you use.” github.com/fontsource/fontsource
“You can find their specific licenses on each package `README.md`.” github.com/fontsource/fontsource
“can be accessed by any HTTP client” fontsource.org/docs/api/introduction
- Follow each font's own license (OFL, Apache and others).
AllowedWith conditionsNot allowedNot stated or not checked yet
Is Fontsource free for commercial use? The full answer Not legal advice. Check the license page before you ship.
For your agent
License rules tell your agent what it may do with Fontsource. Paste them into your prompt or AGENTS.md.
- Fontsource (Fonts). Open-source fonts packaged as individual npm packages for self-hosting. Price: free; commercial use with conditions; credit depends on the item; ship inside your app with conditions.
Connect: npm @fontsource/<font>.
Get files: npm install @fontsource/<font> (static) or @fontsource-variable/<font>, then import the CSS. CDN: https://cdn.jsdelivr.net/fontsource/fonts/{id}@{version}/{subset}-{weight}-{style}.{extension}. Metadata API: api.fontsource.org/v1/fonts (woff2).
Not allowed: Most fonts are SIL OFL 1.1, some Apache 2, the Ubuntu fonts use the Ubuntu Font License 1.0.
Not allowed: API hard limit is 2500 requests per 10 seconds; constant use at that rate can bring a temporary ban.
Rule: Follow each font's own license (OFL, Apache and others).
Agent installs a package or loads it from a CDN.
npm install @fontsource/<font>Formats: woff2
Use it in your stack
ReactImport once in the entry file (needs a bundler that handles CSS imports). Static alternative: npm install @fontsource/open-sans, then import "@fontsource/open-sans"; or per weight import "@fontsource/open-sans/300.css". Swap open-sans for any font id.
npm install @fontsource-variable/open-sans
import "@fontsource-variable/open-sans";
From the official docs: fontsource.org/docs/getting-started/install
HTML/CSSReference the family name in CSS after importing the package.
body {
font-family: "Open Sans", sans-serif;
}
From the official docs: fontsource.org/docs/getting-started/install
Alternatives
Fontsource This page
Developer fonts patched with over 10,000 icon glyphs, plus a FontForge script for patching your own fonts.
Open-source typeface family (Sans, Serif, Mono, Condensed, Math) with multi-script support, released under the SIL Open Font License.
Free monospaced programming font with ligatures for common multi-character code sequences, released under the SIL OFL 1.1.
Open-source monospace coding font with ligatures, Nerd-Font icons and a CN variant, released under the SIL OFL 1.1.
A coding font with programming ligatures, shipped as variable, static TTF, OTF and WOFF2 files, plus Mono, Powerline and Nerd Font variants.