WordPress.org

Plugin Directory

EasyFonts – Host Google Fonts Locally, GDPR Compliant, Faster Loading

EasyFonts – Host Google Fonts Locally, GDPR Compliant, Faster Loading

Descripción

EasyFonts is the lightest, fastest WordPress plugin to host Google Fonts locally on your own server. Just activate the plugin, and your Google Fonts are automatically downloaded, cached, and served directly from your domain. No manual uploads, no complex settings, and no external requests.

At only 35KB, EasyFonts is built for absolute performance. Unlike bloated alternatives that take up 2MB of space and require endless configuration, EasyFonts does one job perfectly: it disables external Google Fonts and self-hosts them so your site loads faster, passes Core Web Vitals, and stays strictly compliant with European privacy laws.

Why Host Google Fonts Locally?

When your WordPress site loads fonts from Google’s servers, you face two massive issues:

  1. GDPR (DSGVO) Violations: A German court ruled that sending visitor IP addresses to Google without consent violates GDPR. Sites are actively being fined for this.
  2. Slow Core Web Vitals: Every external connection to fonts.googleapis.com and fonts.gstatic.com adds latency, destroying your Time to First Byte (TTFB) and Largest Contentful Paint (LCP) scores.

EasyFonts eliminates both problems instantly. It rewrites your CSS to serve fonts locally—stopping Google from tracking your users and drastically speeding up your site.

Key Features & Performance Benefits

  • Modern Variable Font Support (NEW) — Unlike older plugins that download 10+ separate font files for different weights, EasyFonts uses modern browser detection to download a single, highly-optimized Variable Font file. This saves massive amounts of bandwidth.
  • Combine Font Stylesheets — Merges all locally hosted font CSS into a single, optimized file placed right after <body>. Exact duplicate font faces are automatically removed to reduce HTTP requests.
  • Fix FOIT with Font Display Control — Force a font-display: swap value on every @font-face declaration to eliminate the «Flash of Invisible Text» and pass Google Lighthouse audits.
  • Disable Google Fonts — Completely severs all connections to Google’s servers, ensuring 100% GDPR compliance.
  • Automatic Local Hosting — Detects Google Fonts loaded via <link> stylesheets, @import rules, and inline @font-face declarations.
  • Clean Resource Hints — Strips unnecessary preconnect, dns-prefetch, and preload tags pointing to external font servers to clean up your <head>.
  • Bunny Fonts Support — Also processes and locally hosts fonts from fonts.bunny.net.
  • Auto Cache Clear — Whenever you save settings, the font cache is instantly cleared and regenerated fresh to prevent broken layouts.
  • Page Builder Compatible — Works flawlessly with Elementor, Divi, WPBakery, GeneratePress, Astra, Kadence, and WooCommerce.

What Makes EasyFonts Beat the Competition?

  • 35KB Size: Competitors weigh between 500KB and 2MB. EasyFonts is 60x smaller.
  • Zero Database Bloat: Stores only one single option row. No custom tables, no transient spam.
  • Zero Config Required: Just enable and save. No scanning, no waiting, no manual font selection.
  • No Premium Upsells: Every pro-level feature (combining CSS, variable fonts, font-display control, deduplication) is 100% free.

How It Works

  1. Install and activate EasyFonts.
  2. Go to Settings Easy Fonts.
  3. Enable the options you need (most users: enable all checkboxes and set Font Display to swap).
  4. Click Save Changes — the cache clears automatically.
  5. Visit your homepage (or click Preload Fonts) — fonts are downloaded and cached.
  6. Done. All Google Fonts are now served from your domain.

Capturas

  • EasyFonts settings page showing all configuration options

Instalación

  1. Upload the easyfonts folder to /wp-content/plugins/ or install via Plugins Add New in your WordPress dashboard.
  2. Activate the plugin through Plugins Installed Plugins.
  3. Go to Settings Easy Fonts to configure.
  4. Enable the options you want and click Save Changes.
  5. Click Preload Fonts or simply visit your homepage — fonts will be downloaded and cached automatically.

FAQ

Does EasyFonts work with my theme?

Yes. EasyFonts works with any WordPress theme that loads Google Fonts — including Astra, GeneratePress, OceanWP, Kadence, Blocksy, Hello Elementor, Divi, TwentyTwentyFive, and any theme or child theme. It processes the final HTML output, so it catches fonts loaded by themes, plugins, and page builders alike.

