RAG Text Chunking Previewer
Preview character-based fixed-size, sentence, paragraph, and recursive text chunks with adjustable overlap. Processing stays in your browser; no semantic or token counts.
599 / 50,000 UTF-16 code units. Chunk size and overlap count Unicode code points; overlap repeats text at the start of the next chunk.
Chunk preview
- Chunks
- 4
- Average characters
- 172
Chunk 1181 characters
Retrieval-augmented generation systems split source documents into smaller chunks before indexing. Chunk size changes how much surrounding context each retrieved passage contains.
Chunk 276 characters
retrieved passage contains. Fixed-size splitting uses a character target.
Chunk 3213 characters
ting uses a character target. Sentence and paragraph strategies prefer natural text boundaries, while recursive splitting tries paragraphs, sentences, then whitespace before falling back to a character boundary.
Chunk 4219 characters
ack to a character boundary. Overlap repeats a portion of one chunk at the start of the next. This preview counts Unicode code points, not tokenizer tokens, and does not model semantic similarity or embedding behavior.