Image to Text (OCR)
Extract text from images using OCR. Supports JPG, PNG, WebP, and more.
Built and tested by Muhammad Irfan Liaqat · Updated
Drop an image here or click to upload
Supports JPG, PNG, WebP, BMP
Image to Text (OCR): key facts
- Extracts text from photos, screenshots and scans with OCR (Tesseract.js)
- Reads 11 languages: English, Arabic, Chinese (simplified), French, German, Hindi, Japanese, Korean, Portuguese, Spanish and Urdu
- One image at a time; the result is plain text you can copy
- Images narrower than 1,000 px are enlarged 2× or 3× before reading; in our tests this took 8 px text from 44% to 98% of characters right
- The image is processed in your browser; only the language data is downloaded on first use
How the OCR reads text from an image
Image to Text reads the words in a photo, screenshot or scan and gives them back as text you can copy. It uses Tesseract, the open-source OCR (optical character recognition) engine first built at HP and later developed by Google, running inside your browser. It reads 11 languages: English, Urdu, Hindi, Arabic, Chinese (Simplified), Japanese, Korean, Spanish, French, German and Portuguese.
The first time you scan in a language, the browser downloads that language's recognition data, which takes a few seconds. After that, scans start straight away. Your image is not uploaded: it is read on your own device, and only the language data comes from the internet.
Before reading, the tool checks the image size. Pictures narrower than 1,000 pixels are enlarged two or three times first, because Tesseract misreads letters that are only a few pixels tall. We added this after testing it (results below): a screenshot with 8-pixel text went from 44% of characters right to 98%.
How to extract text from an image
- 1Choose the language of the text in your image
- 2Drop in a photo, screenshot or scan, or click to choose one
- 3Click the button to read the text and wait a few seconds
- 4Copy the text, then check names, numbers and email addresses before you use them
What we found when we tested it
We took a four-line note with the kind of details people usually need to copy: an invoice number, a date, an amount of money, an email address and a phone number (173 characters in all). We saved it as an image in 13 different ways and ran each one through the tool's English OCR. “Characters right” is the share of characters that came out correct. “Details exact” counts how many of the five details came out with no mistake at all.
| Image | Characters right | Details exact | What went wrong |
|---|---|---|---|
| Sharp screenshot, 24 px text | 100% | 5 of 5 | Nothing |
| Sharp screenshot, 16 px text | 100% | 5 of 5 | Nothing |
| Small text, 11 px | 100% | 5 of 5 | Before auto-enlarging: 98.8%, and $1,482.50 came out as $1.482 50 |
| Tiny text, 8 px | 97.7% | 2 of 5 | Before auto-enlarging: 43.9% and unreadable. Now a stray space in the amount and email |
| Slightly blurred | 100% | 5 of 5 | Nothing |
| Heavily blurred | about 60% | 0 of 5 | Most words garbled. Enlarging does not help here (71% without it) |
| Tilted 3° | 99.4% | 5 of 5 | “if” read as “jf” |
| Tilted 10° | about 80% | 2 of 5 | Invoice number, amount and email wrong (78% without enlarging) |
| Grey text on grey | 100% | 5 of 5 | Nothing |
| White text on a dark background | 100% | 5 of 5 | Nothing |
| Serif font (like a printed letter) | 100% | 5 of 5 | Nothing |
| Heavily compressed JPG (quality 20) | 100% | 5 of 5 | Nothing |
Tested in November 2026 with Tesseract.js 7 and English language data. The images were made on a computer, so they are cleaner than a phone photo of paper, which adds shadows, curves and uneven light. Treat these as best-case figures for each problem.
Getting a cleaner result
The test points to three things that matter and several that don't. Text size, blur and tilt decide the result. Low contrast, dark mode, JPG compression and ordinary serif fonts made no difference at all.
| Problem | What to do |
|---|---|
| Text is small in the picture | Zoom in before you take the screenshot, or crop to just the text so it fills the image |
| Photo is blurred | Take it again. Hold the phone still, tap the screen to focus, and use more light. No setting fixes a blurred photo |
| Page is at an angle | Take the photo straight on, or straighten it before scanning. Even 10° costs about a fifth of the characters |
| Mixed languages | Choose the main language. Words in a different script usually come out wrong, so scan those parts separately |
| Tables or columns | Crop one column at a time. The output is plain lines of text with no table layout |
| Handwriting | Expect many mistakes. Tesseract is built for printed text |
Frequently Asked Questions
How do I extract text from an image?
Which languages can it read?
How accurate is it?
Is my image uploaded?
Can it read Urdu or Hindi text?
Is this better than Google Lens or iPhone Live Text?
Can I convert a PDF to text with it?
How do I copy text from a screenshot?
Does it keep the layout, tables or columns?
Why is the first scan slow?
Related Tools
Guides
- Convert a Photo to Text on Your Phone or PCCopy text from a photo or scan with the tools already on your iPhone, Android, Windows or Mac, or in your browser, then take photos that OCR reads right.
- Extract Text from Images with OCRLearn how to pull text out of photos, screenshots, and scanned documents using free OCR tools. No software installation required.