Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
25 Million+
Websites using our plugins
Years of WordPress experience
WordPress tutorials
by experts

How to Make Google Fonts Privacy Friendly (3 Ways)

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

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 will 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 will 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, the plugin 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.

Expert Guides on WordPress Privacy and GDPR Compliance

Now that you know how to make Google Fonts privacy-friendly, you may like to see some other articles related to WordPress privacy and GDPR compliance.

We hope this tutorial helped you learn how to make Google Fonts privacy-friendly. You may also want to see our guide on how to get a free email domain or our expert 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.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

4 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Jiří Vaněk says

    Thanks for the tutorial. I operate a website in the Czech Republic that is subject to GDPR legislation. For that reason, we also need to inform users of the fact that there is a mechanism on the website that collects data about their activity. We call it cookie banner. The user must be informed and allow or disable this collection.

    I downloaded the Google font on a recommendation and use it locally on FTP. I also did it for the speed of the site. So thanks for the tutorial.

    However, just asking, I assume that if I use other Google services like analytics or adsense, then the situation is the same and basically the user data goes to the third party again.

    • WPBeginner Support says

      Correct, you would need to use another plugin or tool to have that information be GDPR safe.


      • Jiří Vaněk says

        Thanks for confirming my hunch about GPDR. You have basically confirmed to me that unfortunately no third party services can be used without the Cookie Banner. So I will act accordingly.

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.