Title: Self-Hosted Google Fonts
Author: asadkn
Published: <strong>26 maio, 2018</strong>
Last modified: 15 junho, 2018

---

Pesquisar plugins

Este plugin **não foi testado com os 3 lançamentos principais mais recentes do WordPress**.
Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade
quando usado com versões mais recentes do WordPress.

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

# Self-Hosted Google Fonts

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

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

 * [Detalhes](https://br.wordpress.org/plugins/selfhost-google-fonts/#description)
 * [Avaliações](https://br.wordpress.org/plugins/selfhost-google-fonts/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/selfhost-google-fonts/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/selfhost-google-fonts/#developers)

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

## Descrição

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.

## Instalação

 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.

## Perguntas frequentes

  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.

## Avaliações

![](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 janeiro, 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 fevereiro, 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 outubro, 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 agosto, 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 agosto, 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 julho, 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!

 [ Leia todas as 40 avaliações ](https://wordpress.org/support/plugin/selfhost-google-fonts/reviews/)

## Colaboradores e desenvolvedores

“Self-Hosted Google Fonts” é um programa de código aberto. As seguintes pessoas 
contribuíram para este plugin.

Colaboradores

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

[Traduzir o “Self-Hosted Google Fonts” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/selfhost-google-fonts)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/selfhost-google-fonts/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/selfhost-google-fonts/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/selfhost-google-fonts/)
por [RSS](https://plugins.trac.wordpress.org/log/selfhost-google-fonts/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 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

 *  Versão **1.0.1**
 *  Última atualização **8 anos atrás**
 *  Instalações ativas **30.000+**
 *  Versão do WordPress ** 4.0 ou superior **
 *  Testado até **4.9.29**
 *  Versão do PHP ** 5.4 ou superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/selfhost-google-fonts/)
 * Tags
 * [dsgvo](https://br.wordpress.org/plugins/tags/dsgvo/)[GDPR](https://br.wordpress.org/plugins/tags/gdpr/)
   [google fonts](https://br.wordpress.org/plugins/tags/google-fonts/)[typography](https://br.wordpress.org/plugins/tags/typography/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/selfhost-google-fonts/advanced/)

## Classificações

 4.8 de 5 estrelas.

 *  [  36 avaliações com 5 estrelas     ](https://wordpress.org/support/plugin/selfhost-google-fonts/reviews/?filter=5)
 *  [  1 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/selfhost-google-fonts/reviews/?filter=4)
 *  [  1 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/selfhost-google-fonts/reviews/?filter=3)
 *  [  1 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/selfhost-google-fonts/reviews/?filter=2)
 *  [  1 avaliação com 1 estrela     ](https://wordpress.org/support/plugin/selfhost-google-fonts/reviews/?filter=1)

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

[Ver todas avaliações](https://wordpress.org/support/plugin/selfhost-google-fonts/reviews/)

## Colaboradores

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

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/selfhost-google-fonts/)