Free Cloudflare Turnstile for Divi Contact Forms
Our Free Cloudflare Turnstile for Divi Contact Forms is a lightweight, privacy-friendly replacement for Google reCAPTCHA, built to work seamlessly with the standard Divi contact form module. This plugin is provided free of charge by 040hosting for everyone who sees it fit to use on their website.
This free Plugin integrates Cloudflare Turnstile into your Divi form, adding bot protection without relying on Google’s tracking or heavy scripts.
Features:
- Works with the native Divi contact form (no extra plugins required)
- Tested and confirmed to work with Divi 4 and Divi 5
- 100% free to use — both the script and Cloudflare Turnstile
- Lightweight and privacy-respecting (no user tracking)
- Simple setup using your Cloudflare site and secret keys
Requirements:
- A free Cloudflare Account
- Active Divi theme (Elegant Themes)
Disclaimer
This script is provided as-is and without any warranty or liability. While it has been tested and confirmed to work under standard configurations, results may vary depending on your WordPress setup, Divi version, or customizations. By downloading or using this script, you agree that 040Hosting and its developers are not responsible for any issues, damages, or losses arising from its use or misuse.
Support is not included, but you are free to modify and adapt the script for your own use.
Please do not republish or redistribute this script without including a clear link to 040Hosting.eu
as the original source.
Versions:
1.0.4 Initial production release
1.0.5 security updates (medium)
Changelog 1.0.4
Production Release
Changelog 1.0.5
– CSRF Vulnerability in Form Submission (medium)
– IP spoofing prevention (low)
– Improved Response validation (low)
– SSL Validation (low)
– Improved Input validation (low)
Frequently Asked Questions about the Divi Turnstile Plugin
What is Cloudflare Turnstile?
Cloudflare Turnstile is a privacy-friendly CAPTCHA alternative that verifies human visitors without using tracking cookies or showing intrusive puzzles. It protects your forms from spam and bots while respecting user privacy.
Does the 040Hosting Turnstile plugin work with Divi4 and Divi5?
Is this plugin really free to use?
Yes. The plugin is completely free and has no paid version or limitations.
Cloudflare Turnstile itself is also free to use — all you need is a free Cloudflare account to create your site and secret keys.
Why is this plugin better than other Turnstile or captcha plugins?
Most Turnstile or captcha plugins don’t integrate properly with Divi’s contact form, especially in Divi 5.
The 040Hosting solution is:
- Free and open for personal and business use
- Fully compatible with Divi 4 & Divi 5
- CSRF-secure — it correctly handles Divi’s nonce and AJAX validation
- Privacy-first — Cloudflare Turnstile doesn’t track users or use cookies
Do I need a Cloudflare account to use this plugin?
Yes. You’ll need a free Cloudflare account to generate your Site Key and Secret Key in the Turnstile dashboard.
Once you have them, you can simply enter the keys in the plugin settings — no other setup needed.
What makes Cloudflare Turnstile better than Google reCAPTCHA?
Turnstile is privacy-focused and cookie-free.
It doesn’t track users, doesn’t require Google accounts, and is fully GDPR-compliant, making it a perfect fit for EU-based websites and privacy-conscious users.
Can I use this plugin with other forms (like WPForms or Contact Form 7)?
No. This plugin is specifically designed for the native Divi Contact Form module.
If you use other forms or WooCommerce checkout, you can combine it with the Simple Cloudflare Turnstile plugin from WordPress.orgÂ
Will this plugin slow down my website?
No. The plugin loads a single lightweight Cloudflare script and minimal inline code — optimized for Divi performance.
There are no external tracking scripts and no unnecessary database calls.Â
Can I modify or redistribute the plugin?
Yes, you’re free to modify and adapt it for your own projects.
However, redistribution must include a link back to 040Hosting as the original source.
Is support included?
Support is not included, but the plugin is designed to be self-contained and easy to use.
You’re welcome to adapt it for your environment — developers can extend or customize it as needed.
What should I do if the form doesn’t submit?
Double-check your Turnstile keys (Site Key + Secret Key).
Make sure you don’t have another Turnstile or captcha plugin active for the same form.
Exclude the Turnstile API script from caching/minification.
Clear your page cache and test again.
Divi is a registered trademark of Elegant Themes, Inc. This website is not affiliated with nor endorsed by Elegant Themes.



