How to tell if a PDF is scanned or contains real text
Here's the short answer: try to select a sentence and search for a word you can see. If both work and the copied text reads normally, the PDF has real text. If nothing highlights and search finds nothing, you're almost certainly looking at a scan, which is a picture of a page saved as a PDF. That one test settles most files. The rest of this page covers the in-between cases, which tend to cause the most trouble when you try to turn a PDF into Markdown, Word or plain text.
Why it matters
A PDF is just a container. Some PDFs are exported from Word, PowerPoint or a website and carry the actual characters. Others come out of a scanner or a phone camera and hold only images of pages. Text tools can only pull out text that is really there, so a scanned PDF gives you blank pages, or worse, text that looks fine but is quietly wrong.
Five checks that take about 30 seconds
- Select a sentence. Open the PDF in your browser, Adobe Acrobat Reader or Mac Preview and drag across a line. Real text highlights word by word. A scan either won't highlight at all or selects the whole page as one block, like an image.
- Search for a word you can see. Use Ctrl+F (Cmd+F on a Mac) and type a word that's clearly on the page. If the reader finds it and jumps to it, there's a text layer. If it says "no results" for a word you're looking right at, there isn't.
- Copy a paragraph into a plain text editor. Paste it into Notepad, TextEdit or any code editor. Normal sentences mean you're fine. Nothing at all means the page is an image. Odd symbols or random letters mean the text is there but the font encoding is broken, which converts just as badly as a scan.
- Zoom in to 400% or more. Real text and vector graphics stay sharp at any zoom. A scan gets soft, grainy or pixelated, and you'll often spot paper texture, a slight tilt or shadows near the spine.
- Look at the document properties. In most readers, File → Properties (or Tools → Show Inspector in Preview) shows the Creator or Producer. Scanner software or a phone scanning app is a strong hint. "Microsoft Word" or a browser name suggests real text. Treat this as a hint only, since the field can be empty or misleading.
File size can hint too: scans are usually much heavier per page than exported documents. It's a rough signal, though, because a text PDF full of photos can be large as well.
The tricky cases
A scan with a hidden OCR layer. Many scanners and copiers run OCR and tuck an invisible text layer behind the page image. Selection and search work, so the file passes checks 1 and 2, but the hidden text can contain misread words, missing lines or highlights that don't line up with the visible text. Paste a paragraph into an editor and compare it word by word with the page. If you spot errors, treat the file as a scan.
Text drawn as outlines. Some design tools and print workflows turn letters into vector shapes. Zoomed in, the text looks perfectly crisp, but you can't select or search it. For conversion purposes it behaves like a scan.
Mixed PDFs. A contract with a signed, scanned last page, or a report with a few scanned appendices, has both kinds of page in one file. Check a page from each section, not only page 1.
Copy-protected PDFs. Some PDFs disable copying through their security settings. Selection may be blocked even though the text is all there. That's a permissions setting, not a scan, and the document properties usually list it under Security. ToMarkdown doesn't accept encrypted PDFs, including ones that only restrict copying, so save an unprotected copy first.
For developers: a quick heuristic
If you have poppler-utils installed, count how many characters come out of the first few pages:
pdftotext -f 1 -l 3 file.pdf - | wc -c
A result near zero for pages that clearly have text points to scans or outline text. In Python, you can loop over pages with pypdf or PyMuPDF, extract text and flag pages with fewer than a few dozen characters. Keep it as a first pass only, because it won't catch a hidden OCR layer with bad text or a broken font encoding. Spot-check what comes out.
What to do with the result
| What you found | What it means | What to use in ToMarkdown |
|---|---|---|
| Text selects, search works, copied text reads cleanly | A digital PDF with real text | Free conversion is a good first try |
| Nothing selects, search finds nothing | A scan, pages are images | AI conversion |
| Text selects, but the pasted text has mistakes | A scan with a hidden OCR layer | AI conversion, which treats these pages as scans and reads the page image |
| Crisp at any zoom, but you can't select it | Text drawn as outlines | AI conversion, which also treats these pages as scans |
| Some pages pass, some don't | A mixed PDF | AI conversion checks every page on its own |
| Text is fine, but you need the images or tables | A digital PDF with figures or tables | AI conversion, since free mode keeps text only |
Free conversion runs the open source Microsoft MarkItDown tool on our server without AI. It needs no sign-in and takes PDFs up to 10 MiB and 100 pages, but it doesn't recognize scans or keep images, and pages with no text layer come back as "no extractable text". Free documents are deleted 24 hours after upload.
AI conversion needs an account with a verified email and a prepaid balance. It takes PDFs up to 20 MiB and 200 pages. There are no modes to pick: every page is checked automatically, digital pages keep the PDF's own text, and scanned pages are transcribed with illustrations cropped out. Across our six measured documents it averaged about US$0.005 per page, and you see an estimate before you start. The pricing page has the details.

If your file turns out to be a scan, the guide to converting a scanned PDF to Markdown walks through the rest.
When ToMarkdown isn't the right tool
- You only need a searchable PDF. If the goal is to search or highlight text inside the PDF itself, an OCR tool such as OCRmyPDF adds a text layer and keeps the file as a PDF. You don't need Markdown at all.
- The PDF is password-protected or copy-protected. ToMarkdown asks you to remove the PDF password before uploading. If it's your document, open it with the password and save an unprotected copy first.
- You need the exact visual layout. Markdown keeps structure (headings, paragraphs, lists, tables), not fonts, columns or positions. If the page has to look identical, keep the PDF.
- Handwriting or very poor scans. Blurry, low-resolution or handwritten pages can be misread by any recognition tool. Compare important numbers with the original.
Questions
Is every PDF a scan?
No. PDF is a file format. A PDF exported from Word or a web page carries real text; a PDF made by a scanner or a phone camera carries pictures of pages. Both look the same in a reader until you try to select text.
Why can I select text in my scanned PDF?
Your scanner probably added a hidden OCR layer. It makes search work, but the text can contain recognition errors, so check a paragraph before you rely on it.
Why does copied text come out as gibberish?
The PDF uses a font whose characters aren't mapped to real letters. The text is technically there but unreadable to software, so for conversion it's treated much like a scan.
Can free conversion handle a mixed PDF?
It will extract the pages that have real text and show "no extractable text" for scanned pages. If the scanned pages matter, use AI conversion, which checks each page separately.
Does a large file mean it's scanned?
Not necessarily. Scans are usually heavy, but a text PDF with lots of photos can be big too. Selecting and searching text is a far more reliable check.