Split Markdown docs into embedding-ready chunks
CodePoetry
Splits a Markdown documentation page on its # / ## / ### headers, caps oversized sections at 512 tokens, and moves headers into metadata so each chunk embeds cleanly. Works with any README, docs page or GitHub raw URL.
Input
Output fields
Sign up on Apify or log in
The Markdown RAG Chunker: Document Text Splitter Actor is ready to run with the inputs already set for "Split Markdown docs into embedding-ready chunks". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Split Markdown docs into embedding-ready chunks" task
The Markdown RAG Chunker: Document Text Splitter Actor will start running based on the input automatically. You can also change all the input fields, like document url, headers to split on, and more, to match your specific use case.
Receive the "Split Markdown docs into embedding-ready chunks" 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 index, header path, token count, 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 Markdown docs into embedding-ready chunks" task via API.

Integrate "Split Markdown docs into embedding-ready chunks" into your workflow
Connect "Split Markdown docs into embedding-ready chunks" 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