How to copy text from an image, screenshot or photo

Pull the words out of a screenshot, a book page or a sign so you can paste and edit them. What text recognition gets right, where it fails and how to help it.

Image to textPull the words out of photos, screenshots and scans. Free, no upload.
Image to text on AllFreeImage with a photo open
Image to text on AllFreeImage

How a computer reads a picture

A screenshot of a text is only colored dots. Optical character recognition, or OCR, looks for rows of shapes, compares each shape to the letters it has learned, and uses a word list to decide between look-alikes. It works very well on clean print and poorly on anything artistic, which is why the quality of the picture matters so much.

Step by step

Open Image to text and add one or more pictures, or paste a screenshot with Ctrl+V or Command+V. Choose the language the text is written in and press Extract text. The words appear on the page. Copy them or download a TXT file. If you added several pictures, the text of each one is listed under its file name.

Make the picture easier to read

Crop to the text and leave out photos, buttons and borders. Letters should be at least 20 pixels tall, so zoom in on the page before taking a screenshot instead of enlarging it afterwards. Straighten a tilted photo with Rotate and flip. Dark text on a light background is best. For white text on black, save the picture with the Invert filter in Photo filters first.

Typical mistakes to look for

Zero and the letter O, one and lowercase L, five and S, and the pair "rn" read as "m". Page numbers and headers end up in the middle of sentences. Hyphens at line ends stay in the text. Tables come out as plain rows. Always compare phone numbers, prices, account numbers and names with the picture before you use them.

Alternatives on your phone and computer

Recent iPhones let you press and hold text inside a photo. Google Lens does the same on Android. Windows has a text tool in the Snipping Tool, and Preview on a Mac can select text in pictures. They are handy for one line. A web tool is more useful for several pictures at once, for a language your device is not set up for, or on an older computer.

Private documents

Contracts, medical letters and IDs are exactly the kind of picture you should not upload to an unknown server. Image to text reads the picture inside your browser, so the document stays on your device. You can test that: load the tool, read one picture, then turn off Wi-Fi and read another.