Drupal CAPTCHA module
Image CAPTCHA example

Add challenge-response tests to user-facing forms on your site to protect against spambot submissions. Other CAPTCHA types are supported via additional modules.

A CAPTCHA is a challenge-response test most often placed within web forms to determine whether the user is human. The purpose of CAPTCHA is to block form submissions by spambots, which are automated scripts that post spam content everywhere they can. The CAPTCHA module provides this feature to virtually any user facing web form on a Drupal site.

Additional CAPTCHA Modules

  • Cloudflare turnstile Compatible with 9 and 10 Drupal.
  • reCAPTCHA Compatible with 8,9 and 10 Drupal.
  • Captcha Riddler Compatible with 8,9 and 10 Drupal.
  • CAPTCHA after Compatible with 8,9 and 10 Drupal with beta rebase on 12 June 2023. (Show CAPTCHA protection on selected forms after specified number of unsuccessful form submit attempts has been made.)
  • Nocaptcha Recaptcha Only for Drupal 8,9 and Not maintained after 27 Nov 2021.

(Last update: 2023-06-29)

Version Information

  • Branch 2.x: Actively maintained version with bug fixes and general improvements, e.g. twig templates). Drupal 9.4+ only! Upgrade path from 8.x-1.x, but please check your output and move custom template overwrites into twig.
  • Branch 8.x-1.x. Legacy branch and a mirror of the 2.x branch. Will not support Drupal 11. Last version to support Drupal 8 is 8.x-1.10.
  • Branch 7.x-1.x: Drupal 7 only, replaced by Branch 8.x-1.x for Drupal 9 compatibility - no further development.

Alternative modules

You could also consider spam filtering or hybrid solutions like:

Supporting organizations: 
proudly helped to create the 2.x version of this module for the Drupal community
Drupal major version readiness

Project information

Releases