Does this plugin make my site GDPR compliant for Google Fonts?

Yes. Once EasyFonts is active and configured, all Google Fonts are served from your own server. No requests are made to fonts.googleapis.com or fonts.gstatic.com, so no visitor data is sent to Google.

Will this improve my page speed score?

Yes. Hosting fonts locally eliminates external DNS lookups and HTTP requests to Google’s servers. Combined with the stylesheet merging and resource hint removal features, most sites see a measurable improvement in PageSpeed Insights, GTmetrix, and Lighthouse scores.

Does it work with Elementor, WPBakery, and Divi?

Yes. EasyFonts processes the entire HTML output using output buffering, so it catches Google Fonts loaded by any page builder including Elementor, WPBakery, Divi, Beaver Builder, Bricks, and Breakdance.

What is the font-display option?

The font-display CSS property controls browser behavior while web fonts load. Setting it to swap ensures your text is always visible using a fallback font while custom fonts download — this fixes the «Ensure text remains visible during webfont load» warning in Lighthouse.

Does EasyFonts support Bunny Fonts?

Yes. EasyFonts automatically processes fonts from fonts.bunny.net in addition to Google Fonts.

How do I clear the font cache?

Go to Settings Easy Fonts and click Remove All Stored Fonts. The cache also clears automatically whenever you save settings.

Will it work with caching plugins?

Yes. EasyFonts works with WP Rocket, W3 Total Cache, LiteSpeed Cache, WP Super Cache, and all other caching plugins. After configuring EasyFonts, clear your page cache so the updated HTML is served to visitors.

Can I use this with a CDN?

Yes. The locally hosted font files will be served through your CDN just like any other file in your uploads directory.

Does it handle multiple Google Fonts stylesheets from different plugins?

Yes. The Combine Font Stylesheets feature specifically addresses this — it finds all font stylesheets across your entire page (from themes, plugins, and page builders), merges them into one file, and removes duplicates.

Reseñas

15 de abril de 2025
I’ve kept on using a outdated plugin to load google fonts for local delivery for the European Union GDPR compliance. Easy Fonts is my absolute choice replacing this plugin with a simple one working perfect catching ALL fonts from the theme and further plugins without the need of uploading it manually. For my current pain using brizy pagebuilder, which implemented bunny fonts to be more compliant, no plugin are made for bunny fonts to be cached. My request to the support ended in 2 days of waiting which is phenomenal to have a solution for that. Thank you guys for this superior plugin solving my regular google fonts topic on many websites AND supporting bunny fonts without the need of uploading fonts manually to the website. This it pure flexibility any ease!
24 de septiembre de 2024
I must have installed 8 or 9 different plugins for hosting google fonts, but none of them worked with icon sets. This was the only plugin I found that would self-host the Google icon sets. It’s dead simple to use and setup too. Well done and keep up the good work!
24 de abril de 2024
I was struggling to find a lightweight local font plugin that works with Oxygen builder to replace a similar plugin on some sites that broke on update, this one works out of the box for me when ‘remove resource hints’ is enabled. Many thanks to the author!
31 de enero de 2023
this plugin is super lightweight and works smoothly. the plugin seamlessly downloads and replaces Google fonts with locally hosted ones.
Leer todas las 6 reseñas

Colaboradores y desarrolladores

«EasyFonts – Host Google Fonts Locally, GDPR Compliant, Faster Loading» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Registro de cambios

1.3.0

  • New: Combine Font Stylesheets — merges all locally hosted font CSS into a single file with deduplication
  • New: Font Display control — set font-display (swap, block, fallback, optional, auto) on all @font-face declarations
  • New: Auto cache clear when settings are saved

1.2.0

  • New: Process @font-face from inline style blocks (gstatic fonts)
  • New: Built-in server speed test via Google PageSpeed Insights
  • New: Preload fonts button for one-click font caching
  • Improved: SSL handling for upload URLs
  • Improved: Bunny Fonts support via filter

1.1.0

  • New: Remove Resource Hints (preconnect, dns-prefetch, preload)
  • New: Remove WebFont.js inline scripts
  • Improved: Better compatibility with Smart Slider and Groovy Menu

1.0.0

  • Initial release
  • Host Google Fonts from link tags locally
  • Host Google Fonts from @import rules locally
  • Admin settings page with toggle controls