Cloudflare fonts (Beta)
Want to make your website fly? Cloudflare Fonts is here to help! This nifty feature replaces fonts from Google with ones stored right on your own domain. This means faster loading times and better privacy for your visitors, all without you having to touch a single line of code.
Faster font loading
By serving fonts from your Cloudflare zone, you leverage their globally distributed network, reducing latency and speeding up font delivery. Every millisecond counts, and Cloudflare Fonts helps ensure your website feels snappy and responsive.
Improved user privacy
When you use Google Fonts, your users’ information (IP addresses, user agents) can be collected by Google. Cloudflare Fonts keeps data private by serving fonts from your own domain, minimizing the exposure of sensitive information.
Compatibility and limitations
Cloudflare Fonts is compatible with browsers that support Unicode-range subsetting and WOFF or WOFF2 formats, including:
- Chrome 36+
- Edge 16+
- Safari 10+
- Firefox 44+
- Opera 22+
- IE 9+
- Chrome for Android 115+
- Safari on iOS 10+
- Samsung Internet 5+
Most modern browsers support Cloudflare Fonts. However, it’s important to be aware of its limitations:
- Currently works only with Google Fonts.
- Not compatible with Automatic Platform Optimization (APO).
- Supports only the
<link>
setup for Google Fonts. - CSP restrictions might interfere with functionality.
- Fallbacks to Google Fonts if unsupported on a specific page.
Get started
To enable Cloudflare Fonts for your entire domain:
- Log in to the Cloudflare dashboard, and select your account and domain.
- Go to Speed > Optimization > Content Optimization.
- For Cloudflare Fonts, switch the toggle to On.
Cloudflare Fonts empowers you to deliver a faster, more private user experience without sacrificing convenience. Give it a try and see the difference!