← All FAQ questions

OCR & Text

How to Extract Text From a PDF (OCR, Explained Simply)

The short answer

If your PDF is digital (made from text, not scanned), you can select and copy the text directly — no tool needed. If it’s a scanned document, you need OCR (Optical Character Recognition), which reads the page image and turns it into real text. Google Drive does this for free, and our PDF to Markdown converter handles the extraction for digital files.

Copy text from a digital PDF

Try the simple thing first: open the PDF and drag-select the text with your mouse. If it highlights, you’re done — Ctrl/Cmd+C and paste anywhere. This works in browsers, Preview, and every PDF reader.

If selection is greyed out, the file has copy protection enabled (a permissions lock — the kind you can remove if you know the password). Some tools also select text fine but paste it with broken formatting — the text is there, the layout just doesn’t survive.

Extract text from a scanned PDF (OCR)

Scanned pages are photos, and photos have no text to copy. OCR reads them:

  1. Upload the scanned PDF to Google Drive (right-click → Open with → Google Docs). Drive runs OCR automatically and shows you the text.
  2. Or use a dedicated OCR tool — free ones exist and handle up to a few pages fine.
  3. Copy the text out. Check it — OCR makes mistakes on handwriting and weird fonts.

The honest quality note: OCR on clean printed text is nearly perfect. On receipts, invoices with stamps, or handwriting, expect errors you’ll have to fix by hand. There’s no tool that reads a doctor’s handwriting, and anyone who claims otherwise is lying.

The honest part

Three things people get surprised by:

  • Tables extract as a mess. Text extraction reads left-to-right, so a table’s columns come out as one long jumble. If you need the table structure, convert to Excel or Word instead of copying raw text.
  • Fonts and formatting vanish. You get the words, not the design. That’s fine for quotes and notes, wrong for documents that must look a certain way.
  • Extracting isn’t editing. Once you have the text, changing the PDF itself is a separate job — see how to edit a PDF.

Related questions