# reCAPTCHA v2 vs v3: which one stops more bots?

> reCAPTCHA v2 asks the visitor to tick a box and sometimes pick images, then returns pass or fail. v3 never shows a challenge. It returns a score from 0.0 (likely a bot) to 1.0 (likely human) with the action name, and your code decides what to do. v3 blocks only what your own thresholds block, so its protection depends on how you tune them.

Category: CAPTCHA and challenges. Level: Intermediate. Updated: 2026-11-24.
Canonical page: https://stopbots.io/learn/captcha/recaptcha-v2-vs-v3/

Both versions use the same token model and the same siteverify endpoint. The difference is who makes the decision. With v2, Google decides: the visitor passes the checkbox or image challenge, or fails it. With v3, Google sends a score for every request and leaves the decision, and the tuning, to your code.

## How does reCAPTCHA v2 work?

v2 comes in three forms: the "I'm not a robot" checkbox, an invisible variant bound to a button that only shows a challenge when it is unsure, and a version for Android apps. When the visitor ticks the box, reCAPTCHA scores the browser and its history with Google. If that is not enough, it shows an image grid ("select all squares with buses").

Your server gets `success`, `challenge_ts` and `hostname`. There is no score, so every token that verifies counts as a pass and the gate is Google's decision. Researchers at ETH Zurich solved all the v2 image challenges they attempted with object detection models, and found that v2 relies heavily on cookies and browser history ([Plesner, Vontobel and Wattenhofer, 2024](https://arxiv.org/abs/2409.08831)). Bots also buy v2 tokens from [solving services](https://stopbots.io/learn/captcha/how-captcha-solvers-work.md).

## How does reCAPTCHA v3 work?

v3 runs in the background and returns a token for a named action. [Google's v3 guide](https://developers.google.com/recaptcha/docs/v3) gives the details that matter:

- The score runs from 0.0 to 1.0, where 1.0 is very likely a good interaction and 0.0 very likely a bot.
- "By default, you can use a threshold of 0.5."
- You should verify that the action name is the one you expect, and actions must not be user-specific.
- Tokens expire after two minutes, so request the token when the visitor submits, not when the page loads.
- Google recommends running v3 on forms and also in the background of pages, which gives it more context.

On the page, after loading `https://www.google.com/recaptcha/api.js?render=YOUR_SITE_KEY`:

```js
const form = document.getElementById("signup-form");

form.addEventListener("submit", (event) => {
  event.preventDefault();
  grecaptcha.ready(() => {
    grecaptcha.execute("YOUR_SITE_KEY", { action: "signup" }).then((token) => {
      form.elements.recaptcha_token.value = token;
      form.submit();
    });
  });
});
```

On the server (Node.js 18 or later):

```js
async function recaptchaScore(token, ip, expectedAction) {
  const body = new URLSearchParams({ secret: process.env.RECAPTCHA_SECRET, response: token, remoteip: ip });
  const res = await fetch("https://www.google.com/recaptcha/api/siteverify", { method: "POST", body });
  const data = await res.json();
  if (!data.success || data.action !== expectedAction || data.hostname !== "www.example.com") return null;
  return data.score;
}
```

A `null` result means the token failed, came from another form or came from another host. Reject those outright.

## Does reCAPTCHA v3 stop bots?

v3 does not block anything by itself. A score turns into protection only when your code acts on it. Start with bands like these and tune them with your own data:

- 0.7 and above: allow.
- 0.3 to 0.7: ask for an extra step, such as email confirmation, a v2 checkbox, a one-time code or manual review for payouts.
- Below 0.3: block. For spam forms you can accept the submission and discard it, so the bot gets no feedback.

Before you enforce, log scores per action for one to two weeks. See where known good customers and known abuse fall, and set thresholds per action, because login and newsletter traffic score differently. Every threshold blocks some real people, so track complaints and lockouts as [false positives](https://stopbots.io/learn/detection/bot-detection-false-positives.md).

A high score is not proof either. Bots in real browsers with clean cookies, and tokens from solving services, can score well. Pair the score with limits per account, device and IP address, as described in [rate limiting for bots](https://stopbots.io/learn/implementation/are-rate-limits-enough-to-stop-bots.md).

## v2 or v3: which one stops more bots?

No independent public benchmark answers this for your traffic. The choice is about who carries the cost and who does the work:

- v2 puts a fixed cost on every suspicious visitor and Google decides who that is. It is simple to deploy, but it costs real users time, and machine learning models and human solvers pass its puzzles.
- v3 costs visitors nothing visible and lets you respond differently per action. You have to build the thresholds and fallbacks and keep tuning them. A v3 integration that checks only `success` stops little more than scripts that send no token at all.
- Combined, v3 runs first and v2 appears only for low scores. Most visitors see nothing, and the doubtful ones get a challenge instead of a block.

As a rule of thumb, a small team with a few forms will get more from the v2 checkbox, or a puzzle-free option such as Turnstile ([compared here](https://stopbots.io/learn/captcha/recaptcha-vs-hcaptcha-vs-turnstile.md)). A team that can log, measure and tune should use v3 with step-up checks.

## What are the privacy points?

v3 works best when it runs on many pages, which sends more of each visitor's browsing to Google. Google's FAQ says reCAPTCHA sets a necessary cookie, `_GRECAPTCHA`, for its risk analysis. Mention reCAPTCHA in your privacy notice and check whether your jurisdiction's consent rules cover it. That depends on local law and this is not legal advice.

## Tools that help

_StopBots is published by Kairal, which is one of the tools listed. The list is not a ranking._
- [Google reCAPTCHA](https://cloud.google.com/security/products/recaptcha): both v2 and v3, managed through Google Cloud, with a no-cost tier.
- [Cloudflare Turnstile](https://www.cloudflare.com/application-services/products/turnstile/): a free alternative to v2 with no image puzzles, enough for many small sites.
- [hCaptcha](https://www.hcaptcha.com/): checkbox and image challenges similar to v2, with a risk score on its Enterprise tier.
- [Friendly Captcha](https://friendlycaptcha.com/): a puzzle-free widget based on proof of work and risk signals.

## Common questions

### Can you use reCAPTCHA v2 and v3 together?

Yes. A common pattern runs v3 on the form and, when the score is below your threshold, shows a v2 checkbox challenge instead of rejecting the request. v2 and v3 use separate site keys, so register one of each.

### Is reCAPTCHA v3 invisible?

There is no puzzle, but Google requires the reCAPTCHA badge on the page. You may hide the badge only if you show reCAPTCHA branding text, with links to Google's Privacy Policy and Terms of Service, in the user flow.

### Is reCAPTCHA free?

There is a no-cost tier with usage limits, and usage above it is billed through Google Cloud. The terms have changed over time, so check Google's current reCAPTCHA pricing page.

## Related

- [reCAPTCHA vs hCaptcha vs Cloudflare Turnstile](https://stopbots.io/learn/captcha/recaptcha-vs-hcaptcha-vs-turnstile.md)
- [How CAPTCHA solving services work](https://stopbots.io/learn/captcha/how-captcha-solvers-work.md)
- [False positives in bot detection: how to measure and reduce them](https://stopbots.io/learn/detection/bot-detection-false-positives.md)
- [Rate limiting for bots: what it stops and what it misses](https://stopbots.io/learn/implementation/are-rate-limits-enough-to-stop-bots.md)
