RAG Text Chunker

Split documents into token-sized overlapping chunks for embedding.

Works Offline
Privacy First
No Login
No API

Source document

Drop a file here

Drop a .txt or .md file

Chunks

Estimating while the tokenizer loads

Chunks
0
Total tokens
0
Avg / chunk
0
Embed cost
$0.0000

Largest chunk: 0 tokens.

  • Paste a document to split it into chunks.

About the RAG Text Chunker

Prepare documents for retrieval-augmented generation: choose paragraph, sentence, Markdown-heading or fixed-window splitting, set chunk size and overlap in real tokens, preview every chunk with its token count and export ready-to-embed JSONL with source metadata.

Examples

512-token chunks

12 KB Markdown guide

Output

7 chunks · 3,180 tokens · $0.00006 to embed

Keyboard shortcuts

  • Copy the main outputCtrl / ⌘ + Shift + C
  • Download the resultCtrl / ⌘ + S
  • Share this toolCtrl / ⌘ + Shift + S
  • Reset the inputsAlt + R
  • Open the tool search paletteCtrl / ⌘ + K

Related tools

Frequently asked questions

Version 1.0.0 · Updated 2026-08-14 · Runs entirely in your browser