Go to example tasks

Extract PDF text and audit pages needing OCR

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.

Try for free
PDF to Markdown Extractor: Page Numbers & Tables
PDF to Markdown Extractor: Page Numbers & Tableskizukidata/pdf-to-markdown
PDF
Title
Status
Pdf type
+5 fields
Text
Number
Boolean
List
Object

Input

PDF URLs:https://pdfobject.com/pdf/sample.pdf+1
Maximum file size (MB):40
Maximum characters per PDF:100000
Respect robots.txt:true
Maximum PDFs:20

Output fields

PDF
Title
Status
Pdf type
Pages
Pages read
Characters
Truncated
Cut by

How it works

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.

Image

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

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

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.