Every week someone converts a PDF to Word, opens the result, and finds each page is just a picture. Nothing is broken. The PDF simply had no text in it to begin with: it was a scan or a photo saved as PDF.

You can tell which kind of PDF you have before converting. Here are three quick checks, from the command line, from Python, and with no tools at all.

Why it matters

A PDF can hold real text (characters plus fonts) or just images of pages. A PDF to Word converter can only turn real text into editable text. With an image-only page it has two choices: put the image into the Word file, or run OCR (text recognition) to guess the characters. Many free converters, including the one I build, don't do OCR, so a scanned page comes out as a picture.

Check 1: no tools (5 seconds)

Open the PDF in any viewer and try to select a word or search for one (Ctrl+F).

  • You can highlight single words and search finds them: there is a text layer. It should convert to editable text.
  • Dragging selects the whole page like an image, or search finds nothing: it's image-only.

Check 2: command line (poppler-utils)

pdffonts lists the fonts a PDF uses. No fonts usually means no text.

pdffonts report.pdf 

A text PDF prints a table of fonts. An image-only scan prints only the header row.

To count the words that can be pulled out:

pdftotext report.pdf - | wc -w 

Close to zero words on a multi-page file means scans.

(Install with sudo apt install poppler-utils on Debian/Ubuntu or brew install poppler on macOS.)

Check 3: Python (pypdf)

from pypdf import PdfReader reader = PdfReader("report.pdf") for i, page in enumerate(reader.pages, start=1): words = len((page.extract_text() or "").split()) print(f"page {i}: {words} words") 

Pages showing 0 words are images. A mix is common: a typed letter with a scanned signature page attached.

Two edge cases

  • "Searchable" scans. Some scanners add a hidden OCR text layer. These pass all three checks and convert as text, but the text is only as accurate as the scanner's OCR.
  • Text turned into outlines. Design tools can export text as vector shapes. It looks sharp but has no fonts and no extractable text, so it behaves like a scan.

What I measured

When I tested a 3-page text PDF through the PDF to Word tool on KuickKonvert, the free converter I'm building, it gave 828 words of editable text and a real Word table. Scanned pages come out as pictures, because the tool doesn't do text recognition. That gap is why I now check every PDF first.

If your file fails the checks, look for a converter with OCR, and proofread the result: OCR gets numbers and names wrong more often than you'd expect.

How do you handle scanned PDFs in your projects? I'd like to hear what works for you.