Invisible reCAPTCHA v2 is a variant of Google’s reCAPTCHA that operates without user interaction—unless the system suspects bot activity. It’s commonly used on forms, login pages, or actions like clicking a button or submitting data.
You can identify invisible reCAPTCHA by:
- The presence of
size=invisiblein the reCAPTCHA configuration. - A DOM element positioned far off-screen (e.g.,
top: -10000px), making it invisible to users. - Dynamic execution triggered by user actions (e.g., form submission) or page load.

Demo: See how it works at Google’s invisible reCAPTCHA v2 demo.
Locate the Site Key and Page URL
- Check for
data-sitekeyin the HTML or thekparameter in reCAPTCHA script URLs. - Note the full page URL where the invisible reCAPTCHA is active.
- Check for
Submit the task:
- For API V1: Send a request to
in.phpwithmethod=userrecaptcha,googlekey,pageurl, andinvisible=1.
→ See API V1 – Invisible reCAPTCHA v2 - API V2 COMING SOON
- For API V1: Send a request to
Receive a task ID and wait 15–20 seconds.
Poll for the result:
- API V1: via
res.php
→ See API V1 – Get Result - API V2 COMING SOON
- API V1: via
Apply the token based on the site’s implementation:
Standard injection (most common):
document.getElementById("g-recaptcha-response").innerHTML = "TOKEN_FROM_CAPTCHAAI";Then Trigger the protected action (e.g., form submission, button click) immediately after token injection.
Callback-based execution (if the site uses one):
// Replace `onVerify` with the actual callback name onVerify("TOKEN_FROM_CAPTCHAAI");
Note: Invisible reCAPTCHA often validates the token only when the protected action occurs—so ensure the token is set before triggering that action.