Title: Self-Hosted Google Fonts
Author: asadkn
Published: <strong>މެއި 26, 2018</strong>
Last modified: ޖޫން 15, 2018

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/selfhost-google-fonts.svg)

# Self-Hosted Google Fonts

 By [asadkn](https://profiles.wordpress.org/asadkn/)

[Download](https://downloads.wordpress.org/plugin/selfhost-google-fonts.zip)

 * [Details](https://dv.wordpress.org/plugins/selfhost-google-fonts/#description)
 * [Reviews](https://dv.wordpress.org/plugins/selfhost-google-fonts/#reviews)
 *  [Installation](https://dv.wordpress.org/plugins/selfhost-google-fonts/#installation)
 * [Development](https://dv.wordpress.org/plugins/selfhost-google-fonts/#developers)

 [Support](https://wordpress.org/support/plugin/selfhost-google-fonts/)

## Description

An easy way to self-host all your Google Fonts for increased Privacy or to meet 
a law requirement.
 Theme and plugin authors are often unwilling to offer a self-
hosted method and it’s quite laborious to download and upload each of the required
font.

This plugin makes it all easy. It will scan all CSS on your site and automagically
download and host on your server the necessary Google Web Fonts.

**How it works:**

 * Converts all Google Font enqueues to locally hosted CSS files.
 * Scans and converts any inline style tags using @imports for fonts.
 * Processes all the local CSS files that weren’t properly enqueued (bad authors?).
 * While doing so, downloads all the required Google Fonts to your server.

**Features:**

 * Automatic self-hosted fonts with no effort.
 * Compatible with all themes and plugins.
 * Supports IE9+ and all modern browsers.
 * Optimized code benchmarked for performance.
 * Built-in cache for processing.
 * Compatible with cache plugins and Autoptimize.
 * API and hooks for theme & plugin authors.
 * Uses unicode-range for optimized fonts when using multiple subsets. Google officially
   does this too, but other solutions for downloading fonts don’t support this.

**Dev Notes**

_Cache_: The most common reason for a failure. If you have a cache plugin, clear
the caches.

It will not work with JS solutions like WebFont Loader. If you’re a developer, you
can still use this plugin’s API to get the needed CSS and files to convert your 
WebFont Loader. I will post instructions on support forums if there’s interest.

## Installation

 1. Upload/Install and activate the plugin.
 2. Go to _Settings_ > Self-Hosted Google Fonts, Enable Processing and Save.
 3. Clear all caches from any cache plugin you may have active.

## FAQ

  Installation Instructions

 1. Upload/Install and activate the plugin.
 2. Go to _Settings_ > Self-Hosted Google Fonts, Enable Processing and Save.
 3. Clear all caches from any cache plugin you may have active.

## Reviews

![](https://secure.gravatar.com/avatar/eeb384b7b4979856d5878e2feb57607cb85ec59aefff8d250df5ea3d838d239e?
s=60&d=retro&r=g)

### 󠀁[Small, working and for free](https://wordpress.org/support/topic/small-working-and-for-free/)󠁿

 [donaldpunk](https://profiles.wordpress.org/donaldpunk/) ޖެނުއަރީ 14, 2026

Thank you for that plugin. I use it since years on nearly every website I am creating
and still it is working. But lately I experienced some warnings about deprecated
code.

![](https://secure.gravatar.com/avatar/7d4fb6febf258d8451f071d5e803aeb1fc9f6871d00de89d94027ee118eddb52?
s=60&d=retro&r=g)

### 󠀁[Install and forget](https://wordpress.org/support/topic/install-and-forget-12/)󠁿

 [klausmeier9](https://profiles.wordpress.org/klausmeier9/) ފެބްރުއަރީ 10, 2023

I used this plugin on different sites and – of course – doublecheck the functionality
from time to time.As other guys also stated here, the plugin works reliable with
different versions of WP since years.So great!

![](https://secure.gravatar.com/avatar/3853d2965bbb4cff17423311ee991b42fc2b379c4948f3723101e40d5262f8a6?
s=60&d=retro&r=g)

### 󠀁[Works perfect](https://wordpress.org/support/topic/works-perfect-1002/)󠁿

 [kopfkinodesign](https://profiles.wordpress.org/kopfkinodesign/) އޮކްޓޯބަރ 12, 
2022

What can i say. Worked perfekt on various website with different wordpress websitebuilders.

![](https://secure.gravatar.com/avatar/fbc72fd3d281f4704e5da80ae3fdc4c759038ec3226ea5d2195f1f238cb026e0?
s=60&d=retro&r=g)

### 󠀁[Works flawlessly!](https://wordpress.org/support/topic/works-flawlessly-176/)󠁿

 [bedengler](https://profiles.wordpress.org/bedengler/) އޯގަސްޓް 28, 2022

Although it’s 4 years old, it does the job pretty well. Even better than many actual
plugins. Great plugin. Installed it on a site with my own theme. Has just a small
settings window, and from the first load of the website it recognized, downloaded,
cached and hosted all Google Fonts. So it seems it’s GDPR compliant. Easy and simple!
Great plugin, thumbs up 👍

![](https://secure.gravatar.com/avatar/9adbae6c1d61157b2d9bf4d32b86ffbaa624123957b32753857d6525438109d9?
s=60&d=retro&r=g)

### 󠀁[Still working for Beaver Builder](https://wordpress.org/support/topic/still-working-for-beaver-builder/)󠁿

 [Websicherheit](https://profiles.wordpress.org/websicherheit/) އޯގަސްޓް 4, 2022

Old plugin – but for Beaver Builder still plug & play and fixes DSGVO problem in
5 seconds. Big thumbs up!

![](https://secure.gravatar.com/avatar/c750807e0c205e2aee514b7887334e77639e04421f77ff70a0aecbe9ef293f18?
s=60&d=retro&r=g)

### 󠀁[A must have plugin for a WP site!](https://wordpress.org/support/topic/a-must-have-plugin-for-a-wp-site/)󠁿

 [Jesse23](https://profiles.wordpress.org/jesse23/) ޖުލައި 13, 2022

I must say that, this plugin is just perfect and does what it says! It’s a must-
have plugin for any WP site!

 [ Read all 40 reviews ](https://wordpress.org/support/plugin/selfhost-google-fonts/reviews/)

## Contributors & Developers

“Self-Hosted Google Fonts” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ asadkn ](https://profiles.wordpress.org/asadkn/)

[Translate “Self-Hosted Google Fonts” into your language.](https://translate.wordpress.org/projects/wp-plugins/selfhost-google-fonts)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/selfhost-google-fonts/),
check out the [SVN repository](https://plugins.svn.wordpress.org/selfhost-google-fonts/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/selfhost-google-fonts/)
by [RSS](https://plugins.trac.wordpress.org/log/selfhost-google-fonts/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

 * Added an option to toggle protocol-relative URLs for generated CSS files.
 * Fixed: Checkbox options not saving.
 * Fixed: Italics not getting correct WOFF2 files.
 * Added normalization to support regular/bold as 400/700.

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.1**
 *  Last updated **8 years ago**
 *  Active installations **30,000+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **4.9.29**
 *  PHP version ** 5.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/selfhost-google-fonts/)
 * Tags
 * [dsgvo](https://dv.wordpress.org/plugins/tags/dsgvo/)[GDPR](https://dv.wordpress.org/plugins/tags/gdpr/)
   [google fonts](https://dv.wordpress.org/plugins/tags/google-fonts/)[typography](https://dv.wordpress.org/plugins/tags/typography/)
 *  [Advanced View](https://dv.wordpress.org/plugins/selfhost-google-fonts/advanced/)

## Ratings

 4.8 out of 5 stars.

 *  [  36 5-star reviews     ](https://wordpress.org/support/plugin/selfhost-google-fonts/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/selfhost-google-fonts/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/selfhost-google-fonts/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/selfhost-google-fonts/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/selfhost-google-fonts/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/selfhost-google-fonts/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/selfhost-google-fonts/reviews/)

## Contributors

 *   [ asadkn ](https://profiles.wordpress.org/asadkn/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/selfhost-google-fonts/)