Home / Tools / Markdown Chunker for RAG
AI / RAG
Markdown Chunker for RAG
Split Markdown into chunks for AI search, with heading paths kept.
Split a Markdown file by heading so each chunk stays on one topic. Code blocks and tables stay whole when they fit. Each chunk keeps its heading path and line numbers. This is plain code, not an AI model, so the same file always gives the same chunks.
What it does
- Splits by headings first, so each chunk stays on one topic.
- Avoids cutting a code block or table in the middle when it fits.
- Gives each chunk an id, heading path, and line numbers.
- The free lite tool is a CLI and an MCP server you run on your computer.