Local Google Fonts
Host your used Google fonts on your server and make your site more GDPR compliant 💯. About 50 mio * sites use Google Fonts and in January 2022 a German court has ruled that using Google Fonts is a violation of Europe’s GDPR (General Data Protection Regulation). more on wptavern.com .
About this tool.
Host your used Google fonts on your server and make your site more GDPR compliant 💯.
About 50 mio * sites use Google Fonts and in January 2022 a German court has ruled that using Google Fonts is a violation of Europe’s GDPR (General Data Protection Regulation).
more on wptavern.com .
Getting started.
- 01Upload the entire local-google-fonts folder to the /wp-content/plugins/ directory
- 02Activate the plugin through the ‘Plugins’ menu in WordPress
- 03Go to Settings => Google Fonts and decide which fonts should get loaded locally
Frequently asked questions.
Will this load Google Fonts automatically?
Yes, if you check the option to load fonts automatically. Otherwise each font set must be manually triggered.
Is it Legal to Self-Host Google Fonts?
Yes. The open source fonts from Google Fonts are published under a licenses that allow you to use them on any website, no matter if it’s commercial or personal.
How to check if my site is loading Google Fonts?
It’s easy to check if your site is loading fonts from a third party source (check 2nd screenshot above):
- 01Open the dev tools (Cmd + Opt + I on Mac or F12, or Ctrl + Shift + I on Windows)
- 02Go to the Network tab and select the Fonts type
- 03Reload your page to see all fonts loaded on your site.
- 04Check the Domain column if it contains domains from a third party (Google is fonts.gstatic.com)
If you host your fonts locally with Local Google Fonts there should be no fonts loaded from the Google servers.
My fonts do not show up on the settings page, what can I do?
Fonts are discovered once they are used. Try to browse your front end first and get back to the settings page.
My fonts are not replaced, what can I do?
The plugin currently only checks fonts embedded via wp_enqueue_style if you use Google fonts via @import you have to change that first.