Text in a photo is text to you, but to a computer it is just a grid of pixels, so it cannot be copied. OCR (optical character recognition) finds the letter shapes in those pixels and turns them into text — handy for a page of a book, a photographed notice or a scanned contract you would otherwise retype.
First check: do you need OCR at all?
Many PDFs do not. If you can drag over the text in a PDF viewer and select it, the PDF already contains text. Pull it out instantly and exactly with PDF to TXT; see How to extract text from a PDF.
If nothing can be selected and the whole page highlights like a picture, it is a scanned PDF and needs OCR.
Which tool for which job
| Situation | Tool |
|---|---|
| One or two photos or screenshots | Image to text |
| A scanned PDF with several pages | Scanned PDF to text (labelled by page) |
| A PDF whose text can be selected | PDF to TXT (no OCR needed) |
| A few lines straight from your phone screen | iPhone Live Text or Android Google Lens |
Phone features are quick for copying a few lines; for many pages or long documents saved as files, the tools above on a computer are easier. They recognise text on your device without uploading the image, so they suit sensitive images such as IDs or contracts.
Taking photos that read well
Accuracy depends mostly on the photo.
- Shoot straight on. Angled shots bend the lines and distort letters.
- Get close so the text fills the frame; small text reads better when it is large.
- Use good light without shadows or glare — watch out for reflections on glossy paper.
- Retake blurry photos; that helps more than anything else.
- To keep only part of an image, cut it out first with Crop image.
With a scanner, 300 DPI in black and white or greyscale is plenty.
What does not work well
| Content | Result |
|---|---|
| Printed English, Korean and numbers | Mostly accurate |
| Screenshots | Very accurate |
| Handwriting | Many errors or not read |
| Vertical text, Chinese characters, Japanese | Not supported |
| Text over patterns or photos, under stamps | Error-prone |
Always check the result
OCR can confuse characters that look alike — 0 and O, 1 and l are classics. For amounts, dates, account numbers and email addresses, compare the result with the original. To check the length after editing, paste it into the Character counter.