Split Text
Split text into pieces by a separator, a regex, a fixed width, or a number of chunks, then format each chunk with custom wrappers.
Split Separator Options
Input Character
Output Character
Char Before Chunk
Char After Chunk
Error: Unable to split the text.
Split text pieces:
About Split Text
Split Text breaks input into pieces in four different ways. You can split by a literal separator, a regular expression, a fixed chunk length, or a chosen number of equally sized chunks. You can also place custom text between chunks and wrap each piece before output.
How It Works
Use the tool in three simple steps:
- Paste the text - Add the text that should be split into pieces.
- Choose the splitting method - Select a symbol, regex, chunk length, or target number of chunks.
- Format the output - Set the output separator or wrappers and click Split Text.
Basic Examples
-
Split text by a symbol
Input: fan#tas#tic Use a Symbol for Splitting: On Input Character: # Output: fan tas tic
-
Split text with a regex
Input: su1per2awe3some Use a Regex for Splitting: On Regex: \d Output: su per awe some
-
Split into a number of chunks and wrap them
Input: aviation Use a Number of Chunks: On Number of Chunks: 4 Output Character: - Char Before Chunk: [ Char After Chunk: ] Output: [av]-[ia]-[ti]-[on]
Text Tools
Other tools you might like
Remove quote marks from the beginning and end of text lines, clean multiple quote layers, and trim leftover whitespace.
Remove empty lines from text and optionally delete lines that contain only tabs or spaces.
Remove duplicate words from text, keep first copies or delete all repeats, and choose the output word delimiter.
Randomize spaces in text and optionally vary tabs and newlines with configurable minimum and maximum ranges.
Format text with a printf-style template, optionally formatting each line separately and decoding escape sequences.
Highlight whole words and phrases in text with word-boundary matching, optional case sensitivity, and custom colors.
Highlight whole sentences that contain selected patterns or exactly match target sentence text, with custom colors.
Highlight matches for one or more regular expressions with custom default flags and configurable marker colors.
Highlight repeated text patterns and substrings with optional case-sensitive matching and customizable marker colors.
Highlight specific letters or symbols inside text with optional case-sensitive matching and custom marker colors.
Generate glitchy Zalgo text by adding combining marks above, through, and below characters with controllable chaos levels.
Generate k-skip-n-grams from text, choose word or letter mode, control sentence edges, and customize separators or punctuation cleanup.
Generate random text with an exact number of characters from preset or custom character pools, with optional line wrapping.
Generate word or letter n-grams from text, choose the size n, respect sentence endings if needed, and optionally normalize punctuation or case.
Generate random strings from a regexp pattern with support for common classes, groups, alternation, quantifiers, and multiple samples.
Flip text vertically by transposing characters, words, or sentences from each input row with custom output separators.
Normalize blank lines between paragraphs and lines, set custom distances, or glue paragraphs and lines together with custom symbols.
Erase listed or random words from text by replacing their letters with repeated blank symbols while preserving each word width.
Convert aligned plain-text columns back to text, ignore selected columns, and choose custom glue symbols for column gaps and line breaks.
Convert delimited text into aligned columns with custom input and output separators, optional separator alignment, and left, right, or center padding.
Randomly remove characters from text, preserve selected symbols or whitespace, and optionally keep word capitalization stable after deletion.
Remove matching symbols from the left and right sides of words, clean repeated layers, and handle apostrophe or hyphen word parts.
Remove random letters from words, limit the removal to certain positions, and target or ignore specific letters when needed.
Randomize the number of line breaks between text fragments, trim loose line edges, and merge lines with a custom join symbol when needed.
Randomize the order of text paragraphs, move them in groups, trim paragraph edges, and remove duplicates when needed.
Randomize uppercase and lowercase letters in any text to create playful mixed-case output for memes, mockups, and experiments.
Reverse the letters inside every word, keep word order, and control how case, apostrophes, and hyphens are handled.
Test text with a regular expression, validate the whole input or each line separately, and copy the status result.
Normalize uneven line-break runs in text and set a fixed newline count or join all lines into one clean string.
Find the length of text, count spaces, tabs, and newlines, and print one value per line when needed.
Add a left and right symbol around every word in text and copy the wrapped result in one click.
Find letters that appear exactly once in text and copy the unique-character list in one clean result.
Find repeated letters in text, count each duplicate character, and copy the result in one simple list.
Find all words that appear only once in text and copy the unique-word list in one clean output.
Find all repeated words in text, count how many times they appear, and copy the duplicate-word list instantly.
Extract matching fragments from text with a regular expression and copy every regex hit in one clean list.
Insert selected curse words into text at random sentence positions with custom word count and zone control.
Insert extra line breaks between paragraphs, lines, sentences, or words with a custom break count.
Shift text letters forward by a custom amount, with listed-letter targeting and alphabet overflow control.
Extract plain text from BBCode posts, quotes, lists, and links by removing forum tags in one step.