Google Lens Scraper
Pricing
from $6.50 / 1,000 🤖 ai analyses
Google Lens Scraper
Extract text from images with Google Lens (OCR) and translate it into 100+ languages. Full text, detected language, and every line and word with bounding boxes, for any public image URL. No browser, no API key.
Google Lens Scraper: OCR and translation
Extract the text from any public image with Google Lens, and optionally translate it into another language. For every image you get the full text, the detected language, and each paragraph, line and word with its position in the image.
The actor sends images to the same Google Lens service that Chrome's built-in "Search with Google Lens" uses. No browser, no Google account, no API key.
What it does
| Search type | What you get | Price |
|---|---|---|
ocr | Full text, detected language, paragraphs, lines and words with bounding boxes | $2.50 / 1,000 images |
translate-ocr | The extracted text plus its translation into the language you choose | $3.50 / 1,000 images |
Text is recognised in any script Google Lens supports, including Latin, Cyrillic, Greek, Arabic, Hebrew, Devanagari, Chinese, Japanese and Korean, in print, signs, screenshots, documents and photos.
What it does not do
Visual matches, exact matches, product results, homework help, AI Mode and the general "All" results are not available. Google shows those only on its search results page, and that page answers automated logged-out visitors with a CAPTCHA. This actor does not solve CAPTCHAs or log in, so it offers only the two text modes above.
How to use it
- Add one or more image URLs. Any public
httporhttpslink to a JPEG, PNG, WebP, GIF, AVIF, TIFF or SVG works. - Pick
ocr,translate-ocr, or both. - For
translate-ocr, set the target language (en,de,es,ja,zh-CN,pt-BR, ...). - Run it and download the results as JSON, CSV, Excel or HTML.
Input
| Field | Default | Description |
|---|---|---|
imageUrls | (required) | Image URLs, as [{ "url": "..." }] or plain strings |
searchTypes | ["ocr"] | ocr and/or translate-ocr |
translateLanguage | en | Target language for translate-ocr |
language | en | Locale sent to Google Lens. Recognition works for any language regardless |
maxConcurrency | 5 | Images processed in parallel (1 to 20) |
proxyConfiguration | Residential | Proxy for the Google Lens requests |
{"imageUrls": [{ "url": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/eb/Los_Angeles_%28California%2C_USA%29%2C_Sign_--_2012_--_4937.jpg/500px-Los_Angeles_%28California%2C_USA%29%2C_Sign_--_2012_--_4937.jpg" }],"searchTypes": ["ocr", "translate-ocr"],"translateLanguage": "de"}
Output
One row per image and search type. Bounding boxes are centre-based and normalized to 0..1 of the image width and height; rotationDeg is clockwise.
ocr row (shortened):
{"searchType": "ocr","imageUrl": "https://upload.wikimedia.org/.../500px-Los_Angeles_..._4937.jpg","status": "ok","text": "101\n\nNORTH\n\n110\n\nNORTH\n\nINTERSTATE\n\n110\n\nSOUTH","language": "en","lineCount": 7,"wordCount": 7,"paragraphs": [{"text": "101","language": "en","writingDirection": "ltr","boundingBox": { "centerX": 0.22692, "centerY": 0.22869, "width": 0.114, "height": 0.11258, "rotationDeg": 0.13 },"lines": [{"text": "101","boundingBox": { "centerX": 0.22692, "centerY": 0.22869, "width": 0.114, "height": 0.11258, "rotationDeg": 0.13 },"words": [{ "text": "101", "boundingBox": { "centerX": 0.22692, "centerY": 0.22869, "width": 0.114, "height": 0.11258, "rotationDeg": 0.13 } }]}]}],"imageWidth": 500,"imageHeight": 302,"scrapedAt": "2026-11-19T15:39:58.512Z"}
translate-ocr row (Japanese shop sign, translated to English):
{"searchType": "translate-ocr","imageUrl": "https://upload.wikimedia.org/.../500px-Japanese_tea_established_shop_by_yomi955_in_Kyoto.jpg","status": "ok","translationStatus": "SUCCESS","sourceLanguage": "ja","targetLanguage": "en","originalText": "一保堂","translatedText": "Ippodo","translations": [{ "text": "Ippodo", "sourceLanguage": "ja", "targetLanguage": "en" }],"lineCount": 1,"imageWidth": 500,"imageHeight": 375,"scrapedAt": "2026-11-19T15:39:59.104Z"}
status values:
ok: text was found (and, fortranslate-ocr, translated). These rows are charged.no_text: Google Lens found no text in the image. The row is written so you can see the image was processed, and it is not charged.not_translated: text was found but Google returned no translation. Not charged.
If the text is already in the target language, translationStatus is SAME_LANGUAGE and translatedText repeats the original.
Images that cannot be downloaded (404, not an image, private address) produce no row and no charge. A run in which no image could be processed ends as FAILED. Per-mode counts and failure reasons are saved to the RUN_SUMMARY record in the run's key-value store.
Pricing
Pay per event:
| Event | Price | When |
|---|---|---|
ocr | $0.0025 | per image with text found |
translate-ocr | $0.0035 | per image with text found and translated |
| Actor start | $0.01 | once per run (per GB of memory; the default is 1 GB) |
Example: OCR on 1,000 images that all contain text costs $2.50 plus $0.01 for the run.
Tips
- Large images are scaled down to at most 1600 px on the long side (the same limit Chrome uses), so small text in huge images can be missed. Crop to the region you care about for best results.
- Transparent PNGs are placed on a white or black background, whichever contrasts with the content.
- Running 1,000 images at the default concurrency takes a few minutes.
FAQ
Is this legal? The actor processes images you supply and returns the text Google Lens reads from them. Make sure you have the right to process the images you send and follow Google's terms for your use case.
Why not visual or product matches? See "What it does not do" above. They need Google's search page, which is behind a CAPTCHA for automated access.
Something broke? Open an issue on the actor's Issues tab with the run ID.
