
Stopping spam on your website contact form: reCAPTCHA and alternatives
Spam in a contact form takes time to sort through, and a tool can filter it. Two options are Google reCAPTCHA and Cloudflare Turnstile. This article explains what each does, what to know before adding one, and how to choose without putting off real customers.
What reCAPTCHA is
Google describes reCAPTCHA as a service that helps you protect your sites from fraudulent activities, spam and abuse. It comes in a few versions:
- v3, which returns a score and, according to Google's FAQ, is aimed at giving site owners data about their traffic.
- v2, the checkbox-style challenge, which also has an Invisible version and an Android version.
- Enterprise, which Google documents separately.
The two versions to compare are v3 and the v2 checkbox.
The server-side check
Adding the widget to your page is only half the job. reCAPTCHA uses two keys. The site key goes on the page. The secret key stays on your server, and Google says it needs to be kept safe for security purposes. The final setup step is for your server to check the visitor's response with Google.
This matters because a widget that is only displayed does not block anything. If your form still accepts the submission whether or not the check passed, the spam keeps arriving. If you use a website builder or a form plugin, ask whether it performs this server-side check. If a developer sets it up, ask them the same question.
Cost and limits
Standard reCAPTCHA is free up to 1,000,000 calls a month or 1,000 a second. Above that you must use reCAPTCHA Enterprise, which Google says offers up to 10,000 assessments a month at no cost. The source does not say how a small site compares with those limits.
Privacy and cookies
reCAPTCHA sets a necessary cookie called _GRECAPTCHA when it runs, in order to provide its risk analysis. If you publish a cookie or privacy notice, make sure it reflects this. It is a good reason to review that notice whenever you add or change a form protection tool.
Cloudflare Turnstile as an alternative
Cloudflare Turnstile is a CAPTCHA alternative that usually shows visitors no puzzle. Its recommended Managed widget may show a checkbox, depending on how risky the visitor looks. Cloudflare says it can be embedded into any website without sending your traffic through Cloudflare, so you do not need to move your site to use it.
Its Free plan includes unlimited challenges, all widget types and WCAG 2.2 AAA compliance. The limits are:
- 20 widgets per account
- 10 hostnames per widget
- 7 days of analytics
- Cloudflare branding stays on the widget
If you need longer analytics or want the branding removed, check Cloudflare's plans page for what applies to you.
Which should you choose?
- You already use Google tools: reCAPTCHA is a reasonable choice. Plan for the cookie notice and the server-side check.
- You want visitors to see as little as possible: Turnstile's usual no-puzzle approach is worth trying, and you can use it without routing your site through Cloudflare.
- You are unsure either is set up properly: test your form. Submit it as a normal visitor, then ask your developer or form provider to confirm that the server rejects submissions that fail the check.
Whichever you pick, try the form yourself on a phone and on a computer afterwards, to be sure real customers can still get through. No tool removes spam completely.
A short checklist
- 1Choose a tool: reCAPTCHA or Turnstile.
- 2Put the site key on the form page.
- 3Keep the secret key on the server, never in the page.
- 4Make sure the server verifies each response before accepting the message.
- 5Update your cookie or privacy notice if you use reCAPTCHA.
- 6Test the form as a real visitor.
If you would like help adding spam protection to a form on your own site, get in touch via our contact page.
Continue Reading
Discover more insights and stories


