Skip to content

Extract text from a photo of a page, and keep it as a searchable file

By the getPDF team · Published 11 October 2026

The short answer

For a sentence or 2, use your phone’s built-in reader: Live Text on an iPhone, Google Lens on Android. For whole pages you want to keep, search or reuse, turn the photos into a PDF with JPG to PDF, make it searchable with OCR PDF, then take the plain text out with PDF to Text. All 3 steps run in your browser, so the photos are never uploaded.

Try it here, nothing is uploaded

JPG · PNG · HEIC · WebP · AVIF · TIFF · GIF · BMP · any number · any size

Is your phone’s built-in reader enough?

Try it first, honestly. If you need 1 phone number or 1 paragraph, it is the fastest route:

  • iPhone: Live Text works on an iPhone XS, iPhone XR or later with iOS 15 or later. In Photos, touch and hold a word, drag the handles, and tap Copy, or tap Select All. It reads English, German, French, Italian, Spanish, Portuguese, Polish, Czech and Russian among many others (Apple Support and Apple’s iOS feature availability page, checked on 11 October 2026).
  • Android: Google Lens, in Google Photos and in the Google app, selects text in a photo so you can copy it. Menu names differ between phones and versions.

If that solved it, stop here. Use the route below when you have several pages, when you need a file you can keep and search later, or when the copied text keeps losing lines.

Get the text out of photos, step by step

Step 1: photos to PDF. In JPG to PDF above:

  1. Drop or pick your photos. HEIC from an iPhone, JPG, PNG, WebP and the rest go in as they are.
  2. Put them in page order with Up and Down.
  3. Leave Paper on A4 (or US Letter): each photo is fitted onto a page.
  4. Click Make the PDF and save it.

Step 2: make it searchable. Open the new PDF in OCR PDF:

OCR PDFSearchable text layer, 11 languages. Free, runs on your device.
  1. Under Language, pick the language the page is written in. Add a second under And if it mixes 2.
  2. Click Make it searchable. Each page is drawn at 300 dpi and read by Tesseract 5 in your browser.
  3. Read the report: the average confidence, a warning for any page under 60 %, and the words the reader was least sure of, by name. Check those against the photo.
  4. Download the -searchable.pdf. It looks exactly like your photos, but you can search it and select its words.

Step 3: plain text. Open the searchable PDF in PDF to Text, choose what goes Between pages (Empty line, Page 2, which names each page, or Page break), and click Get the text. You get a UTF-8 text file in the order the file stores the words, ready for an email, notes or a translator.

Three boxes from left to right: a photo of a page, a PDF with an invisible text layer, and a plain text file. The arrow from the photo to the PDF is labelled jpg-to-pdf then ocr-pdf; the arrow from the PDF to the text file is labelled pdf-to-text.Photo of a pagetextSearchable PDFLease agreementThis agreementis made …Plain text, UTF-8jpg-to-pdfocr-pdfpdf-to-text
From a photo to text you can keep: each step is its own tool, and all 3 run in your browser.

Why not just copy from the photo?

Because a file is something you keep. The searchable PDF holds the photo and its text together: in a month, a search for “deposit” finds the page, and you can still see the original next to the words if one looks wrong. A copied paragraph in a note has lost its source. For a pile of receipts or a 12-page contract photographed at a kitchen table, that difference is the whole point.

Retake beats repair

OCR reads what the picture shows, and getPDF does not straighten or clean up photos. 3 habits fix most bad results before they happen:

  1. Light: daylight or a bright room, no shadow of your phone across the page.
  2. Straight above: hold the phone flat over the page so the lines are level. In our tests a page tilted 5 degrees already misspelt names, and at 10 degrees lines ran into each other.
  3. Flat and close: flatten the fold, and fill the frame with the page.

Our guide to turning a photo of a document into a PDF goes further, and iPhone photos to PDF covers the HEIC side.

The honest part

A screenshot of digital text OCRs almost perfectly, because every letter is sharp: our computer-made test page came out word for word right at 95 % confidence. A crumpled page shot at an angle in a dim room does not, and no tool reads what the camera did not catch. The confidence score in the report says how sure the reader was; read the named words against the photo, and check every number you will use. Handwriting is mostly beyond this engine, as our handwriting OCR guide shows. The 11 languages getPDF reads are English, German, French, Spanish, Italian, Portuguese, Dutch, Polish, Czech, Croatian and Russian.

Questions

Is there a quicker way for 1 sentence?

Yes. On an iPhone XS or later with iOS 15 or later, Live Text lets you touch and hold text in the Photos app and copy it. On Android, Google Lens does the same from Google Photos or the Google app. For a line or 2, use those.

Why turn the photo into a PDF first?

getPDF's OCR reads PDFs. JPG to PDF puts each photo on a page, then OCR PDF adds an invisible text layer over it. You end up with 1 file that looks like your photos, can be searched, and gives its text to PDF to Text.

Which picture formats work?

JPG to PDF reads JPG, PNG, HEIC, WebP, AVIF, TIFF, GIF and BMP, so an iPhone's HEIC photo and an Android JPG both go straight in. It leaves out the GPS position, device and time stored in the photo.

How accurate is text from a photo?

A screenshot of digital text reads almost perfectly: our computer-made test page was right word for word at 95 % confidence. A photo of paper does worse with every shadow, tilt and blur, and the report says how sure the reader was.

Is my photo uploaded?

No. All 3 steps run in your browser. After a first use, you can turn Wi-Fi off and run them again to check: they still work, because the files they need are kept on your device.

The tools for this job