Why a Scanned PDF Converts to Nothing (OCR Explained)
A scanned PDF stores pictures of pages, not characters. Text extraction returns nothing because there is nothing to extract. Run OCR first, then convert.
Direct answer
A scanned PDF contains an image of each page and no text layer, so a text extractor finds zero characters. This converter reads text, it does not run OCR, and it tells you when a file has no text layer. Fix it by running OCR first — Adobe Acrobat's Recognize Text, macOS Preview, the free ocrmypdf command line tool, or opening the file with Google Docs — then convert the OCR'd PDF here.
Open PDF to Markdown converterWhen to use this
- The converter reports that the PDF has no text layer.
- You cannot select or search any text when you open the PDF in a normal viewer.
- The document came from a scanner, a fax, or a phone photo.
Steps
- Open the PDF in any viewer and try to select a sentence. If nothing highlights, there is no text layer.
- Run OCR: `ocrmypdf input.pdf output.pdf` on the command line, Acrobat's Scan & OCR tool, or upload to Google Drive and choose Open with Google Docs.
- Confirm the OCR'd file now allows text selection.
- Drop the OCR'd PDF into the converter.
- Proofread the Markdown. OCR misreads characters, especially in small print, tables, and handwriting.
Example
A 12-page contract scanned at 300 dpi. Every page is a JPEG inside the PDF.
The converter reports: this PDF has no text layer. No Markdown is produced until the file is passed through OCR.
Common mistakes
- Do not assume a file is fine because it looks like text on screen. A picture of text looks identical.
- Do not expect this tool to add OCR later; it converts an existing text layer only.
- Do not trust OCR output on figures, stamps, or handwriting without reading it.
- A mixed PDF can have text on some pages and scans on others, so part of the document may convert while the rest returns nothing.
FAQ
- Does this tool have OCR?
- No. It reads the text layer that a PDF already contains. If the file has no text layer, it reports that and produces no output rather than pretending to convert.
- How do I OCR a PDF for free?
- `ocrmypdf` is a free open-source command line tool built on Tesseract. macOS Preview and Google Docs can also produce a searchable version. Any of them adds a text layer that this converter can then read.
- Why do I get a few stray characters instead of nothing?
- Some scanned PDFs carry a small real text layer — a stamp, a form field, or a footer added digitally after scanning. That text extracts normally while the scanned body does not.
Related PDF to Markdown guides
How to Convert a PDF to Markdown
Drop a PDF into the browser converter. It reads the text layer, infers headings from font size, rebuilds lists, and returns Markdown you can copy or download as a .md file.
Convert a PDF to Markdown for ChatGPT, Claude, or RAG Context
Markdown is a cheaper, cleaner context format than a raw PDF dump. Convert first, strip the running headers, then paste the text into the model or your retrieval pipeline.
Keep Headings and Structure When Converting a PDF
The converter infers headings from relative font size: the largest size becomes #, the next becomes ##. Here is when that works, and what to do when a document defeats it.
Extracting Tables From a PDF to Markdown: What Actually Works
A PDF table is positioned text with no cell structure. This converter returns the table's text as lines, not as a Markdown pipe table. Here is the honest workaround.
Convert a PDF to Markdown for Obsidian and Other Notes Apps
Download the converted .md file straight into your vault. Headings become real outline levels, and the source PDF never leaves your machine.