Home › Blog › OCR

How to Copy Text From an Image or Screenshot

By Donald Paul · · 3 min read

We photograph things all the time to remember them: a whiteboard after a meeting, a notice on a door, a page from a library book, a slide during a talk. We also take screenshots of messages, receipts and error dialogs. In all those cases, the text is trapped in an image. Optical character recognition, or OCR, gets it out.

Everyday uses

  • Copying a paragraph from a photo of a textbook for your notes.
  • Grabbing a reference number from a screenshot of an email or bill.
  • Turning whiteboard notes into text you can paste into a document.
  • Extracting text from an error message screenshot to search for a fix.
  • Pulling contact details from a photographed business card or poster.

How to extract text with pdfwall

  1. Open Image to Text.
  2. Choose your image. Common formats such as JPG, PNG and WebP are supported.
  3. Select the language of the text for the best accuracy.
  4. Run the recognition.
  5. Copy the extracted text and paste it wherever you need it.

pdfwall's tools work in your browser on Windows, Mac, Linux, Android and iPhone, so there is nothing to install. That is particularly handy on a phone, where most of these photos live.

Get a better source image

OCR accuracy depends on the image more than anything else.

  • Fill the frame with the text. Small text in the corner of a wide photo is hard to read.
  • Keep it straight. Photograph pages and signs head-on rather than at an angle.
  • Use good light and avoid glare from glossy pages and screens.
  • Hold still. A tiny bit of motion blur can turn an "e" into a "c".
  • Screenshots are ideal. They are perfectly sharp, so OCR on screenshots is usually very accurate.

If an image is dull or soft, try pdfwall's Enhance Image tool first, then run OCR on the improved version.

Choosing the right language

OCR needs to know which characters to expect. pdfwall supports many languages, including Hindi, Telugu and Tamil. If you choose English for a Hindi notice, the result will be nonsense. For mixed-language images, pick the main language and check the other parts carefully.

Always proofread

Even good OCR makes mistakes. Common ones include:

  • Confusing similar characters, such as 0 and O, 1 and l, or rn and m.
  • Dropping punctuation or merging words at line breaks.
  • Misreading handwriting, which is much harder for OCR than print.
  • Reading table columns across instead of down.

Numbers deserve the most attention. Check account numbers, phone numbers and amounts digit by digit against the image.

Images versus PDFs

Image to Text is for individual pictures. If you have a scanned multi-page PDF and want to make the whole document searchable while keeping its layout, use OCR PDF instead. It adds a hidden text layer to every page, so you can search, select and copy text in any PDF viewer.

And if you have several photos of pages, you can first turn them into one document with JPG to PDF, then run OCR on the PDF.

Common mistakes

Using a thumbnail. Screenshots of a small preview lose detail. Open the full-size image first.

Expecting perfect handwriting recognition. Neat block capitals work better than joined-up writing. Treat handwritten results as a draft.

Copying sensitive data carelessly. Text from IDs or bank documents is sensitive. pdfwall processes images in your browser, but think about where you paste the results.

FAQ

Can I extract text from a screenshot on my phone?

Yes. Open Image to Text in your mobile browser, choose the screenshot from your gallery and copy the result.

Does it work on handwriting?

It can read clear handwriting, but accuracy is lower than with printed text. Always proofread the output.

Can I turn the text into a document?

Paste it into Word or any editor. If you want a PDF, save the text and use Text to PDF.

Try it free on pdfwall

Free PDF tools