Image to Text (OCR)
Turn the text in photos, screenshots and scanned pages into text you can copy, in 18 languages.
Runs in your browser. Nothing is uploaded.
Updated
How to use Image to Text (OCR)
- Choose or drop pictures, or paste a screenshot.
- Pick the language of the text.
- Read the text, check it, then copy or download it.
Image to Text (OCR) at a glance
Typical use: Copy the details from a photo of a receipt or a screenshot of an error message.
Runs in your browser with Tesseract; the first run downloads the engine (about 3 MB) and each language (1–3 MB).
How Image to Text (OCR) works
This page runs Tesseract, the open-source OCR engine first developed at HP and later by Google, compiled to WebAssembly so it runs inside your browser. Your pictures are read on your device and are never uploaded. The first time, your browser downloads the engine (about 3 MB) and the trained data for each language you choose (1–3 MB each); after that they come from your browser’s cache.
Before reading, the page turns the picture upright (phone photos), makes it greyscale, inverts light-on-dark pictures such as dark-mode screenshots, and doubles small pictures, because Tesseract misreads letters that are only 8–12 pixels tall.
Getting the best result
- Choose the right language. Tesseract only knows the letters and words of the languages you pick: English settings turn “é” into “e” and can’t read Arabic or Chinese at all. For a page in two languages, tick both (at most three).
- Crop to the text. A photo of a whole desk with one sign on it reads worse than a photo of the sign. Hold the phone straight above flat paper, in good light.
- Try another layout when the order is wrong: “One column of lines” keeps receipts and lists line by line, and “Scattered text” finds labels spread over a screenshot or a sign.
- Check the confidence. Above 90% the text is usually right; below 75% check every number and name. Tesseract does not read handwriting well.
Image to Text (OCR) example
A colleague sends you a screenshot of an error message and you need the order number in it. Press Ctrl+V (⌘V on a Mac) on this page to paste the screenshot, keep English, and press Read text. The text appears in a box below; “Settings saved successfully … Order #48213” can now be copied, searched or pasted into an e-mail.
Languages
English, Spanish, French, German, Italian, Portuguese, Dutch, Turkish, Polish, Russian, Arabic, Urdu, Hindi, Indonesian, Vietnamese, Chinese (Simplified), Japanese and Korean, using Tesseract’s most accurate (“best”) models. Arabic and Urdu read right to left; Urdu in the Nastaliq style is harder than printed Naskh and may need a clear, large picture.
Prefer the terminal?
The same in a terminal with Tesseract:
tesseract photo.png - -l eng+fra --psm 3Install it with brew install tesseract tesseract-lang (Mac) or apt install tesseract-ocr tesseract-ocr-fra (Ubuntu). The - prints the text instead of writing a file. Tesseract expects dark text on a light background and letters at least 20 pixels tall, so invert dark screenshots and enlarge small ones first (magick in.png -negate -resize 200% out.png), as this page does for you.
References
Frequently asked questions
Are my pictures uploaded?
No. The OCR engine runs in your browser, so the pictures and the text stay on your device. Only the engine and language files are downloaded from this site.
Can it read handwriting?
Only very neat printed handwriting, and not reliably. Tesseract is made for printed and typed text such as documents, screenshots, signs and receipts.
Can I get text from a scanned PDF?
Use OCR PDF: it reads every page of a scanned PDF with the same engine. If the PDF has real text, PDF to Text is faster and exact.
Why is the text wrong or empty?
Usually the language is wrong, the picture is blurry or tilted, or the letters are very small. Pick the right language, crop to the text, keep “Enlarge small pictures” on, and try the “Scattered text” layout for screenshots and signs.
Is there a limit?
Up to 20 pictures at a time, 50 MB each. Very large photos are scaled down to 25 megapixels. Each picture takes from one to several seconds, depending on your device.