Extract PDF text and audit pages needing OCR
Kizuki
Reads public PDFs from direct URLs and audits each document's text layer, returning pdfType (TextBased, Scanned, Mixed or ImageBased), pagesNeedingOcr, page-numbered Markdown and plain text capped at 100,000 characters. Scanned documents with no text layer return status scan and are not charged, helping you route only scanned files to OCR.
Input
Output fields
Sign up on Apify or log in
The PDF to Markdown Extractor: Page Numbers & Tables Actor is ready to run with the inputs already set for "Extract PDF text and audit pages needing OCR". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Extract PDF text and audit pages needing OCR" task
The PDF to Markdown Extractor: Page Numbers & Tables Actor will start running based on the input automatically. You can also change all the input fields, like PDF URLs, maximum file size (mb), and more, to match your specific use case.
Receive the "Extract PDF text and audit pages needing OCR" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as PDF, title, status, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Extract PDF text and audit pages needing OCR" task via API.

Integrate "Extract PDF text and audit pages needing OCR" into your workflow
Connect "Extract PDF text and audit pages needing OCR" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
The PDF text extraction and OCR scan audit task returns one row per PDF with status, pdfType, pageCount, pagesReturned, pagesNeedingOcr, markdown, text, charCount, byteCount and truncatedBy.
In the PDF text extraction and OCR scan audit task, a PDF with no text layer returns status scan and lists its 1-indexed pages in pagesNeedingOcr without being charged; no OCR is run.
In the PDF text extraction and OCR scan audit task, Maximum file size is set to 40 MB for default 1 GB memory runs; oversized files are skipped, listed in OUTPUT skippedInputs and not charged.
The PDF text extraction and OCR scan audit task needs no login and has Respect robots.txt enabled, so disallowed paths are skipped free and listed in OUTPUT.