Text Chunk Splitter
Split a long text into smaller pieces that fit a character limit. The tool looks for a natural break so it can keep words together.
Your text stays in your browser and is never uploaded or stored.Paste text and choose how the limit is counted. Chunks update as you type. Visible-character mode keeps emoji families, flags and combining marks together.
Active budget: 280 visible characters; whitespace boundaries; overlap 0 graphemes; no delivered numbering; no custom wrapper. Whitespace/custom separators may be removed at a split and are recorded in the report.
Collection headings such as “Chunk 1” are labels outside the individual message budget. Explicit prefix, suffix and optional (index/total) numbering count inside every delivered chunk. Overlap repeats source ranges. Token counts cover literal text only, excluding chat wrappers, tools, images, output tokens and billing.
Add text to split it into chunks.
Advanced settings
Sentence/paragraph modes preserve their source text. If a preferred unit is too long, it falls back to a grapheme-safe cut. Delimiters are literal text, not regular expressions. Overlap must be smaller than each actual chunk body. Token packing is exact at emitted boundaries and may leave unused capacity.
Discord and Telegram presets use conservative UTF-16 ceilings for raw plain text. Rich formatting, parsed entities, special links and platform changes can affect acceptance. Review the final message in its destination application.
Processing stays local. Limits: 1 MiB UTF-8 and 200,000 graphemes; token mode 128 KiB and non-whitespace runs up to 4,096 code points; 10,000 complete chunks and 8 MiB complete report. Calculation stops after eight seconds. Oversized work is refused, never silently truncated. Tokenizer licences and source.
How to split text into complete chunks
Paste text and choose a maximum of 1–100,000 units. The English default counts visible characters as grapheme clusters, keeping emoji families, flags and combining marks together. UTF-16 mode uses code-unit budgets while retaining the same safe cut boundaries. Token mode is separate and counts plain-text content using a pinned local encoder for the selected GPT-4 (0613) or GPT-4o (2024-08-06) profile. It does not count chat wrappers, tools, images, output tokens, context-window allowances or billing. No AI service receives your text.
Chunks update after typing. Copy result and Download .txt keep the original numbered collection layout. Those “Chunk 1” collection headings are navigation labels outside individual message budgets. Copy a specific chunk to get only its actual delivered text. Each chunk shows visible characters, code points, UTF-16 units and UTF-8 bytes; token counts appear in token mode. JSON chunk array exports every delivered string, while the complete report includes original source, source ranges, removed separators, overlap, options and all counts.
Advanced settings starts closed and retains its choices. Prefer whitespace, sentence, paragraph or a literal custom delimiter, or choose grapheme-safe hard cuts. The default whitespace flow removes one recorded separator at a boundary, like the original splitter. Keep separators preserves whitespace or custom delimiters. Sentence and paragraph modes keep the source text. An oversized preferred unit falls back to a grapheme boundary. Custom delimiters are literal strings, not regular expressions; matches inside a grapheme are ignored.
Overlap repeats the chosen number of source graphemes at the next chunk’s start. It must be smaller than the actual chunk body so processing advances. Prefix, suffix and optional (index/total) numbering are included and measured inside every delivered chunk. Numbering reserves space using the final chunk count; impossible or unsettled budgets stop processing. Token packing checks exact emitted text, including merges at wrapper joins, and is not promised to maximize capacity. A first source grapheme and its reserved text must fit without being cut apart.
Discord API and Telegram Bot API presets use conservative 2,000 and 4,096 UTF-16 ceilings for raw plain text. You can edit the values. Formatting, parsed entities, special links and future platform changes can affect acceptance, so check the final message in its destination application. Clear removes text, Undo restores the text before Clear or Try an example, and your settings remain. Use Update chunks to retry after a cancellation or unavailable worker.
Example: split an announcement without breaking emoji
Enter “Bring snacks and drinks” with a limit of 12 visible characters. The default result remains “Bring snacks” and “and drinks”, with the boundary separator recorded as removed. Try a family emoji, a flag or an accented letter built with a combining mark: each stays together in visible-character mode. A UTF-16 budget counts their code units but refuses to split a grapheme if it cannot fit.
Open Advanced settings to add a short prefix and numbering, or repeat two source graphemes between chunks. Review the actual per-chunk budget and use individual Copy chunk buttons for separate messages. Choose model-content tokens for AI text preparation, then compare the two pinned encodings. The same text can have different token counts; the report records the selected profile.
About character limits, token limits and privacy
Visible characters, Unicode code points, UTF-16 code units and model tokens measure different things. This browser’s Intl.Segmenter provides grapheme and sentence boundaries. Encoders are pinned local gpt-tokenizer 4.1.2 implementations with cl100k_base and o200k_base rank data; special-looking strings are treated as ordinary literal text. These offline encoding profiles do not assert that a model is currently available or that an API request fits its complete context.
Processing stays in this browser. Text is not uploaded or automatically stored. Collection headings, overlap and deliberately removed separators mean a blind join of exported strings may not reconstruct the source; keep the complete report when provenance matters. Every exported chunk is complete even though the page shows twenty chunks at a time.
The source limit is 1 MiB UTF-8 and 200,000 graphemes. Token mode accepts 128 KiB and uninterrupted non-whitespace runs up to 4,096 code points. Complete output is limited to 10,000 chunks and 8 MiB; prefixes, suffixes and delimiters have their own visible validation. Calculation stops after eight seconds. Oversized or invalid work is refused instead of truncated, and stale results cannot be copied through the action buttons. Clipboard refusal selects the relevant output for manual copying.
References: OpenAI encoder mapping, token-count examples, Discord message limits and Telegram plain-message limits. Rules reviewed 18 November 2026. Tokenizer licences and source.
Stars and feedback
Loading…
What could we improve in Text chunk splitter?
Email us feedback@tooltulip.com
Tool reference #124