Go to example tasks

PDF to RAG chunks with page numbers and headings

Split a PDF into chunks ready for a vector database. Each chunk keeps its page range and heading path, so your LLM app can cite the page an answer came from. Tables stay as Markdown tables. Replace the sample URL with links to your own PDFs, Word, Excel or PowerPoint files.

Try for free
PDF to Markdown: Word, Excel, PowerPoint & RAG Chunks
PDF to Markdown: Word, Excel, PowerPoint & RAG Chunkstamatama/doc-to-markdown
File
Type
Title
Pages
+7 fields
Text
Number
Boolean
List
Object

Input

Document URLs
url:https://api.apify.com/v2/key-value-stores/TmLpEGDADXE0rUYDl/records/sample-remote-work-policy.pdf
Output format:chunks
Chunk size (characters):500
Chunk overlap (characters):50

Output fields

File
Type
Title
Pages
Charged pages
Characters
Chunk
From page
To page
Error
URL

How it works

Sign up on Apify or log in

The PDF to Markdown: Word, Excel, PowerPoint & RAG Chunks Actor is ready to run with the inputs already set for "PDF to RAG chunks with page numbers and headings". 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 numbers and headings" task

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

Receive the "PDF to RAG chunks with page numbers and headings" 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, title, 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 numbers and headings" task via API.

Image

Integrate "PDF to RAG chunks with page numbers and headings" into your workflow

Connect "PDF to RAG chunks with page numbers and headings" 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