Split Text
Split text by character, word, line, sentence, delimiter, regex, or fixed length. Output as lines, JSON, CSV, and more.
Examples: , | ; or any text
Split into 0 segments · Avg length: 0 chars
Try an example
How to split text online
Four steps to break any string into segments in your browser.
- 1
Paste your text
Drop CSV rows, tag lists, paragraphs, or any string into the input panel.
- 2
Choose how to split
Pick character, word, line, sentence, custom delimiter, regex, or fixed length.
- 3
Set output format
Export as lines, JSON, CSV, comma-separated, numbered list, or Markdown bullets.
- 4
Copy or download
Live stats update as you type. Copy the result or download .txt / .json.
What is text splitting?
Text splitting — also called tokenization or segmentation — is the process of breaking a string into smaller units: characters, words, lines, sentences, or arbitrary chunks. Every spreadsheet import, log parser, translation pipeline, and API client eventually needs to turn one blob of text into a list you can process row by row.
SuperTextTools Split Text runs entirely in your browser. Paste any string, choose how to divide it, pick an output format, and copy or download the result — no upload, no account, and no server seeing your data.
Seven split modes
- Character — inspect or transform every glyph; useful for frequency counts and encoding checks. Emoji and combining characters count as one unit (code points), not UTF-16 code units.
- Word — the everyday choice for vocabulary and token counts; whitespace (spaces, tabs, newlines) acts as a single delimiter.
- Line — process logs, lists, and exports one record per row; handles Windows (
\r\n), old Mac (\r), and Unix (\n) line endings. - Sentence — split on
. ! ?with protection for common abbreviations (Mr., Dr., U.S.A., etc.) — handy before translation, TTS, or readability scoring. - Custom delimiter — when structure is known: CSV commas, pipe files, or multi-character separators.
- Regex — the most flexible mode; one pattern can match commas, semicolons, pipes, and optional surrounding spaces.
- Fixed length — chunk long IDs, tokens, or messages into equal visual character counts (default 80, up to 1000).
Common use cases
- Split a CSV row into columns when Excel is not available
- Turn comma-separated tags into a vertical Markdown list for a blog post
- Break a paragraph into sentences for a translation tool
- Chunk a long alphanumeric ID for visual inspection
- Parse API responses with custom field separators
- Clean messy exports where delimiters are mixed (regex mode)
- Prepare one-line-per-record imports into spreadsheets or databases
Trim and remove empty
Real-world data rarely arrives perfectly trimmed. Spaces around delimiters create noisy segments; consecutive delimiters (like ,,) produce empty strings. Trim each segment and Remove empty segments are on by default and handle the majority of cleanup automatically — trim runs first, then empty removal, then optional reverse order.
Output formats
- Lines — one segment per row; paste into spreadsheet column A
- JSON array — valid JSON for scripts and config files
- Comma-separated — human-readable inline list
- CSV (quoted) — RFC-style quoting with doubled internal quotes
- Numbered list — steps, rankings, instructions
- Markdown bullets — documentation and blog drafts
Performance and privacy
The tool is tested on large inputs (around 100k characters and beyond) without freezing the tab. Very large character-level splits may truncate the on-screen preview for performance while still computing full stats and export data. For files above roughly 10 MB, a desktop script or language runtime is usually faster — but everyday copy-paste workflows stay snappy here.
Keywords: split text, text splitter, split string, separate text, divide text, split csv online, split by delimiter, split by regex, text to array.
Frequently asked questions
What's the difference between "Word" and "Character" splitting?
Does sentence mode handle abbreviations?
Can I split by multiple delimiters at once?
[,;|] splits on commas, semicolons, or pipes. Add \s* to swallow surrounding whitespace: [,;|]\s*.Why are some segments empty?
,,), split creates an empty segment between them. Enable Remove empty segments to filter these automatically after optional trimming.How does fixed-length mode handle emoji and unicode?
🎉 counts as one character — matching what you see on screen, not how JavaScript stores surrogate pairs internally.Related tools
More free tools — all run in your browser.
Remove Duplicates
Remove duplicate lines from text instantly.
Find & Replace
Find and replace text with support for regex and case sensitivity.
Word Counter
Count words, characters, sentences, and reading time.
Case Converter
Convert text between uppercase, lowercase, camelCase, and more.
Regex Tester
Test regular expressions with live match highlighting.