Auto captcha solving scripts

Captcha bypass code examples in PHP Python, Java, C#, Golang, Ruby, JavaScript

For the convenience of developers, we have created pages for all popular programming languages, in which you can see examples of code for bypassing all major types of captcha.

The pages provide sources for downloading libraries from GitHub and other repositories, a standard error handler, and a description of all the necessary parameters to configure installed script packages.

Logo of «GitHub»

Captcha bypass solution on GitHub

Full documentation and captcha bypass code examples on GitHub

  • PHP captcha solver

    A package of libraries and examples of PHP scripts for integration with the API of the 2Captcha service and automation of bypassing any kind of captcha. Standard error handler, parameter values, and configuration descriptions.

    PHP captcha solver
  • Python captcha solver

    Examples of scripts in Python and SDK for integration with the API of the 2Captcha service. An overview of the parameters and their possible values. Automation of solving all popular types of captcha and description of an error handler.

    Python captcha solver
  • Java captcha solver

    Libraries in Java and example scripts for bypassing all types of captcha. Integration with the API of the 2Captcha service to automate the solution of captcha with a description of parameters and configurations, as well as a description of standard errors and their handler.

    Java captcha solver
  • C# captcha solver

    Codes of example scripts on Csharp for bypassing recaptcha and other popular types of captchas. A set of libraries and SDK for integration and interaction with the API of the 2Captcha service. Variable configurations and error handler.

    C# captcha solver
  • Go captcha solver

    A set of Go scripts and libraries for integration with the 2Captcha service API. An overview of configurable configurations and a description of possible parameter values ​​for bypassing all types of captcha. Standard error handling.

    Go captcha solver
  • Ruby captcha solver

    Quickly recognize and bypass various captchas using Ruby. Use Ruby client and API of captcha solving service 2Captcha to automatically bypass reCAPTCHA, Arkose captcha, Geetest and other captchas.

    Ruby captcha solver
  • JavaScript captcha solver

    Examples of JavaScript scripts and npm SDK for integration with the API of 2Captcha service. Overview of customizable configurations and examples of automatic bypass of reCAPTCHA, Arkose captcha, Geetest, Cloudflare and other captchas.

    JavaScript captcha solver
Bypass captcha using Selenium/Puppeteer with 2Captcha service

Supported captchas

We’ve made it easy to integrate our products into your system, offering a quick and easy start to your web project with support for multiple programming languages and ready-to-use code examples.

«reCAPTCHA V2» logo

The process of solving reCAPTCHA V2 is as follows: we take the captcha parameters from the page in the form of the data-sitekey parameter and the page URL and transfer it to the 2Captcha service, where the employee solves it, then the response is returned to us in the form of a token, which must be entered into the appropriate field for the solution captcha

API demoHow to solve
«reCAPTCHA V2 Callback» logo

The process of solving reCAPTCHA V2 Callback does not differ from the similar process of solving reCAPTCHA V2: we take the captcha parameters from the page in the form of the data-sitekey parameter and the page URL and transfer it to the 2Captcha service, where the employee solves it, then the response is returned to us in as a token, which we should be entered into the appropriate field to solve the captcha. Sometimes you won't find a button submitting a form. A callback function can be used instead. This function is executed when the captcha is recognized. Usually the callback function is defined in the data-callback parameter or as the callback parameter of the grecaptcha.render method call

API demoHow to solve
«reCAPTCHA V2 Invisible» logo

The process of solving reCAPTCHA V2 Invisible is similar to the recognition of reCAPTCHA V2: we take the captcha parameters from the page in the form of the data-sitekey parameter and the page URL and transfer it to the 2Captcha service, where the employee solves it, after which the response is returned to us in the form of a token, which we need enter in the appropriate field to solve the captcha

API demoHow to solve
«Image Captcha» logo

The process of solving a image captcha is as follows: we take the captcha image from the page and send it to the 2Captcha service, where an employee solves it typing the indicated text, then the answer is returned to us, which must be entered in the appropriate field to solve the captcha

API demoHow to solve
«Cloudflare Turnstile» logo

Cloudflare Turnstile is solved by taking the captcha parameters from the page in the form of the "data-sitekey" parameter and the page URL, sending them to the 2Captcha service, where an employee solves them. The solution is then returned to us in the form of a token, which we must enter in the relevant field to complete the captcha.

API demoHow to solve
«reCAPTCHA V3» logo

The process for solving reCAPTCHA V3 is as follows: we take the captcha parameters from the page in the form of the data-sitekey, action and the page URL and transfer it to the 2Captcha service, where it is solved by an employee with the appropriate "humanity” rating, after that the response is returned to us in the form of a token, which must be entered into the appropriate field to solve the captcha. In many ways, the new type of captcha is similar to reCAPTCHA V2, i.e. the basic principle remains the same - the user receives a token from the 2Captcha API, which is sent in a POST request to the site, and the site verifies the token through the 2Captcha API

API demoHow to solve
«reCAPTCHA Enterprise» logo

The process of solving reCAPTCHA Enterprise is as follows: we determine the type of reCAPTCHA, it can be V2 or V3, after which we take the captcha image from the page of its placement in the form of the data-sitekey parameter and transfer it to the 2Captcha service, where it is solved by the employee, after which it is returned to us answer in the form of a token, which must be entered in the appropriate field to solve the captcha

API demoHow to solve
«Arkose Labs captcha (FunCaptcha)» logo

The process of solving FunCaptcha by Arkose Labs is as follows: we take a set of necessary parameters from the page of its placement and transfer it to the 2Captcha service, where the employee solves it, after which the answer is returned to us in the form of a set of already other parameters, which must be passed to the appropriate fields to solve the captcha

How to solve
«Amazon Captcha» logo

The procedure for solving a Amazon AWS captcha is as follows: you need to grab the set of required parameters from the placement page and send it to the service, where an employees solves task. The answer is then returned to us in the form of a set of additional parameters, which must be entered into the correct fields to solve.

How to solve
«ALTCHA» logo

The automatic recognition of ALTCHA occurs in the following sequence: our service retrieves the captcha code from the specified website’s page and sends it to a worker for solving. We then return the answer to you, which you input into the captcha solution field. A key feature of this captcha is that it is designed as a slider, making it difficult for bots to bypass.

How to solve