ailearnist Loading…
RAG & Retrieval Lab · Intermediate

RAG Chunking Visualizer

Split a document by size, sentence or paragraph with overlap, and see exactly what each chunk holds.

3 chunking strategies Overlap highlighting Size stats

Document

Chunking settings

0chunks
0avg tokens
–min – max
0%duplicated by overlap

Chunks

overlap carried from the previous chunk top-3 retrieved for your question chunk ends mid-sentence

Choosing a chunking strategy

  • Fixed size is simple and predictable but cuts sentences in half — watch for the red "cut" marker.
  • Sentence / paragraph-aware chunks keep ideas whole, so retrieved text reads cleanly.
  • Recursive splits by paragraph, then sentence, then words — only as small as it needs to be. A good default.
  • Overlap (10–20%) keeps context that straddles a boundary, at the cost of storing some text twice.
  • Too small and chunks lose meaning; too large and retrieval gets fuzzy and prompts get expensive. Test with real questions.