Skip to content

RAG Chunk Visualizer

CARD No. 2026 · CHUNKING REFERENCE

Paste text. See four chunking strategies side by side. Overlap regions are highlighted.

Reading the output. Highlighted regions are bytes shared with the adjacent chunk (overlap). Stats show: chunk count, mean/min/max tokens, total tokens (corpus size + overlap inflation). For a fair comparison, watch how each strategy handles sentence boundaries near your target size.
Picking a strategy
Source typeSuggestedWhy
Long-form proseRecursive or sentencePreserves sentence-level coherence.
Technical docs with headingsParagraphHeadings act as natural boundaries.
Source codeAST-based (not shown)Splitting on tokens breaks scope. None of the four shown handle code well.
Mixed-quality scrapesFixed with high overlapBad input deserves redundant chunks.