You are viewing beta documentation for Formie 4.x.
Captchas
Cloudflare Turnstile
Follow the below steps to connect Formie to Cloudflare Turnstile.
Step 1. Open the Captcha Settings
- Navigate to Formie → Settings → Captchas.
- Select Cloudflare Turnstile in the left-hand sidebar.
- Turn on Enabled.
Step 2. Create a Turnstile Widget
- Go to the Cloudflare Turnstile dashboard (opens new window) and sign in to your account.
- Open the Turnstile page.
- Click Add widget.
- Enter a Widget name.
- Add the hostname or hostnames where the form will run.
- Choose the Widget mode you want to use in Cloudflare: Managed, Non-interactive, or Invisible.
- Click Create.
- Copy the Site key and Secret key.
Step 3. Connect Formie to Turnstile
- Paste the Site Key into the Site Key field in Formie.
- Paste the Secret Key into the Secret Key field in Formie.
- Choose the front-end options you want in Formie, such as Theme, Size, Appearance, and Execution.
- Save the captcha settings.
Step 4. Form Setting
- Go to the form you want to protect.
- Enable Cloudflare Turnstile for that form.
- For multi-page forms, turn on Show on All Pages if the captcha should run on every page instead of only the final submit step.
- Save the form.
Turnstile widget mode is chosen in Cloudflare for the site key you created. Formie does not change that mode, so make sure you pick the right widget in Cloudflare first.
Last updated: June 2, 2026, 3:49:10 PM