Go to example tasks

Split a PDF into RAG chunks with page numbers

Convert a PDF to Markdown and paragraph-aware chunks with page numbers for embeddings and RAG pipelines. Text-layer pages cost $0.001, scanned pages $0.004.

Try for free
PDF OCR to Markdown - Scanned PDF & Image to Text (moved)
PDF OCR to Markdown - Scanned PDF & Image to Text (moved)sophisticated_occasion/document-to-markdown-ocr
File
Type
Pages
Processed
+7 fields
Text
Number
Boolean
List
Object

Input

Document URLs(required):https://www.rfc-editor.org/rfc/rfc9309.pdf
RAG chunk size (characters):1200

Output fields

File
Type
Pages
Processed
OCR pages
Text-layer pages
Unreadable (free)
OCR confidence
Characters
Billed pages
Warnings

How it works

Sign up on Apify or log in

The PDF OCR to Markdown - Scanned PDF & Image to Text (moved) Actor is ready to run with the inputs already set for "Split a PDF into RAG chunks with page numbers". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Split a PDF into RAG chunks with page numbers" task

The PDF OCR to Markdown - Scanned PDF & Image to Text (moved) Actor will start running based on the input automatically. You can also change all the input fields, like document urls and RAG chunk size (characters), to match your specific use case.

Receive the "Split a PDF into RAG chunks with page numbers" 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, type, pages, 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 "Split a PDF into RAG chunks with page numbers" task via API.

Image

Integrate "Split a PDF into RAG chunks with page numbers" into your workflow

Connect "Split a PDF into RAG chunks with page numbers" 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