CAPTCHA alternatives: stopping bots without testing people

Every CAPTCHA asks real people to prove something, and some of them cannot. CAPTCHA alternatives move the check away from the person: to the browser, to the form, to the rate of attempts, or to what is submitted. None is perfect, but several together often stop as much automation as a puzzle while costing visitors nothing at all.

Section Bots Updated Compares six alternatives

Quick facts

Why look for alternatives
Visual and audio tests exclude people; the W3C documents who
Main alternatives
JavaScript challenge, proof of work, honeypot field, rate limits, verification by email or phone, risk scoring
What they share
They ask the visitor nothing, or ask only when other signals point to automation
What none of them prove
That the visitor is a person; they make automation more expensive
Best results
Several cheap checks combined, each tuned to the action it protects

What a CAPTCHA is and its forms are on CAPTCHA and types of CAPTCHA.

CAPTCHA alternatives compared

AlternativeHow it worksStopsCosts real people
JavaScript challengeThe browser must run a script and return the resultSimple scripts that do not run JavaScriptVisitors with scripts disabled; a short delay
Proof of workThe browser solves a small computing puzzleAutomation at scale, by making each attempt cost CPUBattery and time on slow devices
Honeypot fieldA hidden field only bots fill inBots that fill every fieldNothing, if hidden from screen readers too
Rate limitsAttempts per account, address or session are cappedBrute force, stuffing and spam at volumeShared networks, if limits are tight
Email or phone verificationA link or code must be receivedMass sign-ups with fake contact detailsA step and a wait; no access without the channel
Risk scoringSignals are scored and only risky visits are checkedDepends on the signalsUnexplained refusals for unusual setups

The right column is what to weigh. An alternative that stops slightly less automation but excludes nobody is often the better choice.

The tick box and the checks behind it are explained for visitors under I'm not a robot.

Alternative CAPTCHA: another test, or no test

An alternative CAPTCHA is either a different test in the same place or a replacement for the test altogether, and the two differ in what they ask of a person.

Alternative CAPTCHA: another test, or no test
Another test in the same placeNo test
ExamplesA tick box, an invisible check, a puzzle from another providerHoneypot field, rate limit, JavaScript challenge, proof of work, email verification
Fails forAnyone who cannot solve the test it finally showsPeople without the script, channel or device speed the check needs

Accessible authentication: what WCAG 2.2 says

On a sign-in form the choice is not only taste. WCAG 2.2 success criterion 3.3.8, Accessible Authentication (Minimum), at level AA, says a cognitive function test, such as remembering a password or solving a puzzle, is not required for any step in an authentication process unless that step provides an alternative, a mechanism to assist, object recognition or personal content. The W3C's explanation adds that an audio version of a text CAPTCHA, if the visitor must transcribe it, cannot serve as the alternative. For a sign-in form, a puzzle-style alternative CAPTCHA needs one of those exceptions; a honeypot field or rate limit sets no such test.

JavaScript challenges

A JavaScript challenge sends the browser a small script whose result must come back before the page or action proceeds. Real browsers do it in the background; scripts that only send HTTP requests fail.

Automation built on full browsers passes it, so it removes the cheapest bots, not the determined ones. It also fails for people who block scripts, which should lead to an alternative path, not a dead end.

ALTERNATIVES BY COST AND REACH ASKS THE VISITOR NOTHING STOPS HEADLESS BROWSERS ACCESSIBLE BY DEFAULT JAVASCRIPT CHALLENGE PROOF OF WORK HONEYPOT FIELD RATE LIMITS VISUAL CAPTCHA // rate limits reach browser-based bots because they count attempts, not browsers
// five checks, and what each costs and reaches

Proof of work and honeypots

Proof of work asks the browser to find a value with a property that takes measurable computing time to find and almost none to check. One attempt costs a fraction of a second; a million attempts cost real money. It is invisible to people, though slower on old phones.

A honeypot is a form field hidden from people. Bots that fill every field reveal themselves. It costs nothing and stops only naive bots, which on many sites are most of the spam; see spam bots.

Accessibility: who each alternative leaves out

The W3C note on the inaccessibility of CAPTCHA explains why visual and audio puzzles shut out people with visual, hearing and cognitive disabilities. Alternatives that ask nothing remove most of that problem, but each has its own edge cases.

A honeypot field must be hidden from screen readers as well as from sight, or a blind visitor may fill it in and be refused. A JavaScript challenge fails for people using text browsers or strict script blocking. Proof of work makes old and low-power devices wait longer. Email or phone verification excludes people without that channel. Every check needs a way through for a real person who fails it.

Choosing the best CAPTCHA alternative

  1. Name the threat for each form. Sign-up spam, credential stuffing and carding need different checks; the OWASP Automated Threats list helps name them.
  2. Start with what asks nothing. Honeypot fields and rate limits on the action.
  3. Add a browser check where needed. A JavaScript challenge or proof of work for actions worth automating.
  4. Keep a human-friendly fallback. Email verification or support contact, never a dead end.
  5. Measure both sides. Automation stopped, and real people who gave up.

Combining alternatives on one form

A sign-up form might use three layers: a honeypot field that silently drops naive bots, a rate limit per address and per email domain that stops volume, and email verification before the account can do anything that matters. None of the three asks a real person to solve anything.

A sign-in form needs different layers, because the threat is credential stuffing rather than spam: limits across accounts, checks against known leaked passwords, and multi-factor authentication. Matching the layers to the form is what makes alternatives work better than a single puzzle on every page.

Questions

What are alternatives to CAPTCHA?

JavaScript challenges, proof of work, honeypot fields, rate limits, email or phone verification, and risk scoring that checks only suspicious visits.

What is a JavaScript challenge?

A JavaScript challenge requires the browser to run a script and return its result before continuing, which stops simple bots that do not execute JavaScript.

What is the best CAPTCHA alternative?

There is no single best one. Combining a honeypot field and rate limits on the action, with a browser check for valuable actions, stops most automation without asking people anything.

What is an alternative CAPTCHA?

An alternative CAPTCHA is either a different test in the same place, such as a tick box or invisible check, or a replacement for the test: a honeypot field, rate limit, JavaScript challenge, proof of work or email verification. The second kind asks real visitors nothing.

What does the W3C say about CAPTCHA on sign-in forms?

WCAG 2.2 criterion 3.3.8 (level AA) says a cognitive function test, such as solving a puzzle, is not required in an authentication step unless it provides an alternative, a mechanism to assist, object recognition or personal content.