Chapterra / Guides / How to Extract Text From an Image or Scan
OCR guide

How to Extract Text From an Image or Scan

Retyping a page from a photo is slow and full of typos. OCR, short for optical character recognition, reads the letters in an image and turns them into text you can copy and edit. Here is how to do it on any device.

Online OCR
Read text from scans, photos and image PDFs.
Open the free OCR tool →

What OCR does and when you need it

A photo, screenshot or scanned PDF contains a picture of words, not the words themselves. You cannot search it, copy from it or edit it. OCR software looks at the shapes in the image, recognizes letters, and gives you real text.

Writers use it to recover old typed drafts, pull quotes from book pages, digitize handwritten-to-typed notes, and turn research scans into searchable text.

Extract text from any image in your browser

Chapterra's free online OCR tool reads text from JPG and PNG images and scanned pages. Your files stay on your device because the tool runs in your browser, so nothing is uploaded to a server. That is useful for anything private, like letters, contracts or ID documents.

There is no signup, and you can copy the text or download it as a file.

Skip the steps: Open the free OCR tool →

Copy text from a picture on iPhone and Android

Recent iPhones include Live Text. Open a photo in the Photos app, press and hold on a word, and drag the handles to select text, then tap Copy. You can also point the camera at text and tap the text detection icon that appears.

On Android, Google Lens does the same job. Open the image in Google Photos or the Google app, tap Lens, and choose the Text option to select and copy. Some phone makers add their own text extraction in the gallery or camera app.

Image to text on Mac and Windows

On recent versions of macOS, Live Text works in Preview and Photos. Open the image and drag across the text with your cursor to select it, just as you would in a document.

On Windows 11, the Snipping Tool includes a text actions feature in recent updates that can copy text from a screenshot. Microsoft's free PowerToys add-on also has a Text Extractor that grabs text from anywhere on screen. Availability depends on your version, so if you do not see these options, the browser OCR tool works on any Windows PC.

How to turn a scanned PDF into text

Scanned PDFs are just images inside a PDF wrapper, which is why you cannot select the words. To get text out, you need to run OCR on each page.

With Chapterra, convert the PDF pages to images using the PDF to JPG tool, then run those images through OCR. Google Docs offers another free path: upload the scanned PDF to Google Drive and open it with Google Docs, which recognizes the text as it converts.

What to do with the text once you have it

OCR text arrives as plain text, so it will not keep bold, italics, columns or the original line layout. Paste it into a document and fix line breaks first, since OCR often breaks a line wherever the original page did. A find and replace for double spaces helps too.

If you are digitizing a long document, such as an old manuscript or a box of typed letters, work in batches and save as you go. Name each file after the page or chapter it came from so you can trace any errors back to the source image.

Once the text is clean, you can edit it, search it, paste it into your writing app, or turn it back into a tidy PDF with the Word to PDF tool.

Getting more accurate OCR results

OCR is only as good as the image you give it. These habits cut down on cleanup time.

Questions people ask

Is there a free online OCR that does not upload my files?

Yes. Chapterra's OCR tool runs in your browser, so the images stay on your device. It is free and needs no account.

How do I copy text from a picture on my phone?

On iPhone, open the photo and press and hold on the text to use Live Text. On Android, open the image with Google Lens and choose Text. You can also open Chapterra's OCR tool in your phone's browser.

Can OCR read handwriting?

OCR works best on printed or typed text. Neat handwriting can be recognized with some errors, while messy or cursive writing often comes out garbled. Plan to proofread carefully.

How do I convert a scanned PDF to text?

Turn the scanned pages into images, then run them through OCR. Chapterra's PDF to JPG and OCR tools handle both steps in your browser. Google Docs can also extract text when you open a scanned PDF from Google Drive.

Free tools for this

Online OCRRead text from scans, photos and image PDFs.PDF converter hubEvery free PDF tool in one place.Free translatorAuto-detect and translate both ways in 30+ languages.Merge PDFCombine PDFs into one file, in your browser.

Made for writers

Chapterra edits and translates books chapter by chapter, so you can check every change before you accept it. Join the list for early access to full-book translation.