Text Chunker
Split text into character-sized or paragraph-aware chunks and export their source offsets.
This tool processes its input contents in your browser instead of sending them to a processing service. Page, asset and fixed usage-measurement requests are described on the Privacy page.
Split supplied text into character-sized or paragraph-aware chunks with source offsets.
How to use it
- 1Paste the source text.
- 2Choose the split mode, size and any supported overlap.
- 3Inspect the chunks and export them with their source positions.
Example
- Input
- abcdefghijklmno Mode: characters; size: 10; overlap: 0
- Output
- [ { "index": 1, "start": 0, "end": 10, "characters": 10, "text": "abcdefghij" }, { "index": 2, "start": 10, "end": 15, "characters": 5, "text": "klmno" } ]
The chunks array from the actual JSON result. Start is inclusive; end is exclusive, measured in Unicode code points.
What happens to your data
Text is split locally in this tab and returned as a new result. No model or embedding service is called. The separate MCP operation processes the source text you explicitly share on Toolvore’s server.
Last updated December 2026
Use text chunking for AI preparation, review or indexing to split a supplied document into smaller pieces. Choose a character size and optional paragraph preference, inspect the returned chunks and keep their offsets with the result. The tool divides text; it does not call a model or generate embeddings.
How it works
Character-based chunking creates slices of 10–20,000 Unicode code points, with overlap limited to half the chosen size. Paragraph mode prefers the last blank-line boundary in the latter half of a chunk; a long paragraph is still split at the size limit. At most 200 chunks are returned. Start offsets are zero-based and end offsets are exclusive, in Unicode code points rather than JavaScript UTF-16 units. Offsets make it possible to relate each returned piece to the original supplied text instead of losing its place in the document.
Chunk boundaries can affect a later retrieval or summarization system. A character limit is not an exact model-token limit, and a paragraph split is not proof that every chunk contains a complete argument. Inspect the pieces, especially for tables, code and repeated headings. Use a tokenizer separately when a downstream service has an encoding-specific token budget. The tool does not establish retrieval quality or guarantee that an AI answer will cite your content.
Text is split locally in this tab and returned as a new result. No model or embedding service is called. The separate MCP operation processes the source text you explicitly share on Toolvore’s server.
Worked example: Two chunks with exact source positions
- Input
- abcdefghijklmno Mode: characters; size: 10; overlap: 0
- Result
- [ { "index": 1, "start": 0, "end": 10, "characters": 10, "text": "abcdefghij" }, { "index": 2, "start": 10, "end": 15, "characters": 5, "text": "klmno" } ]
The chunks array from the actual JSON result. Start is inclusive; end is exclusive, measured in Unicode code points.
Common use cases
- Prepare a long note as smaller reviewable text pieces.
- Keep source offsets while building a document-processing workflow.
- Compare a paragraph split with fixed-size text chunks before indexing.
Frequently asked questions
Are these exact token-sized chunks for every AI model?+
No. The chunk sizes use the tool’s stated character units and paragraph rules. Token counts depend on a separate encoding.
What is overlap for?+
Overlap repeats some neighboring text between chunks. It can help preserve nearby context but also creates repeated content, so choose it deliberately.
Does the text chunker create embeddings or contact an AI service?+
No. It returns text chunks and their positions. Embedding, retrieval and model calls are separate workflow choices.
Standards and limitations
Related tools
Token Counter
Count text tokens with cl100k_base or o200k_base and compare the result with a chosen budget.
Markdown Formatter
Format Markdown with consistent spacing and lists, then review and download the complete source.
Whitespace Cleaner
Remove line breaks, extra spaces, and tabs from text.
Subtitle Quality Checker
Check plain SRT or WebVTT subtitles against your own reading-rate, line-length, duration and gap limits, then export a cue-by-cue issue report.