Drop a PDF and get a verdict for every page: does it carry extractable text, or is the page a picture of text? This is the same question behind “no text could be extracted from this file” — answered page by page, with the one command that fixes it.
| Page | Verdict | Text | Words | Images |
|---|
ocrmypdf --skip-text.qpdf --decrypt, then check it again.The local CLI runs the identical check offline — no upload, no quota:
llmfiles doctor report.pdf llmfiles doctor report.pdf --json # machine-readable, same fields as the API
Exit code is 0 when every page has text, 1 when something needs OCR or unpacking, 2 for a bad argument. After OCR, convert the file to Markdown — one page, one ZIP of many files, or the whole folder from the CLI.
The PDF has no text layer on those pages. A scanner, a phone photo saved as PDF, or “print to PDF” from an image writes a picture of the page, not characters — so every extractor returns empty text. This page reads the file and tells you which pages are affected.
No. The file is read by the LlmFiles server that serves this page and is not forwarded to any third-party service, OCR API or cloud storage. The check does not count against the daily conversion limit.
Run OCR once on a copy: ocrmypdf --redo-ocr in.pdf out.pdf. That writes an invisible text layer under the images, keeps the look of the document, and the result converts to Markdown like any digital PDF. A deep dive into what a PDF really contains is in the PDF guide.