Captcha solver: how it works and how to choose one
A captcha solver is a service or program that answers a CAPTCHA challenge in place of a person: it receives the image of the challenge or the parameters of the page, and returns the tiles to click, the distance to slide, the text to type or a token. This guide explains how captcha solvers work, which captchas they handle and how to choose one.
Preview: the API described here is in public beta. Endpoint names, fields and codes can still change until the end of the beta, and no API key is distributed yet.
What is a captcha solver?
A captcha solver is software that turns a CAPTCHA challenge into its answer without human attention on your side. CAPTCHA stands for Completely Automated Public Turing test to tell Computers and Humans Apart; a solver is what an automated workflow uses when nobody is there to take the test. It is reached through an API, a browser extension or a library, and it serves test suites, monitoring jobs and data pipelines that a challenge would otherwise stop.
Why do automated workflows need a captcha solver?
Because a challenge takes real time, and an unattended job has nobody to solve it. According to Cloudflare, completing a CAPTCHA takes 32 seconds on average, which the company estimated in May 2021 at about 500 human years spent every day. In a nightly test run or a scheduled crawl, the same challenge simply fails the job, for a reason unrelated to the code under test. Accessibility is a second motive: the W3C notes that interactive challenges exclude many people with disabilities.
How does a captcha solver work?
In three moves: submit, solve, retrieve. The client sends the challenge, the engine computes the answer, and the client fetches it and replays it where the challenge appeared. With ilovecaptcha these are two HTTPS calls in the Anti-Captcha format: createTask registers the task and returns a taskId, then getTaskResult is polled every 1 to 2 seconds until its status is ready.
What does the client send, and what comes back?
| Challenge family | The client sends | The solver returns | The client then |
|---|---|---|---|
| Image grid or icons | A screenshot and the instruction | Points to click | Clicks them in the widget |
| Slider or puzzle piece | A screenshot | A distance in pixels or a drop point | Drags the piece |
| Text to type | The image of the text | The characters read | Types them into the field |
| Token widget | The site key and the page URL | A token | Injects it into the form |
Which techniques does a solving engine use?
- Optical character recognition for distorted text, with a network trained on that vendor’s lettering.
- Template and edge matching to find the gap of a slider or the slot of a puzzle piece.
- Image classification and embedding models to pick the tiles that match an instruction.
- Exhaustive search for game-like challenges, where the board is read and every legal move is tried.
OWASP describes the same toolbox in its entry OAT-009, CAPTCHA Defeat: optical character recognition, or matching against a prepared database of images.
Which captchas can a captcha solver bypass?
Most challenge families in use today: image grids, sliders, puzzle pieces, distorted text, click-in-order tasks and token widgets. The table lists the captchas covered by ilovecaptcha with what the API returns for each, and links to a dedicated guide that explains how that captcha works and how to bypass it.
| Captcha | Family | You get back | Guide |
|---|---|---|---|
| reCAPTCHA v2 | Image grid | Token to inject | How to bypass reCAPTCHA v2 captcha |
| Cloudflare Turnstile | Non-interactive widget | Token to inject | How to bypass Cloudflare Turnstile captcha |
| hCaptcha | Image grid | Token to inject | How to bypass hCaptcha |
| AWS WAF Captcha | Image grid | Coordinates to click or drop | How to bypass AWS WAF captcha |
| MTCaptcha | Text to type | Text to type into the field | How to bypass MTCaptcha |
| GeeTest | Slider | Coordinates to click or drop | How to bypass GeeTest captcha |
| Binance | Slider | Slide distance in pixels | How to bypass Binance captcha |
| xCaptcha | Text / click | Coordinates to click or drop | How to bypass xCaptcha |
| Capy Puzzle | Drag-and-drop puzzle | Slide distance in pixels | How to bypass Capy Puzzle captcha |
| Tencent | Slider | Coordinates to click or drop | How to bypass Tencent captcha |
| Lemin | Drag-and-drop puzzle | Slide distance in pixels | How to bypass Lemin captcha |
| Temu | Drag challenges | Coordinates to click or drop | How to bypass Temu captcha |
How do you call a captcha solver from your language or tool?
With a short script: the API is two HTTPS calls with a JSON body, so every language that can send a POST request can use it, without any package to install. The pages below give one complete client per language, the same loop driven by Selenium, Puppeteer or Playwright, and the browser extension for Chrome and Firefox.
Languages
Browser automation
Browser extension
What are the different types of captcha solver?
They differ on who computes the answer and where the call is made. The answer comes from human workers who solve challenges by hand, from machine-learning models, or from a mix of both. The integration is an HTTP API called from your code, a browser extension that acts inside the page, or a library embedded in a script. The choice affects speed, privacy and the kind of challenge that can be handled.
How do human, machine-learning and extension solvers compare?
| Approach | How the answer is produced | Strength | Limit |
|---|---|---|---|
| Human solving service | Workers see the challenge and answer it by hand | Copes with unfamiliar challenges | Slower, and a person sees the image |
| Machine-learning solver | A model built for that captcha computes the answer | Consistent, and no person sees the image | Each captcha needs its own model and upkeep |
| Browser extension | The extension spots the widget and acts in the page | No code to write | Needs a real browser on every machine |
Which approach does ilovecaptcha use?
ilovecaptcha is a machine-learning solver reached through one HTTP API: no human worker sees the challenges you send. Each captcha has its own solving method, from a recognition network for distorted text to geometry for sliders. A browser extension also exists for some captchas; it is installed from a folder and is not published on the browser stores.
How do you choose a captcha solver?
Start from the captchas you actually meet, then look at what the solver returns for them. A long list of supported types says little if the one you face is missing, or if its answer comes in a format your client cannot replay. Check what the API returns for your challenge, what it asks you to send, and whether the integration fits the tools you already run.
Which criteria matter most?
- Coverage: the exact captcha and variant you face, not only its family.
- Documentation: a public reference listing every field and error code, so that failures can be handled in code.
- Answer format: a token, points, a distance or text, matching what your client can replay.
- Integration: a plain HTTP API, code samples in your language, a guide for your automation tool.
- Privacy: what is sent, only the challenge image or the whole page, and who sees it.
- Terms: a clear statement of acceptable use.
How do you integrate a captcha solver into your code?
With an HTTP client and a few lines of code. You post the task as JSON with your API key, poll for the result, then replay the answer: inject the token, type the text, or click and drag at the returned coordinates. For image challenges, an automated browser such as Selenium, Puppeteer or Playwright takes the screenshot and performs the gesture. The API key stays on the server side, never in a page.
Is using a captcha solver legal?
It depends on what you automate. Testing and monitoring your own applications, QA and accessibility automation, availability checks, academic research and collecting public data within a site’s terms and the applicable law are ordinary engineering work. Crossing an access control you have no right to cross is not, and neither are credential stuffing, spam or payment fraud, which ilovecaptcha does not support. The responsibility lies with the caller: read the terms of the site you automate before you start.
Captcha solver: frequently asked questions
What is the best captcha solver?
There is no universal answer: the best captcha solver is the one that handles the captcha you face and returns an answer your client can replay. Compare solvers on that exact captcha rather than on the length of their list, read what each one asks you to send, and test the answer format against your own client. A solver that returns coordinates is useless to a script that cannot drive a browser, however long its list of supported types.
Can AI solve captchas?
Yes, for most challenge types in use. Distorted text is read by recognition networks, image grids are classified by vision models, and sliders are located by geometry rather than by learning. According to a USENIX Security 2023 study in which 1,400 participants solved 14,000 CAPTCHAs, modern challenges have become harder for bots and humans alike, which is why vendors now score behaviour and context as well as the answer itself.
Is a captcha solver the same as a captcha bypass?
In everyday use, yes: both expressions describe getting past a challenge without a person solving it. Strictly speaking, a solver answers the challenge that was served, so the site still receives a valid response, while a bypass would avoid the challenge altogether. The guides on this site use bypass in the first sense: the challenge is solved through the API and the answer is replayed in the real widget.
Do I need a browser to use a captcha solver?
Not for the API call itself, which is plain HTTPS with a JSON body, from any language. A browser is needed when the answer is a gesture: image challenges return points or a distance that must be replayed in the widget, so an automated browser takes the screenshot and performs the clicks. Token challenges only need the site key and the page URL, which a script can read in the page source.
Does a captcha solver work with Selenium, Puppeteer or Playwright?
Yes. The automation tool captures the challenge element, your code sends the image to the API, and the tool replays the returned points or distance, divided by the scale of the screenshot. The same loop works with Selenium, Puppeteer and Playwright, in Python or Node.js. From one tool to the next, only the way to capture an element and to hold a drag changes.
Which captchas are the hardest to solve automatically?
Those that change their task from one session to the next, and those that judge behaviour more than the answer. A fixed-format challenge such as the AWS WAF grid, one category and nine pictures, asks the same kind of question every time, whereas a widget whose task rotates must first be identified. A fixed format can be learned once; a rotating one has to be recognised before it can be solved.
Sources
The facts and figures quoted on this page come from these sources.
- Cloudflare, “Humanity wastes about 500 years per day on CAPTCHAs”, May 2021 (32 seconds per challenge on average).
- W3C Accessible Platform Architectures Working Group, Inaccessibility of CAPTCHA, Group Draft Note, 16 December 2021.
- Searles, Nakatsuka, Ozturk, Paverd, Tsudik and Enkoji, An Empirical Study & Evaluation of Modern CAPTCHAs, USENIX Security 2023 (1,400 participants, 14,000 CAPTCHAs solved).
- OWASP, OAT-009 CAPTCHA Defeat, Automated Threats to Web Applications (definition and techniques).