Back to services

google-webfonts-helper

Hassle-Free Way to Self-Host Google Fonts. Get eot, ttf, svg, woff and woff2 files + CSS snippets.

View alternatives to google-webfonts-helper
Suggest edit
Open source
Self-hostable
MIT
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: When this entry was written, fetching the official site (the GitHub repository) failed, so the content below is compiled from existing knowledge of the project. Details may have changed, so please refer to the repository's latest documentation.

Introduction

google-webfonts-helper was developed by majodev (Mario Ranftl) with the goal of making it "easy to self-host Google Fonts." When you reference the Google Fonts CDN directly, visitors' browsers have to send requests to Google's servers. This adds an external dependency and can also raise privacy compliance issues, such as the disputes under the EU's GDPR. With this tool, developers pick their fonts, download the required font files once, and get the matching CSS code, after which they can deploy the fonts on their own servers.

Key Features

  • Browse and search fonts: Lists the font families available in Google Fonts.
  • Select character subsets: Choose subsets such as latin, latin-ext, or cyrillic as needed to reduce file size.
  • Select weights and styles: Download only the weights and italic variants you need.
  • Generate CSS: Automatically generates @font-face declarations, with a customizable path prefix for where the font files are stored.
  • Bundled download: Downloads the selected font files packaged as a ZIP archive.
  • API: Provides an HTTP API for retrieving the font list, font details, and download packages, which makes it suitable for integration into build scripts.

Target Users and Use Cases

  • Website developers who want to remove external Google Fonts requests and improve privacy compliance.
  • Front-end projects that need to run in offline environments or be deployed on an internal network.
  • Teams that want to manage static assets in one place and reduce third-party dependencies.

Core Strengths

  • Visitors no longer send font requests to Google's servers, which gives better privacy protection.
  • Fonts are hosted on the same origin as the website, so you can control the caching strategy yourself and don't depend on a third-party CDN being available.
  • Simple to use: pick your fonts, then copy the CSS and download the files right away.

Deployment

  • A public online instance is available; just open it and use it, with no installation required.
  • The project is open source and can be self-hosted. It is built on Node.js, and the repository includes Docker support. For the specific image address and startup parameters, please refer to the repository README.

Things to Note

  • The font data comes from Google Fonts. When using the fonts, you must comply with each font's own license, most of which are OFL or Apache licenses.
  • After self-hosting, you need to keep up with font updates manually.