Text Chunker for RAG

Free. No sign-up. Your input is processed in your browser.

Cut long documents into pieces for search or AI.

How to use it

  1. Paste your text.
  2. Choose tokens per chunk and overlap.
  3. Download the chunks as JSONL.

How it splits

The tool keeps paragraphs together where it can, then splits at sentences, then words. A very long unbroken string is cut by characters. Overlap repeats whole sentences or words from the end of the previous chunk, only when they fit.

Limits

Counts use o200k_base. Your embedding model may count differently, so leave some room. The splitter does not understand headings, tables or code structure. Spaces at the start and end of a chunk are trimmed. It accepts up to 500,000 characters.

Questions

Does it create embeddings?

No. It only splits text.

What chunk size is best?

It depends on your model and documents. Test a few sizes with real questions.

Related tools

See all tools