---
title: "Using Google Fonts with Divi in Compliance with the GDPR — isla Studio"
url: "https://isla-stud.io/en/code-snippets/google-fonts-mit-divi-dsgvo-konform-nutzen/"
date: 2023-03-10
---

# Using Google Fonts with Divi in Compliance with the GDPR

In the summer of 2022, there was a massive wave of cease-and-desist letters related to the use of Google Fonts, in which various law firms attempted to squeeze a few euros out of unsuspecting website operators.

Other blog posts cover these waves of cease-and-desist letters in much greater detail, and I don’t want to delve further into that topic here. Instead, today I’d like to show you various ways to avoid becoming a target of such a campaign against Google Fonts users in the first place.

You essentially have three options:

1. You stop using Google Fonts
2. You download the Google Fonts you use and upload them to your own web server in the EU, thereby making the fonts available locally yourself
3. Use a third-party provider that hosts the Google Fonts for you on a web server located in the EU

Do without Google Fonts?
----------------------------

If you found this blog post via a Google search, I’m assuming that option 1 isn’t an option for you. It isn’t for me either, to be honest—at least for most web projects. Google Fonts are incredibly popular. That’s understandable when you look at the wide variety of options available. And on top of that, they’re free to use. I wish Google would simply provide a web server in the EU that complies with data protection regulations, which users could select as the server source for their own sites. That would help everyone and solve the GDPR issue without requiring font users in the EU to bypass the Google service.

Hosting Google Fonts Locally
--------------------------------

Many WordPress themes now include the option to upload custom fonts and host them locally. There are also plenty of plugin solutions available for this. The Divi theme also offers the [option to upload custom fonts](https://help.elegantthemes.com/en/articles/2315966-how-to-upload-custom-fonts-in-divi-builder).

If you want more control over the font files and the `font-face` declaration in the website’s CSS, upload the desired fonts to your own web server via FTP or SFTP and then write your own `font-face` rules in the stylesheets you’re using.

I won’t go into further detail about this option here either, because it has already been explained thoroughly and in sufficient detail in many other blog posts.

Use a third-party provider: Bunny Fonts!
----------------------------------

To use a provider that complies with data protection regulations for your Google Fonts, the product [Bunny Fonts](https://fonts.bunny.net/) has been available for some time. With Bunny Fonts, you can use Google fonts, but have them served not from Google’s servers, but from Bunny Fonts„ servers in the EU. The operators of the Bunny Fonts service are based in Slovenia and thus within the EU: BunnyWay d.o.o., Cesta komandanta Staneta 4A, 1215 Medvode, Slovenia.

Simply install and activate my plugin [“Bunny Fonts for Divi”](https://wordpress.org/plugins/bunny-fonts-for-divi/), which is available for free in the official WordPress repository and can be easily installed via your WordPress backend under Plugins.

Next, in the Performance tab of the Divi Theme Options, disable the optimization for loading Google Fonts. If you leave this option enabled, the Divi Theme inserts a so-called “Link Prefetch” connection to the Google Fonts servers into the  section of your website. We want to prevent that.

With this solution, you can continue to use all Google Fonts in your Divi Builder without serving the fonts to your website visitors via Google.

If you have any questions, please feel free to use the comment section at the end of this blog post.