Skip to content
Captcha OCR

Word captcha solver

Distorted words with crossing lines, such as planet. Send {"lowercase": true, "length": 6} when the form ignores case and the length is fixed. Codes that mix letters and digits use the alphanumeric solver.

Word captcha reading planet

Request

curl -s https://captchaocr.allvoraz.com/v1/solve \
  -H "Authorization: Bearer $CAPTCHA_API_KEY" \
  -H 'Content-Type: application/json' \
  -d "{\"image\": \"$(base64 < captcha.png | tr -d '\n')\", \"numeric\": true, \"length\": 6}"

The sample above uses whatever options that snippet ships with. For a lowercase word of known length, send {"lowercase": true, "length": 6}. Crop to the word. Formats are listed on the formats page. Compare a few of your own images with the 5,000 starting credits. The published text figures are on the accuracy page.

How do I keep the case?

Omit uppercase and lowercase. The text engine then returns the case it read. Set lowercase: true only when the form treats PLANET and planet as the same.

Should I set numeric?

No, unless digits really appear in the word. numeric folds look-alike letters into digits, which corrupts a word.

What about crossing lines and odd fonts?

That is what this engine is for. It is still a picture of characters. A photo grid or a checkbox is not. See image-to-text.

How accurate is a word?

Words and mixed codes share one measurement: 88.0% agreement on 465 text captchas from 46 public-sector websites. Set length when you know it.