Split documents into chunks for embeddings
Splits a document into chunks of a set size, with an overlap between neighbouring chunks, so each piece fits an embedding model or a prompt. Each chunk row names its source document and position. Set the chunk size and overlap to match your model. Works on PDF, Word, PowerPoint, Excel, HTML and EPUB. This preset reads the first 5 pages of each document.
Input
Output fields
Sign up on Apify or log in
The PDF to Markdown & Document to Text for LLM/RAG, with OCR Actor is ready to run with the inputs already set for "Split documents into chunks for embeddings". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Split documents into chunks for embeddings" task
The PDF to Markdown & Document to Text for LLM/RAG, with OCR Actor will start running based on the input automatically. You can also change all the input fields, like document links, output format, and more, to match your specific use case.
Receive the "Split documents into chunks for embeddings" 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 "Split documents into chunks for embeddings" task via API.

Integrate "Split documents into chunks for embeddings" into your workflow
Connect "Split documents into chunks for embeddings" 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