This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Embed Google Fonts


Embed Google Fonts tries to automatically replace registered Google Fonts from themes and plugins with local versions, directly loaded from your own server.



  • The first request might be very slow, as fonts are downloaded and cached the first time they are requested.
  • This doesn’t automatically replace all your Google fonts with local versions. If a plugin/theme doesn’t use WordPress wp_enqueue_style it probably won’t work.
  • Loaded fonts are not optimized, means, the whole font including all subsets is loaded
  • See FAQ for instructions to use locally hosted fonts directly and avoid using Heroku

Thank you: Fonts are downloaded using:


How to use locally stored fonts directly?

It is possible to avoid using Heroku and directly use locally hosted fonts.

Easy way:

  • Let the plugin download the fonts
    • Click the button in the plugin list overview ๐Ÿ˜‰

Custom way:

  • Create a folder โ€œembed-google-fontsโ€ in your โ€œwp-contentโ€ folder
  • For every font create a subfolder, i.e. โ€œembed-google-fonts/open-sans/โ€
    • Create a file โ€œembed-google-fonts/open-sans/_font.cssโ€
    • Edit your โ€œ_font.cssโ€ to include rules for loading your local font

Does this work with every theme and plugin?

No, themes and plugins must use wp_enqueue_style to load Google Fonts.
Just try it, if it works, than you are fine.

Does it work with caching plugins?

Generally yes. You may exclude some files, if there are problems.

Does it work with WP Rocket?

Yes, it is working with WP Rocket.

Does it work with WP Fastest Cache?

If you are using WP Fastest Cache, you should create an exclude CSS rule for โ€œ_font.cssโ€

Does it work with Divi?

You have to disable

  • Improve Google Fonts Loading and
  • Defer jQuery And jQuery Migrate


  • Divi โ†’ Theme Options โ†’ General โ†’ Performance


๐Ÿ‚ 1๏ธโƒฃ1๏ธโƒฃ 27, 2022
I have waited for something like this. Super easy to use and a great way to make your site EU GDPR compliant. Good work!
๐Ÿ‚ 9๏ธโƒฃ 24, 2022
I tried some of these plugins because people try to make money from people using google fonts directly in Germany. This one worked like a charm, I just had to get rid of one CSS-Import manually. But there was one request to I could not get rid of. It took me ages to realize, it was from the Wordpress Admin Bar. So you need to check in a fresh brwoser-window, best a private one. Thx to the people behind this plugin!
โ˜€๏ธ 8๏ธโƒฃ 24, 2022
Really great, thanks a lot! Works out of the box, prevents from GDPR/DSGVO issues.
โ˜€๏ธ 8๏ธโƒฃ 22, 2022
Just install, activate and forget. You guys are great! Thank you!
๐ŸŒธ5๏ธโƒฃ 17, 2022
What a wounderful and easy plugin! AWESOME guys!! good work ! appriacte your work ๐Ÿ™‚ its works i see no google apis or anything else and i can use all fonts from elementor
Read all 11 reviews

Contributors & Developers

“Embed Google Fonts” is open source software. The following people have contributed to this plugin.


“Embed Google Fonts” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Embed Google Fonts” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Fixed URL to new download server (Thanks brauni85 via Github)
  • Fixed typo in key for locking (Thanks Thomas)


  • Allow installation with PHP 7.3, because of high demand (Please note: It is highly recommended to upgrade to newer PHP)
  • Fixed typo (Thanks Jenny)


  • Reverted renaming of _font.css (again)


  • Fonts may be stored locally now and will be loaded from there. This may avoid poor performance, when the remote server isn’t available
    • See FAQ for more information
  • Removed direct Avada support
  • Renamed โ€œ_font.cssโ€ to โ€œfont.cssโ€
  • Added korean subset (Thanks @phl23)
  • Code refactoring


  • Avoid warning, when removing not existing file


  • Added missing Oriya subset (#6)
  • Improved stability


  • Avoid loading icons from Google Fonts (shows a PHP warning)
  • Remove support for Memorable theme


  • Don’t show errors in frontend, when downloading a font didn’t worked.
  • Removed version constant, as it isn’t used (EMBED_GOOGLE_FONTS_VERSION)


  • Removed unnecessary error log


  • Reverted file name of font.css to _font.css (for simpler WP Fastest Cache exclusion)


  • Minor improvements
  • Downloaded fonts will be cleared every 30 days automatically
  • Downloaded fonts will be cleared, when โ€œentire cacheโ€ is cleared in WP Rocket
  • Downloaded fonts will be cleared, when cache is cleared in WP Fastest Cache


  • Improved hoster compatible (used WordPress unzip_file)


  • Fixed bug in family detection


  • Prepared for first public release


  • Fixed missing devanagari subset


  • Fixed missing hebrew subset


  • Fixed download url


  • Uses standard cache folder for the fonts.


  • Fonts are loaded and cached locally on the fly now. (from


  • Added Work Sans, Karla, Alef, Permanent Marker, Amatic SC, Libre Baskerville, Roboto


  • Improved theme compatibility (Elmastudio)


  • Added Source Sans Pro and Anton


  • Register fonts when needed and not all at the beginning (should improve performance)
  • Added Domine


  • Added Vollkorn, Montserrat and Forum


  • Added Muli and Maven Pro


  • Added Poppins and Questrial


  • Improved Avada support
  • Added Oswald and Indie Flower


  • Improved filesystem access


  • Added PT Sans


  • Use filesystem for detecting embedded fonts


  • Added Nunito and Raleway


  • Added some fonts


  • Hopefully finally fixed URL problems


  • Improved url loading


  • Reverted renaming


  • Renamed _font.css to font.css


  • Generic replacement of enqueued fonts


  • Initial release