Skip to main content
Agency Program Hosting from 10% off. A dedicated account manager. Priority support. Built for growing agencies. Hosting from 10% off, a dedicated account manager and priority support for growing agencies. Speak to the team Join free
Contact Form 7 Captcha icon

Contact Form 7 Captcha

v0.2.0
by Costel Tudose · 4.1 (48 reviews)

Add CAPTCHA to Contact Form 7

100K+ active installs Updated Sep 24, 2026 Tested to 7.1.5
Try Demo Download
Pre-installed Ready in ~10s No card

About Contact Form 7 Captcha

This is a plugin that allows you to protect your Contact Form 7 forms with Google CAPTCHA V2, hCAPTCHA, or Cloudflare Turnstile CAPTCHA. It is easy to integrate and supports multiple forms on a single page. To use it, generate the necessary keys and update the settings accordingly, then add the appropriate shortcode to your forms for the desired protection.

Frequently asked questions

How do I use this plugin?
To use this plugin, you need to sign up for API keys for your site via google site: https://www.google.com/recaptcha/admin
What does this plugin implement?
This plugin implements “I’m not a robot” checkbox. When generating keys, choose reCAPTCHA v2 -> Checkbox
How can I add Google CAPTCHA to Contact Form 7?
Add Google CAPTCHA to Contact Form 7.
Can this plugin be used to protect multiple forms on the same page?
Yes, it can be used to protect multiple forms on the same page.
What versions of Contact Form 7 and WordPress are tested with this plugin?
Tested with Contact Form 7 version 5.8 and WordPress version 6.3

Changelog

0.2.0

  • Fix: reCAPTCHA v3 token is now refreshed after every form submission, preventing “Invalid captcha” errors when resubmitting a form after a validation error.
  • Fix: reCAPTCHA v3 script is no longer added multiple times when several forms are on the same page.

0.1.9

  • Security fix: A vulnerability allowed an unauthenticated visitor to trigger execution of shortcode content when submitting a form. Reported responsibly by Jakub Herman via WPScan/Jetpack (Automattic). All users are strongly encouraged to update immediately.

0.1.8

  • Fix: Updated “Requires at least” version to match plugin headers and readme.
  • Fix: Reduced tags list to comply with the 5-tag limit.
  • Improvement: Documented third-party services (Google reCAPTCHA, hCaptcha, Cloudflare Turnstile) in the readme.
  • Improvement: Revised plugin description to remove unverifiable marketing claims.
  • Security: Added proper output escaping to shortcode callbacks to prevent XSS.

0.1.7

  • New: Introduced [cf7sr-insights] tag – easily collect sender’s IP, Source Page, and Browser info.
  • New: Added support for Google reCAPTCHA v3 Invisible
  • Improvement: Security upgrade – Switched CAPTCHA verification to POST method.
  • Improvement: Enhanced bot detection by including ‘remoteip’ in API verification calls.
  • Improvement: Performance boost – Optimized form validation to bypass expensive shortcode rendering.
  • Improvement: Cleaned up and consolidated language files for a smaller plugin footprint.
  • Fix: Modernized script enqueuing system to eliminate conflicts with modern themes/popups.
  • Fix: Corrected Hungarian translation and refined admin notice dismissal behavior.
  • Fix: Resolved a bug in the admin notice dismissal logic.

Try other plugins

Yoast SEO icon

Yoast SEO

4.8 · 10M+ installs

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…