How To Add Cloudflare Turnstile to WordPress Forms (2024)

Learn how to add Cloudflare Turnstile to WordPress forms with this guide. Enjoy a free, user-friendly Captcha alternative for secure, bot-free submissions!

How To Add Cloudflare Turnstile to WordPress Forms (1)

Approximate read time: 5 minutes

With reCAPTCHA lowering its free plan limits, many people have added Cloudflare Turnstile to WordPress for their spam protection.

Cloudflare Turnstile is an excellent reCAPTCHA alternative to help you stop spam dead in its tracks on your WordPress forms. And I'm here to show you step-by-step how to add it to your forms.

Get Better Forms FREE!

So, let's dive in.

What is Cloudflare Turnstile?

Cloudflare Turnstile is a CAPTCHA alternative that protects your website and its forms from bots.

Turnstile uses browser signals and machine learning to identify real users. And the best part is that it doesn't compromise their privacy! So, in layman's terms, it's a free and excellent alternative to reCAPTCHA and other CAPTCHA services.

How To Add Cloudflare Turnstile to WordPress Forms (2)

But I'd argue it's actually better.

Why?

In March 2024, CAPTCHA announced it was lowering the limits on its free plan. If you wanted to get more, you'd have to pay (and no small amount, either!).

Cloudflare, however, gives you unlimited volumes of spam checks...for free! And it does it all without those pesky puzzles that annoy visitors before they hit the submit button.

Why use Cloudflare Turnstile in WordPress?

Cloudflare Turnstile is a significant upgrade over your current bot protection. It gives protection for both you AND your users, including:

  • Invisible spam protection: The process happens in the background for most people. No puzzles to solve, no annoying verification — just simple spam protection.
  • Privacy-focused: Turnstile doesn't track or collect personal data like image CAPTCHAs sometimes do. And users love privacy! Plus, they don't use user data for ad retargeting, which improves its reputation.
  • Fast and free: Just a few minutes and Cloudflare Turnstile is up and running on your website with no issues!

And that's why using WordPress and Cloudflare Turnstile is the perfect combination for your spam protection. No matter if it's a contact form, WooCommerce form, or anything in between.

How to add Cloudflare Turnstile to WordPress forms

We recommend using Formidable Forms, the best WordPress form plugin, for your form spam protection needs.

How To Add Cloudflare Turnstile to WordPress Forms (3)

It's quick to create forms and gives you multiple types of spam protection — from reCaptcha to Cloudflare Turnstile! And, best of all, you don't even need to pay! (Although, I strongly recommend checking out its premium features because there are some REALLY cool ones!)

So, head to WordPress.org, grab our free plugin, and get it installed and activated. Then, it's four steps:

  1. Create your Cloudflare account
  2. Activate Cloudflare Turnstile
  3. Create your form
  4. Publish your form

    Step 1: Create your Cloudflare account

    First, head to the Cloudflare Turnstile page, click the Get Started for Free button, and create an account using your email address if you don't already have one.

    How To Add Cloudflare Turnstile to WordPress Forms (5)

    Next, go to the Turnstile tab in your Cloudflare dashboard and click the Add site button to get your site connected.

    You also have the option to migrate from other CAPTCHA if you already have accounts there.

    How To Add Cloudflare Turnstile to WordPress Forms (6)

    Then, you must enter a Site Name, your Domain URL, and the Widget Mode.

    You have three options for the Turnstile challenge with the Widget Mode (Managed, Non-interactive, and Invisible). You can choose any Turnstile widget mode, but I'll use Managed in my example.

    How To Add Cloudflare Turnstile to WordPress Forms (7)

    Next, click Create, and Cloudflare will add your site. Once you see your site in the dashboard, click the Settings button to get your Site Key and Secret Key.

    How To Add Cloudflare Turnstile to WordPress Forms (8)

    Have these handy for the next step so you can enter them into Formidable Forms.

    Step 2: Activate Cloudflare Turnstile in Formidable Forms

    Next, go to your WordPress dashboard and go to Formidable Global Settings Captcha.

    You'll see three spam protection options: reCAPTCHA, hCaptcha, and Turnstile. Select Turnstile and enter your Site Key and Secret Key from your Cloudflare dashboard in Step 1 to fully enable Cloudflare Turnstile.

    How To Add Cloudflare Turnstile to WordPress Forms (9)

    Last, click Update at the top of the page to save your changes.

    Step 3: Create your form

    Now, it's time to create your form.

    First, go to Formidable Forms and click the Add New button at the top of the page. Next, click the Create a blank form button to start a form from scratch. Formidable also has many form templates in the plugin's premium version to help save you time, so be sure to check those out as well!

    How To Add Cloudflare Turnstile to WordPress Forms (10)

    Then, you can add fields to your form using Formidable's drag and drop form builder.

    You can add a Name, Email, or any other fields to your form. But, we want to focus on the Captcha field for your Cloudflare Turnstile spam protection.

    How To Add Cloudflare Turnstile to WordPress Forms (11)

    Drag it to your form to add the Cloudflare Turnstile captcha.

    If you have Cloudflare Turnstile enabled and set up, there's nothing else you need to do besides click the Update button to save your changes and click Preview to test it.

    Step 4: Publish your form

    The last step is to display it on your website.

    First, go to the page/post where you want to show your form, then add a new WordPress block. Next, search Formidable and add the Formidable Forms block.

    Then, choose your form from the dropdown menu to show it on the page.

    How To Add Cloudflare Turnstile to WordPress Forms (12)

    Last, update/publish the page or post, and your form will be live for everyone to enjoy!

    Ready to add Cloudflare Turnstile to your WordPress forms?

    And there you have it! You now have a simple Cloudflare Turnstile Captcha to keep that pesky registration form and contact form spam away.

    Remember that this isn't the only way to get spam protection on your website (although it's a great one!). And if you want more spam protection, I suggest you check out the best spam prevention methods for your website!

    Or, if you're ready to get started, grab the best WordPress form maker and get started now!

    Try out Formidable Forms!

    Read more about fighting spam with Formidable!

    • Add Invisible reCAPTCHA to WordPress (See Ya, Spam!)Read More

      How To Use hCaptcha for WordPress Forms [Block Spam Easily!]Read More

      The Best WordPress Spam Registration Prevention MethodsRead More

    How To Add Cloudflare Turnstile to WordPress Forms (2024)
    Top Articles
    Latest Posts
    Article information

    Author: Chrissy Homenick

    Last Updated:

    Views: 6007

    Rating: 4.3 / 5 (54 voted)

    Reviews: 85% of readers found this page helpful

    Author information

    Name: Chrissy Homenick

    Birthday: 2001-10-22

    Address: 611 Kuhn Oval, Feltonbury, NY 02783-3818

    Phone: +96619177651654

    Job: Mining Representative

    Hobby: amateur radio, Sculling, Knife making, Gardening, Watching movies, Gunsmithing, Video gaming

    Introduction: My name is Chrissy Homenick, I am a tender, funny, determined, tender, glorious, fancy, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.