Fontsource logo

Fontsource

Self-host open-source fonts with simple npm packages.

✓ No sign-upCommercial use OKSIL OFL and other open licensesFonts
Open Fontsource fontsource.org

What is Fontsource?

Fontsource packages more than 1,500 open-source fonts, including the whole Google Fonts library, as npm packages. You install a font like any other dependency and bundle it with your site, so no external font requests are made.

The website lets you preview every font, see its weights and styles, and copy the install and CSS import code. Variable fonts are supported where available.

License and usage

Yes. Fontsource is released under the SIL OFL and other open licenses license, which allows commercial use without attribution.

Check the license. Licenses can change, and some items inside a library have their own terms. Always confirm the license on the original website before using a resource in your project.

What you get

  • 1,500+ fonts as npm packages
  • Variable font support
  • Preview and copy install code
  • Works with any bundler or framework

Pros

  • Self-hosting is fast and private
  • Versioned fonts you control
  • Great developer experience

Cons

  • Aimed at developers using npm
  • No desktop installer for designers

Best for

React, Vue, Svelte and Astro projectsAvoiding third-party font requestsOffline-ready apps

Fontsource FAQ

Is Fontsource free?

Fontsource is free and open source. Each font keeps its own open license, which is shown on the font's page.

Can I use Fontsource for commercial projects?

Yes. Fontsource is released under the SIL OFL and other open licenses license, which allows commercial use without attribution.

Do I need an account to download from Fontsource?

No. You can browse fontsource.org and download without signing up.

What are some alternatives to Fontsource?

Other free options include Google Fonts, Fontshare, Bunny Fonts, Velvetyne and Collletttivo.

Similar to Fontsource

More free resources you can download without an account.

Browse free resources