Comparisons

reCAPTCHA v2 vs v3 Explained

reCAPTCHA v2 shows a visible challenge — the "I'm not a robot" checkbox and image grids. reCAPTCHA v3 runs silently in the background and returns a score without any user interaction.

Both versions protect against bots, but they work in fundamentally different ways. This guide breaks down the key differences and explains how to handle each version.


Side-by-side comparison

Feature reCAPTCHA v2 reCAPTCHA v3
User interaction Checkbox + image challenge None (invisible)
Result type Pass/fail Score (0.0–1.0)
UX impact Interrupts user flow Zero friction
Detection method Challenge-response Behavioral analysis
Action parameter Not used Required
Enterprise variant Yes Yes
JavaScript file api.js api.js?render=SITEKEY
DOM element g-recaptcha div No visible element
Token field g-recaptcha-response g-recaptcha-response

How reCAPTCHA v2 works

  1. Page loads api.js and renders the checkbox widget
  2. User clicks "I'm not a robot"
  3. Google analyzes browser signals (cookies, mouse movement, IP)
  4. If signals are clean → immediate pass
  5. If suspicious → image grid challenge appears
  6. User solves the grid → token generated
  7. Site backend verifies token with Google
<!-- v2 on the page -->
<div class="g-recaptcha" data-sitekey="6Le-wvkSAAAAAPBMRTvw..."></div>
<script src="https://www.google.com/recaptcha/api.js"></script>

How reCAPTCHA v3 works

  1. Page loads api.js?render=SITEKEY — no visible widget
  2. JavaScript continuously monitors user behavior
  3. When an action triggers, grecaptcha.execute() is called
  4. Google returns a token with an embedded score
  5. Site backend verifies token and reads the score
  6. Backend decides: allow, challenge, or block based on score
<!-- v3 on the page -->
<script src="https://www.google.com/recaptcha/api.js?render=6LfZil0UAAAAADM1..."></script>
<script>
  grecaptcha.ready(function() {
    grecaptcha.execute('6LfZil0UAAAAADM1...', {action: 'submit'}).then(function(token) {
      document.getElementById('g-recaptcha-response').value = token;
    });
  });
</script>

How to identify which version a site uses

Check v2 indicator v3 indicator
Visible checkbox
api.js?render= in source
grecaptcha.execute() with action
g-recaptcha div in DOM ❌ (usually)
data-sitekey attribute
invisible parameter ✅ (invisible v2)

See How to Identify reCAPTCHA Version for detailed detection steps.


Solving v2 with CaptchaAI

import requests, time

# Submit v2 task
resp = requests.get("https://ocr.captchaai.com/in.php", params={
    "key": "YOUR_API_KEY",
    "method": "userrecaptcha",
    "googlekey": "6Le-wvkSAAAAAPBMRTvw...",
    "pageurl": "https://example.com/form",
    "json": 1
})
task_id = resp.json()["request"]

# Poll for token
for _ in range(30):
    time.sleep(5)
    result = requests.get("https://ocr.captchaai.com/res.php", params={
        "key": "YOUR_API_KEY", "action": "get", "id": task_id, "json": 1
    }).json()
    if result.get("status") == 1:
        v2_token = result["request"]
        break

Solving v3 with CaptchaAI

# Submit v3 task — note the version and action parameters
resp = requests.get("https://ocr.captchaai.com/in.php", params={
    "key": "YOUR_API_KEY",
    "method": "userrecaptcha",
    "version": "v3",
    "googlekey": "6LfZil0UAAAAADM1...",
    "action": "submit",
    "pageurl": "https://example.com/form",
    "json": 1
})
task_id = resp.json()["request"]

for _ in range(30):
    time.sleep(5)
    result = requests.get("https://ocr.captchaai.com/res.php", params={
        "key": "YOUR_API_KEY", "action": "get", "id": task_id, "json": 1
    }).json()
    if result.get("status") == 1:
        v3_token = result["request"]
        break

Key difference: v3 requires version=v3 and action parameters.


When sites use both

Many sites use v3 as the first layer and fall back to v2 if the v3 score is low:

  1. v3 runs silently on page load → score = 0.2
  2. Site threshold is 0.5 → v3 fails
  3. Site shows v2 checkbox as fallback
  4. User solves v2 → access granted

Strategy for automation:

  1. Try v3 first — it's faster and cheaper
  2. If the site still blocks you, look for a v2 fallback
  3. Solve the v2 challenge and submit that token instead

Which version is harder to solve?

Aspect v2 v3
Solving speed 15–30 seconds (image challenges) 5–10 seconds (no visual challenge)
Success rate High (binary pass/fail) Variable (depends on score threshold)
Cost per solve Higher (more complex) Lower (simpler task)
Reliability More predictable Score may not meet threshold

v2 is more reliable but slower. You always get a pass/fail result. v3 is faster but less predictable. The token may have a low score that the site rejects.


FAQ

