Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Google Fonts

by Google

Open-source font catalog with a Developer API for metadata, a CSS API and the Google Design MCP; includes pixel and retro game fonts such as Press Start 2P, Silkscreen, VT323, Pixelify Sans, Tiny5 and Jersey 10.

Fonts Library

GitHub repoWebsiteAPI docs
A bakery landing page set in Fraunces and Work Sans, a game screen in Press Start 2P, and Work Sans from weight 100 to 900 out of one file.
Made by AgentGid with font files from github.com/google/fonts (main branch, read 2026-11-09). Fraunces (Copyright The Fraunces Project Authors), Work Sans (Copyright 2019 The Work Sans Project Authors) and Press Start 2P (Copyright 2012 The Press Start 2P Project Authors, Reserved Font Name "Press Start 2P"), all under the SIL Open Font License 1.1, which allows any design use; the fonts are used unmodified with their OFL.txt kept.

2. Commercial use: openfontlicense.org/ofl-faq

“No additional license or permission is required”

Fonts under the Open Font License may be used in paid products; check the license file of each family.

openfontlicense.org/ofl-faq

License checked Nov 9, 2026 against 3 official pages. Tap a verdict to see its source. How we checked Report an error

Google Fonts: free fonts for sites and apps

Google Fonts is a large free catalog of fonts for websites, apps, print and video. You or your AI assistant add a font to a page with one link, or download the font files and serve them from your own site. Most fonts are under the SIL Open Font License, which allows paid projects with no extra permission.

Where you can use it

Headings and text on a website

Pick a font, add one link to the page head and name the font in your styles. Ask only for the weights you use so pages stay light.

Fonts served from your own site

Download the font files and their license once and serve them with your site, so visitors' browsers never contact Google.

Fonts in a Next.js app

In a Next.js site, import the font by name; it is downloaded at build time and served from your own domain.

Fonts inside a phone app or game

Ship a font inside your app, such as a pixel font for a retro game screen. Include the font's copyright line and license text with it.

Logos, posters and video titles

Use the fonts in design work such as a logo, a poster, business cards or titles in a video, with no extra permission.

A font picker in your own app

Let users choose a font in your editor or site builder from the full, current list of families, read from Google's font list service with a key.

As reported by Google: The text= option can make a font file up to 90% smaller in some cases.

Google Fonts popularity

41 / 100
Gid Score, same scale as developer tools
20,804
GitHub stars
Google Fonts: GitHub starsgoogle/fonts 20,804

How the Gid Score is calculated

How to start

Tell your AI assistant

“Self-host two Google Fonts for this site: download the family folders (font files and OFL.txt) from github.com/google/fonts, add @font-face rules with only the weights we use, set a fallback font, and do not link fonts.googleapis.com.”

Show codeStep 1 or Step 2

Pick a family and the weights you need, then add the stylesheet link to the page head.

<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;700&display=swap">

Mistakes to avoid

https://fonts.googleapis.com/css2?family=Crimson+Pro:wght,ital@700,1
https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@1,700

The css2 address is strict; axis names must be listed in alphabetical order.

Requesting every weight of a family "just in case"
Request only the weights you use, for example :wght@400;700, or one range for a variable font

Unused styles make visitors download more font data and slow the page.

A stylesheet link without a display setting
Add &display=swap to the address

The default auto may hide text while the font loads.

Calling the webfonts list with the API key from browser code
Call it from your server with the key read from an environment variable, or use the stylesheet link, which needs no key

The font list service needs a key with every request, and a key in page code is visible to everyone.

Subsetting a font with a Reserved Font Name and shipping it under the original name
Ship the font unchanged with its OFL.txt, or rename the changed version

Removing parts of a font counts as a change, and reserved names may not be used for changed versions.

License

SIL OFL 1.1 (most), Apache-2.0 (some), Ubuntu Font License 1.0. Most fonts are under the SIL Open Font License, so you can use them in paid sites, apps, logos and print. Some use Apache 2 or the Ubuntu Font License, so read each family's license file. You may not sell the fonts on their own.

Commercial use
Yes

“No additional license or permission is required” openfontlicense.org/ofl-faq

Credit
Not needed
Inside your app or game
Can ship inside your app

“all the fonts available here are licensed with permission to redistribute, subject to the license terms, you can self-host” github.com/google/fonts

Pass the files on to your users
With conditions

Font files may be passed on with their license, but an Open Font License font may not be sold by itself.

“Yes, as long some other font or software is also on the disk, so the OFL font is not sold by itself.” openfontlicense.org/ofl-faq

AI training
Not stated
Bots and bulk downloads
Allowed

“provides metadata for all families served by Google Fonts, allowing applications to query for available font families.” developers.google.com/fonts/docs/developer_api

