A CAPTCHA is a test a website uses to decide whether a visitor is a person or a piece of automated software. The name is an acronym for Completely Automated Public Turing test to tell Computers and Humans Apart. Everybody has met one: a box that says I am not a robot, a grid of photographs asking you to pick every motorbike, a line of warped letters to type. Businesses put them on contact forms, logins, sign-ups and checkouts to stop automated spam and abuse. They work, but each visible test also turns away some real visitors, which is why the better ones increasingly run without asking anybody to do anything.
In short
- A test that separates people from automated software.
- Protects forms, logins and checkouts from spam and abuse.
- Visible puzzles cost some genuine visitors.
- Invisible, score-based checks are usually the better first step.
Why websites use them
Any public form attracts automated submissions. Software fills in contact forms with advertising, tries thousands of passwords on login pages, creates fake accounts and tests stolen card numbers on checkouts. A CAPTCHA puts a step in front of those actions that is easy for a person and expensive for a machine.
For a business website, the most common reason is a contact form flooded with junk, which buries genuine enquiries and teaches staff to stop reading the inbox. Our page on spam covers the wider problem.
The kinds you will see
CAPTCHAs have changed a great deal, and the older kinds are the ones people complain about.
- Distorted text. Warped letters or numbers to type. Largely retired, because software now reads them better than many people do.
- Image puzzles. Pick every square with a traffic light or a bus. Common, slow and frustrating on a small screen.
- The checkbox. Tick I am not a robot. The service watches how the visitor behaves and shows a puzzle only if it is unsure.
- Invisible scoring. Nothing appears. The service judges the visit in the background and returns a score the website acts on.
How reCAPTCHA works
Google’s reCAPTCHA is the most widely used service. Its version 3 never interrupts the visitor. Instead it returns a score for each request, from 0.0 for very likely a bot to 1.0 for very likely a person, and the website decides what to do with it. Google suggests 0.5 as a starting threshold, then adjusting once real traffic has been seen.
Google’s advice is to act quietly on a low score rather than block outright: send a doubtful form submission to a review folder, or ask for email verification on a suspicious login. Google now documents the service as part of its Cloud Fraud Defense products.
Alternatives worth knowing
- Cloudflare Turnstile. Free, embeddable on any website, and usually confirms a visitor without a puzzle.
- hCaptcha. A widely used service that works in a similar way to the checkbox and image versions.
- Hidden fields. A field people cannot see but software fills in anyway. Anything that arrives with it filled is discarded.
- Time checks. A form completed in two seconds was not typed by a person.
The last two cost nothing, involve no outside service and catch a large share of junk on an ordinary business site. Start there, and add a scoring service only if junk keeps arriving.
What it costs you
Every visible test removes some genuine visitors. A customer on mobile data, an older phone or a slow connection may give up on the third grid of photographs, and never tell you. A form that receives fewer enquiries after a CAPTCHA was added may simply be turning customers away along with the spam.
Accessibility is the other cost. Image puzzles are hard or impossible for visitors who are blind or have low vision, and audio alternatives are often difficult to hear. Our page on accessibility explains why a check should never depend only on seeing or hearing a puzzle.
Where a check belongs
Not every page needs the same protection. Match the check to what an attacker would gain.
- Logins. Worth protecting, because software tries stolen passwords in bulk. A low score can trigger a second step instead of a block.
- Sign-ups and checkouts. Worth protecting where fake accounts or card testing are a real problem.
- Contact and quote forms. Usually fine with hidden fields and time checks alone.
- Newsletter forms. Protect them, since fake sign-ups damage your sending reputation.
Privacy and consent
Third-party CAPTCHA services load code from another company and observe how a visitor behaves, often setting cookies. Mention the service in your privacy notice, and consider how it fits with your consent banner. Services that run without cookies, or the simple checks built into the form itself, make this easier.
Where it goes wrong
- A puzzle on every form, including ones that never received spam.
- No fallback for visitors who cannot solve image or audio tests.
- Blocking on a low score instead of sending doubtful entries for review.
- Forgetting the server check, so software skips the test entirely.
- Never measuring whether enquiries fell after the CAPTCHA went live.
Words you will hear
- reCAPTCHA. Google’s CAPTCHA service.
- Turnstile. Cloudflare’s free CAPTCHA alternative.
- Honeypot. A hidden form field used to catch automated submissions.
- Bot. Software that visits websites and acts automatically.
- Score. The likelihood a visit is human, used by invisible checks.
- Challenge. The visible test shown when a service is unsure.
Submit your own contact form from your phone on mobile data and count how long it takes. If a puzzle appears, ask whether the form actually received spam before it was added, and whether a hidden field would have done the job.
Questions we get
More about captcha
What does CAPTCHA mean?
What is reCAPTCHA?
Why do I keep getting CAPTCHA tests?
Does a website need a CAPTCHA?
Do CAPTCHAs hurt conversions?
Are CAPTCHAs a problem for accessibility?
What are the alternatives to reCAPTCHA?
Do it yourself
Guides on the same topic
Free step by step guides for owners doing the work themselves. No sign up and no email required.
Related terms
Contact form
A contact form turns a visitor into a message you can answer. Most lose inquiries in the fields, in an unwatched inbox, or in a missing confirmation.
Spam
Spam is unwanted bulk messaging, by email, text, comment or form. What counts as spam, why genuine business mail gets treated as it, and how to avoid that.
Accessibility
Accessibility is whether people can use your website however they reach it: by screen reader, keyboard alone or with low vision. WCAG is the standard.