CAPTCHA solving
Are image CAPTCHA answers case sensitive?
Sometimes. The comparison rule is chosen by each site: many lowercase both sides before comparing, while others require an exact match. Submit the answer exactly as returned and test the site once to learn its rule.
The answer
Case sensitivity is not a property of image CAPTCHAs in general but of each site's server code. Many popular CAPTCHA libraries generate mixed-case images but compare answers case-insensitively, because people find case hard to read in distorted text. Others compare exactly. GateSolver's Image to Text task returns the text as recognized, including case, in the text field of the solution. The safe default is to submit it unchanged.
How to find out which rule a site uses
You can test it in a minute by hand in a browser:
- Load a CAPTCHA that contains at least one letter.
- Type the answer with every letter in the opposite case.
- Submit. If the site accepts it, comparison is case-insensitive.
Repeat once or twice to rule out a lucky guess. Some generators avoid letters entirely, in which case the question does not arise. Others use only lowercase or only uppercase glyphs, which also settles it: if every image you see is uppercase, sending uppercase is right.
Using the answer in code
import base64, requests, time
endpoint_base = "https://gatesolver.com" # JSON API host
picture = base64.b64encode(open("captcha.png", "rb").read()).decode()
image_task = {"type": "ImageToTextTask", "body": picture}
job = requests.post(f"{endpoint_base}/createTask",
json={"clientKey": "YOUR_API_KEY", "task": image_task}, timeout=30).json()
while True:
time.sleep(1)
out = requests.post(f"{endpoint_base}/getTaskResult",
json={"clientKey": "YOUR_API_KEY", "taskId": job["taskId"]},
timeout=30).json()
if out.get("status") != "processing":
break
guess = out.get("solution", {}).get("text", "")
# exact-case sites: send guess as is; case-insensitive sites: either form works
form_fields = {"captcha_code": guess}
The body is the base64 of the image without a data:image/... prefix. Image tasks finish quickly, so one second between polls is right. Production code should also handle an errorId in the first reply and stop after a time limit.
Look-alike characters
Case is only one source of mismatches. Distorted fonts make some characters ambiguous: 0 and O, 1, l and I, 5 and S, 2 and Z, rn and m. Well-designed generators leave the confusable characters out of their alphabet. If you know a site's alphabet (for example digits only), you can post-process the answer: replacing letter O with zero on a digits-only CAPTCHA is safe and fixes a common misread.
Spaces and length
Some images show text in groups, such as two words. Sites usually strip spaces before comparing, but not always. If answers with a space fail, try without. If the site always uses a fixed length, check the answer length before submitting, and when it differs, request a new image instead of spending a form submission on a likely miss.
The optional task fields
The task accepts an optional module to pick a recognition model suited to a text style, and an optional score between 0.8 and 1 as a confidence threshold. Neither is a case switch; they affect recognition, not how a site compares. The Python guide for image CAPTCHAs shows these options in a complete script.
Storing answers for debugging
While you tune a new site, save each image together with the answer you submitted and the site's verdict. A few dozen rejected samples usually reveal the pattern at a glance: always the same confusable pair, always a missing final character, or always a case mismatch. That small archive also lets you check quickly whether a site changed its generator, since the new images will look different from the stored ones.
When an answer is wrong
A rejected answer means the site generates a new image. Fetch it, solve again, and keep a per-site count of rejections. If rejections cluster on images with certain characters, the alphabet post-processing above is the fix. Image tasks are among the cheapest types at $0.28 per 1,000, but each rejection still costs a round trip with the site. Note also that the image must be the one tied to your session: downloading the CAPTCHA URL in a separate request without the session cookie often produces a different image from the one the form expects.
Common questions
Does GateSolver keep the case of letters in the answer?
Yes. The text field returns the characters as recognized, including upper and lower case.
Should I lowercase answers before submitting?
Only if you have tested that the site compares case-insensitively. Otherwise submit the text exactly as returned.
Is there a task option for case sensitivity?
No. The optional fields are module and score, which tune recognition; case handling is decided by the site.
Why does a correct-looking answer fail?
Common reasons are look-alike characters, an extra space, or an image that belongs to a different session than the form.
How fast are image text answers?
Image tasks are quick; poll once per second and you will usually have the answer within a few polls.
Keep reading
- Image to Text solver$0.28 per 1,000 tasks, answers under 1 seconds.
- Image CAPTCHAClassic warped text pictures, how OCR models read them, and the case and length details that decide a match.
- Solve image text CAPTCHAs in PythonDownload the distorted text image in the form session, base64 it, send ImageToTextTask and type the answer back with the right case.
- OCROptical character recognition turns pictures of text into characters, and it is the engine behind solving distorted text CAPTCHAs.