Skip to content

google-webfonts-helper

Self-hosted tool to download Google Fonts as web font files with ready-made CSS

Permissive (OSI) · MIT
  • Self-hosted

Listed by , founder & editor

52

Health

Slowing

Overview

Stars

13,088

Last commit

2 months ago

Oct 2026

Repository age

11 years

since Dec 2014

Latest version

v1.7.2

Oct 2026

Contributors

–

1 active in 90 days

Releases

1

last 12 months

Language

TypeScript

google-webfonts-helper lets you pick a Google font and get the files and CSS needed to serve it from your own server. You choose the styles and character sets, then download a zip with the font files. It offers .eot, .woff, .woff2, .svg and .ttf formats, plus CSS snippets to paste into your site.

The project is a TypeScript Express app. A public instance is available, and you can run your own from the prebuilt Docker image on GitHub Packages. The container needs a Google Fonts API key, which you create yourself. The final image is minimal and runs rootless.

It also has a public JSON API. One endpoint lists all fonts sorted by popularity, and another returns details for a font, with options to filter by subset, format and variant or to return a zip. Rate limits may apply on the public instance. It suits anyone who wants to stop loading fonts from Google's servers. The code is MIT licensed and has existed since 2014.

Who it's for

Web developers self-hosting fonts for privacy or speed

It outputs the files and CSS in one step, with subset and style selection.

Skip if: You already bundle fonts through a build tool or npm packages.

Teams running internal tooling

You can host the Docker image yourself and call the JSON API from scripts.

Skip if: You do not want to obtain and manage a Google Fonts API key.

The problem it solves

Loading fonts from Google's servers sends visitors' requests to a third party. This tool packages the files and CSS so you can serve them yourself.

Strengths

  • Exports eot, ttf, svg, woff and woff2 formats
  • Generates CSS snippets for the chosen styles and subsets
  • Public JSON API with zip download option
  • Prebuilt Docker image that runs rootless
  • MIT license

Trade-offs

  • Self-hosting needs your own Google Fonts API key
  • Maintenance is slowing, with one release in the last year
  • Public instance may apply rate limits
  • Relies on some deprecated dependencies

Self-host google-webfonts-helper

Self-hostable
Yes
Docker Compose
The repository ships a Compose file
Hosted plan
From $4/month · pricing

Quick start

docker run -e GOOGLE_FONTS_API_KEY=<YOUR-API-KEY> -p 8080:8080 ghcr.io/majodev/google-webfonts-helper:<TAG>

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is it free?

Yes. The code is MIT licensed and a public instance is available.

Can I self-host it?

Yes. Run the prebuilt Docker image and set your Google Fonts API key.

Which font formats can I download?

EOT, WOFF, WOFF2, SVG and TTF, delivered as a zip.

Does it have an API?

Yes. A JSON API lists fonts and returns details or zip downloads per font.

Similar tools in Icons, fonts and design assets

Openinary

Icons, fonts and design assets

Self-hosted image and video transformation server with S3 storage and a URL-based API

432 62 3 days ago Thriving AGPL-3.0

SGDBoop

Icons, fonts and design assets

Desktop helper that applies SteamGridDB artwork to your Steam library in one click

528 27 2 months ago Active Zlib

Fontmatrix

Icons, fonts and design assets

Desktop font manager for designers who need to enable, tag and compare large font

251 34 19 days ago Slowing GPL-2.0

MaterialOS

Icons, fonts and design assets

187 35 7 years ago Dormant Unknown

Font Downloader

Icons, fonts and design assets

GTK app for Linux desktops that finds and installs Google Fonts in a few clicks

176 24 4 years ago Dormant GPL-3.0