How to protect website forms from spam (reCAPTCHA, Turnstile and honeypot)
If your contact or quote form sends you dozens of junk messages every day, bots have found it. Form spam wastes your team's time, hides real customer requests and can even get your email marked as spam. This guide shows you how to protect website forms from spam using reCAPTCHA, Cloudflare Turnstile, honeypot fields and a few simple settings.
Choose a protection method
| Method | How it works | Visitor experience |
|---|---|---|
| Honeypot | A hidden field that humans do not see but bots fill in. | Invisible |
| Google reCAPTCHA v3 | Scores each visitor in the background. | Usually invisible |
| Google reCAPTCHA v2 | The "I'm not a robot" checkbox, sometimes with picture puzzles. | One click or a puzzle |
| Cloudflare Turnstile | A privacy-friendly check from Cloudflare, without picture puzzles. | Usually automatic |
| Akismet or similar | Checks the message content against a spam database. | Invisible |
For most business sites, a honeypot plus reCAPTCHA v3 or Turnstile stops the vast majority of spam.
Set up Google reCAPTCHA
- Go to the reCAPTCHA admin console and sign in with a Google account.
- Create a new site, choose the reCAPTCHA type (v3 or v2) and add your domain name.
- Copy the Site key and Secret key.
- In WordPress, open your form plugin's integration or settings page (for example Contact → Integration in Contact Form 7) and paste the keys.
- Submit a test message from the site to make sure real messages still arrive.
Set up Cloudflare Turnstile
- Log in to the Cloudflare dashboard and open Turnstile. You do not need to move your DNS to Cloudflare to use it.
- Add a widget, enter your domain name and choose the widget mode.
- Copy the site key and secret key.
- Paste them into your form plugin if it supports Turnstile, or use a Turnstile add-on plugin for your form builder.
- Send a test message.
Extra settings that reduce spam
- Turn on the honeypot or "anti-spam" option in your form plugin (WPForms, Elementor forms, Gravity Forms and others offer one; Contact Form 7 can use a honeypot add-on).
- Block links in the message field if customers do not need to send them.
- Make the form send from an address on your own domain and put the visitor's email in Reply-To, so your mail is delivered properly (see SPF, DKIM and DMARC).
- Delete old, unused forms and test pages that bots may still find.
- If your site is behind Cloudflare, a rate-limiting or WAF rule on the form URL can stop floods.
Common problems
- Real customers cannot send: the domain in reCAPTCHA or Turnstile settings does not match your site, or the keys were pasted the wrong way round.
- Spam continues after adding CAPTCHA: clear the site cache, then check that the CAPTCHA appears on every form, including popups and footer forms.
- Human spam (manual messages): CAPTCHA cannot stop people typing by hand. Use content filtering such as Akismet or blocked words.
Frequently asked questions
Is reCAPTCHA or Turnstile free?
Both have free tiers that are enough for normal business websites. Check the current limits on the provider's site if you receive very high traffic.
Will CAPTCHA hurt my conversions?
Invisible options (reCAPTCHA v3, Turnstile, honeypot) have little impact on real visitors, unlike picture puzzles.