Go to example tasks

PDF to RAG Chunks with Page Citations

Split PDFs into RAG chunks of about 300 tokens, each with its source, page range, heading path and token estimate, ready to embed into a vector database. Headers, footers and page numbers are removed; scans are flagged, not guessed.

Try for free
PDF to Markdown & RAG Chunks: Word, Excel, PowerPoint
PDF to Markdown & RAG Chunks: Word, Excel, PowerPointquarrywise/pdf-to-markdown-rag
Chunk
File
Headings
From page
+3 fields
Text
Number
Boolean
List
Object

Input

Document links:https://quarrywise.com/samples/quarterly-report.pdf+1
Output:chunks
Chunk size (tokens):300
Chunk overlap (tokens):30

Output fields

Chunk
File
Headings
From page
To page
Tokens (est.)
Text

How it works

Sign up on Apify or log in

The PDF to Markdown & RAG Chunks: Word, Excel, PowerPoint Actor is ready to run with the inputs already set for "PDF to RAG Chunks with Page Citations". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "PDF to RAG Chunks with Page Citations" task

The PDF to Markdown & RAG Chunks: Word, Excel, PowerPoint Actor will start running based on the input automatically. You can also change all the input fields, like document links, output, and more, to match your specific use case.

Receive the "PDF to RAG Chunks with Page Citations" 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 chunk, file, headings, 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 "PDF to RAG Chunks with Page Citations" task via API.

Image

Integrate "PDF to RAG Chunks with Page Citations" into your workflow

Connect "PDF to RAG Chunks with Page Citations" 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