Guide · Data Tools / Text & Writing
About Document & Prompt Text Chunker
Split long articles, transcripts, or documentation files into uniform character chunks with configurable overlap and approximate token counts.
When to use this tool
Handy when preparing RAG indexing chunks, breaking transcripts into reviewable segments, or staying within strict payload character caps.
How to use Document & Prompt Text Chunker
- Paste your document into Long Text.
- Set Chunk Size (characters) and Overlap (characters, strictly less than chunk size).
- Inspect chunk boundaries and download or copy the segmented text.
Supported inputs, options, and outputs
- Inputs: Long text string, chunk size, and overlap width.
- Outputs: Numbered chunk list, approximate char/4 token counts, and copyable block.
Accuracy notes and limitations
- Token estimates use a ~4 characters/token English approximation rather than a model-specific BPE tokenizer.
- Splits cleanly near whitespace where possible, which can produce slight chunk-length variations.
Privacy and browser processing
All text transformations run strictly in browser JavaScript without sending pasted drafts, identifiers, or transcripts to IJM servers. Hosted pages load cookie-free Vercel Web Analytics and Google Fonts.
Read the full IJM Privacy Policy or browse all Data Tools.