Cloudflare Turnstile
7,387 sites
Security covered
Drupal 10–11
This module integrates Cloudflare's Turnstile service to enhance form security as a CAPTCHA alternative. It works alongside the CAPTCHA module to protect your website's forms from bots and spam.
INTRODUCTION
The Cloudflare Turnstile module uses the Turnstile web service to augment the CAPTCHA system and protect forms. For more information on what Turnstile is, please visit:
https://developers.cloudflare.com/turnstile
This module will add functionality to the CAPTCHA module to support Cloudflare's Turnstile product.
REQUIREMENTS
- Turnstile module depends on the CAPTCHA module
INSTALLATION
- Enable Cloudflare Turnstile and CAPTCHA modules on:
admin/modules
CONFIGURATION
- You'll now find a Turnstile tab on the CAPTCHA administration page available at:
admin/config/people/captcha/turnstile - Register on:
Cloudflare - Input the site and secret keys into the Cloudflare settings.
- Visit the CAPTCHA administration page and set where you want the Turnstile form to be presented:
admin/config/people/captcha
THANK YOU
- Thank you goes to the Cloudflare team for all their help, support and their amazing CAPTCHA replacement.
Required by
1 tracked project depends on this one
- Turnstile Protect 461 sites
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.2.0 | Stable | 10–11 | Jul 15, 2026 | ||
| 1.2.x-dev | Dev | 10–11 | Jul 15, 2026 | ||
| 1.1.26 | Stable | 9–11 | Modify the variable that holds the chosen language, Prevent Turnstile token consumption during non-submitting AJAX requests. | Apr 1, 2026 | |
| 1.1.25 | Stable | 9–11 | Jan 9, 2026 | ||
| 1.1.24 | Stable | 9–11 | Accessibility fixes. | Nov 7, 2025 | |
| 1.1.23 | Stable | 9–11 | Add explicit rendering to better suit modal situations. | Aug 28, 2025 | |
| 1.1.22 | Stable | 9–11 | Fix bug regarding the test keys not working. | Aug 5, 2025 | |
| 1.1.21 | Stable | 9–11 | Fix AJAX form issues from #3330710, #3505942, #3529743 | Jul 16, 2025 | |
| 1.1.20 | Stable | 9–11 | Add the minification flag to the external library, Fix several phpcs and drupal-check issues. | May 23, 2025 | |
| 1.1.19 | Stable | 9–11 | Fix issue #3517124 (thanks, @junkuncz !) | Apr 3, 2025 | |
| 1.1.18 | Stable | 9–11 | Add support for Key module. | Apr 2, 2025 | |
| 1.1.x-dev | Dev | 9–11 | Add "Key" module functionality. | Apr 2, 2025 | |
| 1.1.17 | Stable | 9–11 | Fix hook_library_info_build() | Mar 18, 2025 | |
| 1.1.16 | Stable | 9–11 | Mar 17, 2025 | ||
| 1.1.15 | Stable | 9–11 | Bug fixes and coding standard updates. | Mar 11, 2025 | |
| 1.1.14 | Stable | 9–11 | Fixes as requested in #3505942, #3501149, and feature request in #3440064. Thank you, everyone! | Mar 7, 2025 | |
| 1.1.13 | Stable | 9–11 | Reapply patch from https://www.drupal.org/project/turnstile/issues/3426355 | Oct 31, 2024 |