Skip to main content

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

  1. 1Choose the language of the text in your image
  2. 2Drop in a photo, screenshot or scan, or click to choose one
  3. 3Click the button to read the text and wait a few seconds
  4. 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.

ImageCharacters rightDetails exactWhat went wrong
Sharp screenshot, 24 px text100%5 of 5Nothing
Sharp screenshot, 16 px text100%5 of 5Nothing
Small text, 11 px100%5 of 5Before auto-enlarging: 98.8%, and $1,482.50 came out as $1.482 50
Tiny text, 8 px97.7%2 of 5Before auto-enlarging: 43.9% and unreadable. Now a stray space in the amount and email
Slightly blurred100%5 of 5Nothing
Heavily blurredabout 60%0 of 5Most 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 5Invoice number, amount and email wrong (78% without enlarging)
Grey text on grey100%5 of 5Nothing
White text on a dark background100%5 of 5Nothing
Serif font (like a printed letter)100%5 of 5Nothing
Heavily compressed JPG (quality 20)100%5 of 5Nothing

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.

ProblemWhat to do
Text is small in the pictureZoom in before you take the screenshot, or crop to just the text so it fills the image
Photo is blurredTake 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 angleTake the photo straight on, or straighten it before scanning. Even 10° costs about a fifth of the characters
Mixed languagesChoose the main language. Words in a different script usually come out wrong, so scan those parts separately
Tables or columnsCrop one column at a time. The output is plain lines of text with no table layout
HandwritingExpect many mistakes. Tesseract is built for printed text

Frequently Asked Questions

How do I extract text from an image?
Choose the language, add the picture and click the button. The text appears in a box below, ready to copy into a document, email or spreadsheet. For the cleanest result, crop the image to just the text first.
Which languages can it read?
English, Urdu, Hindi, Arabic, Chinese (Simplified), Japanese, Korean, Spanish, French, German and Portuguese. Choose the language before you start, because each language uses its own recognition data.
How accurate is it?
On a sharp screenshot of printed text, it got every character right in our tests. Accuracy drops with blur, tilt, very small text and handwriting: a heavily blurred image came out only about 60% right, which is not usable. Always proofread numbers and email addresses.
Is my image uploaded?
No. Only the language data is downloaded; the image is read in your browser and stays on your device.
Can it read Urdu or Hindi text?
Yes. Choose Urdu or Hindi before adding the image. Printed text in a clear screenshot works best. Nastaliq calligraphy, decorative fonts and handwriting give more mistakes.
Is this better than Google Lens or iPhone Live Text?
For a quick copy on your phone, Lens and Live Text are faster because they are built in. This tool is useful on a computer, for Urdu, Hindi and the other listed languages, and when you would rather the image stayed on your device. Lens usually sends the picture to Google to read it; this tool never uploads it.
Can I convert a PDF to text with it?
Not directly, because it reads images. Take a screenshot of each PDF page, or export the pages as images, and run those. If the PDF already has selectable text, copying it is faster and more accurate.
How do I copy text from a screenshot?
Take the screenshot, upload it here, choose the language and copy the result. Screenshots of on-screen text usually give very accurate results because the letters are sharp.
Does it keep the layout, tables or columns?
No. The output is plain text in reading order. Tables come out as lines of text, so paste them into a spreadsheet and split the columns there.
Why is the first scan slow?
The OCR engine and the language data are downloaded the first time you use a language. Later scans in that language start much faster.

Related Tools

Guides