Go to example tasks

Extract text from selected pages of a PDF

Converts only the PDF pages you list, for example 1-2 or 1-5, 10, 20-. Skip covers and appendices, cut OCR cost on long scans, and get Markdown with page numbers for just the part you need.

Try for free
PDF to Markdown & Text Extractor with OCR
PDF to Markdown & Text Extractor with OCRrod_analytics/doc-to-markdown
File
Title
Type
Pages
+6 fields
Text
Number
Boolean
List
Object

Input

File URLs:https://www.irs.gov/pub/irs-pdf/fw9.pdf
PDF page range:1-2

Output fields

File
Title
Type
Pages
OCR pages
Chunks
Characters
Markdown file
Source
Error

How it works

Sign up on Apify or log in

The PDF to Markdown & Text Extractor with OCR Actor is ready to run with the inputs already set for "Extract text from selected pages of a PDF". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Extract text from selected pages of a PDF" task

The PDF to Markdown & Text Extractor with OCR Actor will start running based on the input automatically. You can also change all the input fields, like file urls and PDF page range, to match your specific use case.

Receive the "Extract text from selected pages of a PDF" 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 file, title, type, 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 text from selected pages of a PDF" task via API.

Image

Integrate "Extract text from selected pages of a PDF" into your workflow

Connect "Extract text from selected pages of a PDF" 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