Self-hosting fonts means serving font files directly from your own server instead of loading them from Google CDN. It improves performance, protects user privacy, and keeps your site GDPR-compliant — especially important in Europe.
Google Fonts Helper is a free tool by Mario Ranftl that lets you download any Google Font with the correct @font-face CSS — ready to paste. No manual work needed.
Tool: https://gwfh.mranftl.com/fonts
Go to gwfh.mranftl.com/fonts and search for the font you want — e.g. Inter, Roboto, or Nunito.
Pick only the font weights you actually use (e.g. 400, 600, 700). Choose the correct subset for your language — e.g. latin-ext for Central European languages. Avoid selecting all variants to keep file size small.
In the Customize folder prefix field, enter the path where you will upload the font files. For WordPress:
/wp-content/themes/your-theme/fonts/Click Download files to get a ZIP with font formats (woff2, woff). Upload the files to the folder you specified via FTP or your hosting file manager.
Copy the generated @font-face CSS from the tool and paste it into your stylesheet or WordPress custom CSS field (e.g. Breakdance Settings or Elementor Custom CSS).
@font-face{
font-family: 'Inter';
font-style: normal;
font-weight: 400;
src: url('/wp-content/themes/your-theme/fonts/inter-regular.woff2') format('woff2'),
url('/wp-content/themes/your-theme/fonts/inter-regular.woff') format('woff');
font-display: swap;
}font-display: swap — prevents invisible text during font loading.