How to Copy Text from an Image or Scanned PDF (OCR Explained)

What OCR is, why scanned PDFs have no selectable text, and practical tips for getting accurate text from photos, screenshots and scans.

You have a photo of a notice, a screenshot of a message, or a scanned letter, and you need the words as text — to edit, translate, search or paste into a form. Retyping is slow and error-prone. Optical character recognition (OCR) reads the letters in the image and turns them into real text.

Why you cannot just select the text

To a computer, a photo or a scanned page is a grid of coloured dots. There are no letters in it, only shapes that look like letters to a person. That is why you cannot highlight words in a scanned PDF or search it. PDFs created directly from Word or a website are different: they store real characters, so their text can be copied — and for those, PDF to Word is the better tool.

How OCR works, briefly

An OCR engine first cleans the image and finds the regions that contain text. It then splits those regions into lines and words, and a trained recognition model predicts which characters each shape represents, using knowledge of the language to choose likely words. The result is plain text that follows the reading order of the page.

Step by step

  1. Open Image to Text and add your images or a scanned PDF — up to 20 files.
  2. Choose the language of the text. PhotoSize supports English, Spanish, Hindi and Urdu, and you can choose more than one for mixed documents.
  3. Start recognition. Each page is processed on your device.
  4. Read through the text, then copy it or save it as a file.

Getting the most accurate results

  • Resolution: the text should be clearly readable when you zoom in. Small text in a distant photo is the biggest cause of errors.
  • Angle: photograph pages straight on. Use Straighten in Edit & Enhance for pages taken at an angle.
  • Contrast: dark text on light paper works best. A black-and-white scan mode can rescue faint or yellowed pages.
  • Language: choosing the correct language makes a large difference, especially for scripts like Devanagari and Urdu.
  • Layout: simple single-column text is read most reliably. For complex layouts, crop to the part you need.
SourceTypical accuracyAdvice
Screenshot of printed textVery highUsually near perfect
Clean scan of a printed pageHighCheck numbers and names
Phone photo of a pageGood to highStraighten and enhance first
HandwritingLow to moderateNeat block capitals work best

Tip: Always proofread numbers, names, dates and amounts. OCR can confuse similar shapes such as 0 and O, 1 and l, or 5 and S.

Privacy

Letters, contracts, medical documents and IDs are often what people need to convert. PhotoSize downloads the recognition engine and language data once and then runs entirely on your device, so the content of your documents is never uploaded — and it works offline afterwards.

Copy text from an image

Tools for this

More guides

All guides