How to copy text from an image or screenshot
, 5 min read
Turning the words in a picture back into text you can copy is called OCR (optical character recognition). For a single line from a photo, your phone can probably do it already. For whole pages, screenshots or a batch of images, add them to Image to Text, choose the language, and copy or download the result. It runs in your browser and the images stay on your device.
Quick options you may already have
- iPhone and iPad: Live Text lets you press and hold on text in a photo, or in the camera view, and copy it.
- Android: Google Lens, in the Google app, Google Photos or the camera on many phones, can select and copy text from images.
- Windows and Mac: recent versions of the Windows Snipping Tool and of macOS Preview can also pick out text from images and screenshots.
These are great for a phone number or a paragraph. For longer documents, many images at once, or text you want as a file, a dedicated OCR tool is easier.
Using Image to Text
- Open Image to Text and add JPG, PNG, HEIC or other images, or a PDF.
- Choose the Document language. Choosing the right one matters more than any other setting.
- Pick a Page layout: Automatic for normal pages, Single column for a narrow column of text, Sparse text for screenshots and signs.
- Run it, then copy the text or download it as a .txt file.
The first time you use OCR, your browser downloads the recognition engine and language data once; after that it starts quickly. Your images are processed locally, not uploaded.
For specific jobs there are shortcuts: Screenshot to Text is tuned for app screens with scattered labels, Image to Word gives you an editable Word document, and Scanned PDF to Text handles multi-page scans.
Getting accurate results
- Crop to the text. Cut away backgrounds, photos and other clutter first.
- Straighten it. Text photographed at an angle, or on a curved book page, comes out worse. Shoot from directly above, with the page flat.
- Enough resolution. Small text in a tiny image can't be read. For scanned PDFs, try the 300 DPI setting when the print is small.
- Even light and contrast. Dark text on a light, evenly lit background reads best. Avoid shadows across the page.
- Check numbers and names. OCR can confuse similar characters, like 0 and O, or 1 and l. Proofread anything that matters.
What OCR can't do well
- Handwriting: neat print sometimes works; joined-up handwriting usually doesn't.
- Complex layouts: tables, forms and multi-column pages come out as plain text, and the columns may run together. Expect some tidying.
- Languages: the tool currently supports English, Hindi and several other Indian languages. Text in other languages won't be recognized reliably.
Working with PDFs? Our guide to scanned versus searchable PDFs explains how to tell whether a PDF needs OCR at all.