Can a site use both v2 and v3?

Yes. This is a common pattern — v3 runs first, and v2 appears as a fallback for low scores.

Do v2 and v3 use the same sitekey?

No. Each version has its own sitekey. A v2 sitekey will not work for a v3 solve and vice versa.

Which version should I solve first?

Try v3 first — it's faster and does not require image recognition. If the token is rejected, fall back to v2.

Can I tell the reCAPTCHA version from the sitekey alone?

No. The sitekey format is the same for both versions. You must check how the page loads and uses the captcha.

Is reCAPTCHA v3 replacing v2?

Google still supports both versions. Many legacy sites use v2, and new sites often deploy v3. Enterprise customers can choose either or both.


Discussions (0)

No comments yet.

Related Posts

Comparisons GeeTest vs reCAPTCHA
Compare Gee Test and re CAPTCHA side by side.

Compare Gee Test and re CAPTCHA side by side. Learn about challenge types, detection methods, solving approach...

Automation reCAPTCHA v3 Testing
Apr 01, 2026
Comparisons Headless vs Headed Chrome for CAPTCHA Solving
Compare headless and headed Chrome for CAPTCHA automation — detection differences, performance trade-offs, and when to use each mode with Captcha AI.

Compare headless and headed Chrome for CAPTCHA automation — detection differences, performance trade-offs, and...

Python Automation Cloudflare Turnstile
Mar 09, 2026
Comparisons reCAPTCHA v3 Enterprise vs Standard Comparison
Compare re CAPTCHA v 3 Enterprise and Standard versions.

Compare re CAPTCHA v 3 Enterprise and Standard versions. Learn about scoring differences, reason codes, enterp...

Automation reCAPTCHA v3 Migration
Feb 16, 2026
Comparisons reCAPTCHA Enterprise vs Standard — Complete Guide
Compare re CAPTCHA Enterprise and Standard versions.

Compare re CAPTCHA Enterprise and Standard versions. Learn the differences in features, scoring, pricing, and...

Automation reCAPTCHA v3 Migration
Feb 05, 2026
Comparisons Standard vs Enterprise reCAPTCHA v3 Solving Guide
Practical comparison of standard and enterprise re CAPTCHA v 3.

Practical comparison of standard and enterprise re CAPTCHA v 3. Covers detection, solving parameters, and Capt...

Automation reCAPTCHA v3 Migration
Jan 27, 2026
Comparisons reCAPTCHA v2 vs Invisible reCAPTCHA Explained
Compare re CAPTCHA v 2 checkbox and invisible variants.

Compare re CAPTCHA v 2 checkbox and invisible variants. Learn detection differences, UX impact, solving parame...

Automation reCAPTCHA v3 Migration
Jan 12, 2026
Reference CAPTCHA Token Injection Methods Reference
Complete reference for injecting solved CAPTCHA tokens into web pages.

Complete reference for injecting solved CAPTCHA tokens into web pages. Covers re CAPTCHA, Turnstile, and Cloud...

Python Automation Cloudflare Turnstile
Apr 08, 2026
Explainers How to Get High Human Score on reCAPTCHA v3
proven techniques to achieve a high re CAPTCHA v 3 score.

Learn proven techniques to achieve a high re CAPTCHA v 3 score. Covers browser setup, behavioral signals, prox...

Automation reCAPTCHA v3
Apr 04, 2026
Comparisons ISP Proxies vs Datacenter Proxies for CAPTCHA Solving
Compare ISP and datacenter proxies for CAPTCHA solving — detection rates, speed, cost, and which works best with Captcha AI.

Compare ISP and datacenter proxies for CAPTCHA solving — detection rates, speed, cost, and which works best wi...

Cloudflare Turnstile reCAPTCHA v2 reCAPTCHA v3
Apr 05, 2026
Comparisons Turnstile vs hCaptcha vs reCAPTCHA: Three-Way Comparison
Compare Cloudflare Turnstile, h Captcha, and re CAPTCHA side by side — UX, difficulty, implementation, and how Captcha AI handles each.

Compare Cloudflare Turnstile, h Captcha, and re CAPTCHA side by side — UX, difficulty, implementation, and how...

All CAPTCHA Types Migration
Jan 29, 2026
Comparisons Why Developers Switch from 2Captcha to CaptchaAI
Discover why developers are migrating from 2 Captcha to Captcha AI — faster speeds, higher success rates, and better Cloudflare support.

Discover why developers are migrating from 2 Captcha to Captcha AI — faster speeds, higher success rates, and...

Python All CAPTCHA Types
Apr 03, 2026
Comparisons Cloudflare Managed Challenge vs Interactive Challenge
Understand the difference between Cloudflare's Managed Challenge and Interactive Challenge, how each works, and the best approach for solving them.

Understand the difference between Cloudflare's Managed Challenge and Interactive Challenge, how each works, an...

Automation Cloudflare Challenge Migration
Mar 31, 2026