# How to remove Google fonts from WordPress

According to the Munich Municipal Court, Germany, dynamically embedding Google Fonts on websites like [WordPress](https://www.ionos.co.uk/digitalguide/hosting/cms/wordpress-examining-the-well-known-cms/ "WordPress: examining the well-known CMS") is illegal. Use tools like a Google Fonts checker and a plugin to remove the fonts. You can add a dequeue command in the *functions.php* file of your theme manually. If you still want to use Google Fonts, you can embed them locally, for example by using a plugin like OMGF.

## Why remove or deactivate Google Fonts on WordPress?

One thing remained constant for companies after Brexit is ensuring you comply with the EU’s General Data Protection Regulation (GDPR), which also exists in the UK as UK GDPR. The case in Germany mentioned above was relating to the digital [web fonts](https://www.ionos.co.uk/digitalguide/websites/web-design/web-fonts-the-power-of-modern-typography/ "Web fonts: the power of modern typography") by Google.

The reason for the court case was that Google Fonts were embedded in a company’s website. However, they did not ask for the **customer’s permission** on the use of the font. This led to the customer’s personal data being transferred to Google. If you would rather avoid a situation like this, we can help you remove or deactivate any Google Fonts on your WordPress site.

Tip WordPress offers various fonts with which you can fill your web pages. If you are interested in this, have a look at the Digital Guide article ‘[Change WordPress font](https://www.ionos.co.uk/digitalguide/hosting/blogs/how-to-change-wordpress-fonts/ "How to change WordPress fonts")’. The design of text components also plays an important role in terms of [responsive web design](https://www.ionos.co.uk/digitalguide/websites/web-design/responsive-design-and-font-typography-tips/ "Responsive design and font: typography tips").

## How to check if you have Google Fonts on WordPress?

If you are not sure whether you have included fonts from Google Fonts in your WordPress website, then consult a Google Fonts Checker. Simply enter the **URL of your website** into it to find out if there are embedded Google Fonts. The checker will also tell you which fonts are involved.

There are a variety of online checkers that can be used to locate Google Fonts on WordPress. Here are two examples:

- [Google Fonts Checker by 54 Grad Software](https://google-fonts-checker.54gradsoftware.de/en-US "Check your site for Google Fonts with 54 Grad Software")
- [Google Fonts Checker by CCM19](https://www.ccm19.de/en/google-fonts-checker/ "CCM19’s Google Font Checker page")

Tip Want to host a WordPress website? [Hosting for WordPress](https://www.ionos.co.uk/hosting/wordpress-hosting "Hosting for WordPress from IONOS") by IONOS offers many advantages, such as speedy loading times and reliable uptime.

## Remove Google Fonts on WordPress with 3 handy plugins

If you want to remove Google Fonts from your WordPress website and your theme does not include this option, you can do it with the help of a [WordPress plugins](https://www.ionos.co.uk/digitalguide/hosting/blogs/wordpress-plugins/ "WordPress plugins") with the appropriate function.

### Plugin option 1: Disable and Remove Google Fonts

The plugin [Disable and Remove Google Fonts](https://wordpress.org/plugins/disable-remove-google-fonts/ "Download page of the ‘Disable and Remove Google Fonts’ plugin") serves the sole purpose of disabling and removing Google Fonts. It is compatible with all of them, including the [best WordPress themes](https://www.ionos.co.uk/digitalguide/hosting/blogs/wordpress-themes-the-best-designs-for-your-website/ "WordPress themes: The best designs for your website"), and even removes Google Fonts downloaded by certain plugins, such as Divi and Elementor. The way ‘Disable and Remove Google Fonts’ works is simple: you just need to download and activate it.

### Plugin option 2: Borlabs Font Blocker

Another plugin that can be used to remove Google Fonts in WordPress is the [Borlabs Font Blocker](https://borlabs.io/borlabs-font-blocker/ "Website of Borlabs Font Blocker"). The fonts here are automatically blocked and disabled in various themes and website builders like Divi, Oxygen and co. After installing and activating the plugin, you have the option to inspect your website and ensure that no more Google Fonts are embedded. How exactly you have to proceed, is shown in a demonstration video on the plugin website.

### Plugin option 3: Autoptimize

The plugin [Autoptimize](https://wordpress.org/plugins/autoptimize/ "Download page of the Autoptimize plugin") actually has the optimisation of the CSS, HTML and JavaScript settings of a website as its main task. However, it also offers many other handy features, including Google Fonts removal. You can find this option under the plugin’s ‘Tools’ tab.

Tip Increase your professional presence on the web with a domain! With IONOS you can quickly and cheaply [register a domain](https://www.ionos.co.uk/domains/domain-names "Buy domain &amp; register cheap at IONOS"). Choose from a variety of domain extensions and secure your desired domain.

## 4 other ways to remove Google Fonts from WordPress

### Remove for YouTube videos

If you have added video material from YouTube to your website, then the **Google Font ‘Roboto’** used by the video platform is also automatically loaded. This font cannot be removed, but you can make use of the plugin [WP YouTube Lyte](https://wordpress.org/plugins/wp-youtube-lyte/ "Download page of ‘WP YouTube Lyte’ plugin") and use it to ensure that your videos only activate and connect to YouTube when clicked. Otherwise, you should consider using another [video hosting](https://www.ionos.co.uk/digitalguide/online-marketing/online-sales/video-hosting/ "Video hosting") provider.

### Remove Google Maps integrations

If you have Google Maps embedded on your website, you have the same problem as with YouTube videos, because the ‘Roboto’ font is used here as well. The font cannot be removed, so you should upload a **screenshot of the map** image instead. By doing so, you replace interactive content with static content, but you remove the problematic Google Font in return. Another option is to use a [google maps alternative](https://www.ionos.co.uk/digitalguide/online-marketing/online-sales/google-maps-alternatives/ "Google Maps alternatives").

### Remove in website builders and themes

Many website builders and themes offer the disabling of Google Fonts in the settings. For example, with Divi you can do this in the **WP admin area**, accessible via the [WordPress admin login](https://www.ionos.co.uk/digitalguide/hosting/blogs/wordpress-login-how-to/ "WordPress login how-to"), under the theme options. For other tools, such as Elementor, you can use the already presented ‘Disable and Remove Google Fonts’ plugin.

There is also another option that allows you to disable Google Fonts in WordPress. To do this, add the following code in the **functions.php** file in the theme file editor:

```PHP
add_filter('elementor/frontend/print_google_fonts', '__return_false');
```

### Remove manually

You can also manually eliminate the Google Fonts on your website by using still other codes. This way you also call the *functions.php* file of your theme, but this time you add a **dequeue command**. In the case of the WordPress theme ‘Twenty Seventeen’, it looks like this:

```PHP
add_action('wp_print_styles', 'twentyseventeen_dequeue_styles', 100);
function twentyseventeen_dequeue_styles() {
wp_dequeue_style('twentyseventeen-fonts');}
```

Note The *functions.php* file contains the functions of a WordPress theme and is an important part when it comes to, for example, creating a [WordPress child theme](https://www.ionos.co.uk/digitalguide/hosting/blogs/how-to-create-a-wordpress-child-theme/ "How to create a WordPress child theme"). Caution: add code to the file only if you are experienced in it. Incorrect handling can have profound consequences.

## Or load Google Fonts locally

If you want to keep the Google Fonts on your website and not remove them, then you should make sure that they are no longer loaded externally. Instead, **embed the fonts locally** in WordPress. One possible approach is as follows:

**Step 1:** Using a Google Fonts checker, find out which Google Fonts are used on your website.

**Step 2:** In your WordPress dashboard, under ‘Plugins’, find, install and activate the optimisation tool [OMGF](https://wordpress.org/plugins/host-webfonts-local/ "Download page of the OMGF plugin"). By the way, the Pro version detects more than the free version.

[![Image: Screenshot of the OMGF plugin under ‘Add Plugins’ on WordPress](https://www.ionos.co.uk/digitalguide/fileadmin/_processed_/f/5/csm_google-fonts-wordpress-add-omgf-plugin_b657375d74.webp "Screenshot of the OMGF plugin under ‘Add Plugins’ on WordPress")](https://www.ionos.co.uk/digitalguide/fileadmin/DigitalGuide/Screenshots_2023/google-fonts-wordpress-add-omgf-plugin.png) Locate and install the OMGF plugin in the WordPress dashboard. Ideally, you should also purchase the Pro version for the best possible optimisation. **Step 3:** Under **‘Optimise Local Fonts’**, you will see all found fonts, which will be integrated locally from now on. Click ‘Save &amp; Optimise’ once at the very bottom before leaving the page.

[![Image: Screenshot of the OMGF plugin settings page](https://www.ionos.co.uk/digitalguide/fileadmin/_processed_/9/d/csm_google-fonts-wordpress-omgf-settings_5998095f86.webp "Screenshot of the OMGF plugin settings page")](https://www.ionos.co.uk/digitalguide/fileadmin/DigitalGuide/Screenshots_2023/google-fonts-wordpress-omgf-settings.png) Using the OMGF plugin to list your used Google Fonts and embed them locally **Step 4 (optional):** Check **‘Load Early’** to enable preloading for all fonts so that they are loaded before users can see your website.

**Step 5:** Save your settings using **‘Save &amp; Optimise’**.

## Removing Google Fonts in WordPress

Owners of a WordPress website operating in the EU are required by the ruling of the Munich Regional Court to obtain prior consent from your website visitors for your dynamically added Google Fonts. Fortunately, there is also still the option to remove the fonts or embed them locally. You decide which way makes the most sense for you and your website. Always keep in mind that **fonts are an important part of your web design**.

Tip The Digital Guide contains a wider range of WordPress articles which could be useful:

- [Create a WordPress page](https://www.ionos.co.uk/digitalguide/hosting/blogs/creating-a-website-with-wordpress-a-beginners-guide/ "Creating a website with WordPress: A Beginner’s Guide")
- [Create a WordPress blog](https://www.ionos.co.uk/digitalguide/hosting/blogs/wordpress-blog/ "WordPress blog")
- [Install WordPress staging](https://www.ionos.co.uk/digitalguide/hosting/blogs/setting-up-wordpress-staging/ "Setting up WordPress staging")
- [Make WordPress quicker](https://www.ionos.co.uk/digitalguide/hosting/blogs/make-your-wordpress-faster/ "Make your WordPress faster")


This is a markdown version of: [https://www.ionos.co.uk/digitalguide/hosting/blogs/how-to-remove-google-fonts-from-wordpress/](https://www.ionos.co.uk/digitalguide/hosting/blogs/how-to-remove-google-fonts-from-wordpress/) for AI/LLM consumption.