AllowedWith conditionsNot allowedNot stated or not checked yet

Is Google Fonts 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 Google Fonts. Paste them into your prompt or AGENTS.md.

License rules
- Google Fonts (Fonts). Open-source font catalog with a Developer API for metadata, a CSS API and the Google Design MCP; includes pixel and retro game fonts such as Press Start 2P, Silkscreen, VT323, Pixelify Sans, Tiny5 and Jersey 10. Price: free; commercial use OK; no credit needed.
  Connect: official MCP server https://design.googleapis.com/mcp; API docs https://developers.google.com/fonts/docs/developer_api (API key needed). Limits: API key required; quota not stated.
  Get files: Developer API: GET https://www.googleapis.com/webfonts/v1/webfonts?key=YOUR-API-KEY returns a files map of TTF URLs on fonts.gstatic.com (add capability=WOFF2 for woff2). CSS API: https://fonts.googleapis.com/css?family=.. . Whole collection: https://github.com/google/fonts/archive/main.zip (needs no key) (ttf, woff2).
  Not allowed: Most fonts are SIL OFL 1.1, some Apache 2, the Ubuntu fonts use the Ubuntu Font License 1.0; each family folder has its own license file.
  Not allowed: OFL fonts cannot be sold by themselves, only bundled with software.
  Not allowed: Modified OFL fonts cannot use the Reserved Font Name.
  Rule: Keep the license file with font files you bundle in an app.
  Rule: Respect Reserved Font Names when you modify a font.
  License: https://github.com/google/fonts (checked 2026-11-09; details: https://agentgid.com/assets/google-fonts/)
Can an agent use it by itself?
Yes.

Agent calls a free official API or MCP.

How an agent gets files
Developer API: GET https://www.googleapis.com/webfonts/v1/webfonts?key=YOUR-API-KEY returns a files map of TTF URLs on fonts.gstatic.com (add capability=WOFF2 for woff2). CSS API: https://fonts.googleapis.com/css?family=... . Whole collection: https://github.com/google/fonts/archive/main.zip (needs no key).

Formats: ttf, woff2

Repository
API, key or account
API key needed. API docs
Limits
API key required; quota not stated.
MCP server
Official: https://design.googleapis.com/mcp
Credit line, if you want one
Fonts: <family name>, SIL Open Font License 1.1 (via Google Fonts)
This card for machines

Use it in your stack

Next.jsFile app/layout.tsx. Variable fonts recommended; non-variable fonts need weight, e.g. Roboto({ weight: '400', subsets: ['latin'] }).
import { Geist } from 'next/font/google'

const geist = Geist({
  subsets: ['latin'],
})

export default function RootLayout({
  children,
}: {
  children: React.ReactNode
}) {
  return (
    <html lang="en" className={geist.className}>
      <body>{children}</body>
    </html>
  )
}

From the official docs: nextjs.org/docs/app/getting-started/fonts

HTML/CSSReplace Font+Name / 'Font Name' with the family. First part is HTML in <head>, second is CSS.
<link rel="stylesheet"
  href="https://fonts.googleapis.com/css?family=Font+Name">

.css-selector {
  font-family: 'Font Name', serif;
}

From the official docs: developers.google.com/fonts/docs/getting_started

Alternatives

Google Fonts This page

Free Commercial OK MCP, API

IBM Plex

Pick IBM Plex for one matching family with Sans, Serif, Mono, Condensed and Math styles under the Open Font License.

Free Commercial OK npm

Fira Code

Pick Fira Code for a free code font with ligatures for common symbol pairs in programming.

Free Commercial OK npm

LXGW WenKai

Pick LXGW WenKai for an open-source Chinese font family covering Simplified, Traditional, Japanese and Korean text.

Free Commercial OK Download

Collletttivo

Italian open-source type foundry: 16 display and text typefaces (as reported) under the SIL Open Font License.

Free Commercial OK Download

Font Squirrel

Curated directory of free-for-commercial-use fonts with per-font license marks and a Webfont Generator.

Free With conditions Download

All fonts

Questions

Can I use Google Fonts in a paid product or a logo?

Yes for fonts under the Open Font License, which covers most of the catalog; no extra license or permission is needed for design work.

Do I need a key to put a font on my website?

No. You add a stylesheet link and name the font in your styles. A key is needed only for the font list service.

Can I host the font files myself?

Yes. The fonts are licensed with permission to pass them on, and each family folder holds its license file.

Can I sell a font from Google Fonts?

Not on its own. Fonts under the Open Font License may be sold only as part of a software bundle.

Can I use these fonts in video titles?

Yes. The Open Font License FAQ lists video titling among allowed design uses.

AgentGid articles about Google Fonts

All guides