How to Make Google Fonts Privacy Friendly (3 Ways)

Are you concerned about the privacy issues and legal risks of using Google Fonts on your WordPress site?

Google Fonts have been found to breach the EU’s privacy regulations. That means if you have website visitors from Europe, then you may be at risk of paying legal damages.

In this article, we’ll show you how to make Google Fonts privacy friendly in WordPress.

How to Make Google Fonts Privacy Friendly (3 Ways)

Why Are Google Fonts Not Privacy Friendly?

Your WordPress website’s typography plays an important role in your design and brand identity. That’s why many website owners customize their typography by using Google Fonts.

However, when someone visits a website that uses Google Fonts, their IP address is logged by Google when the fonts are loaded. This is done without their permission and the European Union considers it a breach of privacy regulations.

This means that websites using Google Fonts are no longer GDPR compliant. That’s an important legal consideration if you have website visitors from the European Union because it may make you liable for damages (of course you should consider your legal advisors before taking any action).

With that being said, let’s take a look at how to make Google Fonts privacy friendly. We’ll cover three methods, and you can use the list below to jump to the one you wish to use.

Method 1: Host Google Fonts Locally in WordPress

One way to make Google Fonts privacy friendly is to host them locally in WordPress. Luckily, that’s easy to do by using a plugin.

The first thing you need to do is install and activate the OMGF (Optimize My Google Fonts) plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, you need to visit Settings » Optimize Google Fonts to configure the plugin. You will see a statement that the default settings will automatically replace your Google Fonts with locally hosted copies.

OMGF Settings

All you need to do is scroll down the page and make sure that the ‘Font-Display Option’ has the default setting of ‘Swap (recommended)’ selected.

After that, simply click the ‘Save & Optimize’ button at the bottom of the page.

Click the Save & Optimize Button

You’ll see a message at the top of the screen that says ‘Optimization completed successfully.’ Your Google Fonts are now hosted locally.

To learn more, see our guide on how to host local fonts in WordPress, including how to do this manually without a plugin.

Method 2: Replace Google Fonts With Bunny Fonts

Bunny Fonts is an alternative to Google Fonts that puts privacy first. Their zero tracking and no-logging policies help you stay fully GDPR compliant. The Bunny Fonts API is fully compatible with the Google Fonts API, and this makes switching simple.

All you need to do is install and activate the Replace Google Fonts with Bunny Fonts plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

There will be no configuration needed. Once you’ve activated Bunny Fonts, they will immediately replace Google Fonts on your WordPress blog, shop, and every other part of your site.

Method 3: Disable Google Fonts in WordPress

Another way of avoiding the privacy issues of using Google Fonts is to disable them altogether, and simply use the system fonts installed on your users’ computers. We did this when we redesigned the WPBeginner website, and it improved our page load times.

Simply install and activate the Disable and Remove Google Fonts plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, the plugin will automatically disable all Google Fonts used by your theme and plugins. It doesn’t need to be configured.

Now WordPress will automatically use a default font in place of any Google Fonts that were being used. If you would like to choose different fonts, then see our guide on how to change fonts in your WordPress theme.

You can learn more in our guide on how to disable Google Fonts on your WordPress website.

We hope this tutorial helped you learn how to make Google Fonts privacy friendly. You may also want to learn how to get a free email domain, or check out our list of ways to make money online blogging with WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Make Google Fonts Privacy Friendly (3 Ways) first appeared on WPBeginner.

WordPress Punts Locally Hosted Fonts for Legacy Default Themes to 6.2 Release

In June 2022, WordPress.org’s Themes Team began strongly urging theme authors to switch to locally hosted webfonts, following a German court case, which fined a website owner for violating the GDPR by using Google-hosted webfonts. For years, theme authors have been enqueuing Google Fonts from the Google CDN for better performance, but this method exposes visitors’ IP addresses.

The Themes Team warned that guidelines regarding locally hosting fonts will be changing imminently and many theme authors moved to comply before it becomes a requirement.

A ticket for bundling Google fonts with WordPress’ legacy default themes had patches and was on track to be included in WordPress 6.1 in November. WordPress contributor Hendrik Luehrsen requested more eyes on the ticket, saying it “directly affects the core WordPress audience in Germany.” He reported that users in Germany were still getting emails threatening fines for using fonts loaded from Google.

WordPress core committer Tonya Mork suggested exploring releasing the updated version of each theme separately from WordPress 6.1.

“When each theme is ready, release it to wp.org’s theme repo,” Mork said. “Users can then update to get locally hosted fonts ahead of when WP 6.1 is released.”

This changed the direction of the ticket and with more scrutiny, contributors found the patches could use some more work.

“Creating new theme versions for this specific change could be good when they are ready,” Stephen Bernhardt said. “Using locally hosted fonts is already recommended, but we need to fix our own themes before we can make this a requirement for others.” He submitted a list of problems and potential improvements after reviewing the patches, and contributors are working on a better approach.

WordPress core committer David Baumwald changed the milestone to 6.2, as Beta 2 for 6.1 was released yesterday and the ticket still needs a final direction and patch.

“While I understand the issue, this is nonetheless sad to see,” Luehrsen said. “This is still a serious issue in Germany (and other GDPR territories), as users with active Google Fonts are currently getting targeted by people exploiting the law.”

Luehrsen took to Twitter to comment on his disappointment with the ticket missing the window for 6.1.

“This is the reason why WordPress will probably lose relevance,” he said. “Real users get hurt here, but they are in GDPR territories and this does not seem to be important.

“Could I have done more? Probably. But it is somewhat sad to see how quickly the momentum on that ticket fizzled out. If Squarespace, Wix and sorts start marketing privacy against WordPress, we’re screwed in GDPR countries.”

In the meantime, those who are using WordPress’ default themes can use a plugin like Local Google Fonts or OMGF | GDPR/DSVGO Compliant, Faster Google Fonts to host fonts locally.

Users can also switch to Bunny Fonts, an open-source, privacy-first web font platform with no tracking or logging that is fully GDPR compliant. Bunny Fonts is compatible with the Google Fonts CSS v1 API so it can function as a drop-in replacement. The Replace Google Fonts with Bunny Fonts plugin makes it easy for users to do that without editing any theme code.

Contributors are working on having fully GDPR-compliant WordPress default themes ready for WordPress 6.2, expected in early 2023.