In 2022, thousands of website owners in Austria received letters because of Google Fonts. That wave of warning letters is over, the issue is not: if your website loads fonts directly from Google’s servers, every visitor’s browser sends their IP address to Google - without anyone having consented. The Munich Regional Court ruled in January 2022 that this violates data protection law, and nothing about that has changed.
The clean solution is simple: the fonts sit on your own server and are loaded from there. Your website looks exactly the same as before, only the connection to Google is gone. This guide shows you how to check whether your website is affected and how to host Google Fonts locally in WordPress and on other websites, or remove them entirely.
No time to deal with it yourself? I switch your website to local fonts and check that nothing goes to Google anymore:
Does my website load Google Fonts?
The easiest way is my free Google Fonts Checker: enter your address, and the checker loads your website like a browser and shows every request to Google’s font servers, for three subpages too if you like. If you want to look for yourself, use the developer tools.
The quickest way to find out is with your browser’s developer tools. Open your website in Firefox or Chrome and press F12. A panel with many tabs opens - don’t worry, you only need one of them.

Switch to the Network tab and reload the page with Ctrl + Shift + R so nothing comes from the cache. The list now shows every file your browser loads for the page. Right-click the column headers to show the Host or Domain column and look for these addresses:
- fonts.googleapis.com
- fonts.gstatic.com


If these addresses show up, your website loads fonts from Google. In the (redacted) example above they are even loaded in two different ways.
If you find no entries, type “font” or “woff” into the filter field. If the font files come from your own domain, they are already hosted locally. Don’t just check the home page, though, but also subpages with maps, videos or forms - that is where most connections to Google hide.
Where the Google Fonts come from
Before you remove anything, it pays to look at the usual sources:
- Theme: Many themes load their fonts from Google by default. There is often an option in the theme settings to turn this off or load them locally.
- Page builders: Elementor, Divi, WPBakery and the like embed the fonts you select in the editor.
- Plugins: Sliders, forms, cookie banners or icon packs sometimes bring their own Google Fonts.
- Embedded services: Google Maps, reCAPTCHA and YouTube videos also load fonts and other files from Google. This cannot be solved locally - the only options are to load the embed only after consent (two-click solution) or to replace it with a link or a preview image.
WordPress: host Google Fonts locally
Block themes: the Font Library
If you use a block theme (e.g. Twenty Twenty-Four or Twenty Twenty-Five), WordPress has its own Font Library since version 6.5. In the Site Editor under Styles → Typography you can install fonts from the Google Fonts collection. WordPress downloads the files to your server once (into wp-content/uploads/fonts) - your visitors don’t connect to Google.
Elementor
In current Elementor versions you find the option to load Google Fonts locally under Elementor → Settings → Advanced. Elementor then stores the fonts you use on your server. Depending on the version, the setting may be named slightly differently or sit under “Features”. It does not cover fonts loaded by your theme or other plugins.
The OMGF plugin
For classic themes, the OMGF plugin is the proven way. It finds the embedded Google Fonts, downloads them to your server and replaces the references. After setting it up, check as described above whether really nothing comes from Google anymore: the free version doesn’t always catch fonts buried deep in theme or plugin CSS files. So OMGF is not a set-and-forget solution.
Without WordPress: remove Google Fonts by hand
Find the reference in the source code
In the developer tools, switch to the Inspector (Firefox) or Elements (Chrome) tab and search for “fonts” with Ctrl + F.

The browser highlights the lines where fonts are embedded. Usually that is a <link> entry in the page head.

If you find nothing there, the fonts are probably loaded via a CSS file. Then you need to search the CSS files for “fonts.googleapis”, “fonts.gstatic” or @import. Also remove entries like <link rel="preconnect"> or <link rel="dns-prefetch"> pointing to Google: they open a connection in advance.
Where you delete the entry depends on your system. On a plain HTML website it is often in every single file, on PHP websites usually in one central file such as header.php. The easiest way is to download the website and search all files at once, e.g. with the search in your code editor or Total Commander.

In rare cases the reference even sits in the database, for example in a text field that the theme outputs.
Download the fonts and host them locally
So that your website looks the same after deleting the reference, you need the font files themselves. In the network panel you can see in the address which fonts and weights are loaded - in the example “Open Sans” in several weights.

You get the matching files from the Google Webfonts Helper. There you choose the font and the weights you use and get the files in the compact WOFF2 format together with the matching CSS.

- Choose the weights and styles your website actually uses.
- Copy the CSS code into your website’s CSS file and adjust the path to the font files.
- Upload the font files to that folder on your web server.
Then remove the old reference to Google and check the network panel again to make sure the fonts now come from your own domain.
The simplest alternative: system fonts
If you don’t have to stick to a specific font, you can skip web fonts altogether and use the operating system’s fonts (e.g. with font-family: system-ui, sans-serif). Then nothing is loaded at all - it doesn’t get faster or more privacy-friendly than that.
Note
This guide describes the technical implementation and is not legal advice. If you need help with the switch, feel free to get in touch.
Intro Image by Stefan Schweihofer from Pixabay




