Split PDFs into chunks for RAG and vector databases
Converts documents to Markdown and splits them into overlapping chunks ready for embeddings and a vector database.
Input
Output fields
Sign up on Apify or log in
The PDF to Markdown API [$2/1k] - Word, PowerPoint, Excel & OCR Actor is ready to run with the inputs already set for "Split PDFs into chunks for RAG and vector databases". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Split PDFs into chunks for RAG and vector databases" task
The PDF to Markdown API [$2/1k] - Word, PowerPoint, Excel & OCR Actor will start running based on the input automatically. You can also change all the input fields, like document urls, RAG chunk size (characters), and more, to match your specific use case.
Receive the "Split PDFs into chunks for RAG and vector databases" 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 URL, file, 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 "Split PDFs into chunks for RAG and vector databases" task via API.

Integrate "Split PDFs into chunks for RAG and vector databases" into your workflow
Connect "Split PDFs into chunks for RAG and vector databases" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
The "Split PDFs into chunks for RAG and vector databases" task returns one row per chunk with its text, position and source document.
The "Split PDFs into chunks for RAG and vector databases" task costs $2 per 1,000 documents on the base plan, plus a tiny start fee. Higher Apify plans pay less.
The "Split PDFs into chunks for RAG and vector databases" task can run on any Apify schedule, and the results can go to Google Sheets, Slack, a webhook or the API.