Split Text
Divide a block of text into pieces. The default mode splits on a space and joins the pieces with a newline. You can also split on a regular expression, cut every N characters (default 16), or divide the text into a set number of chunks (default 4), optionally wrapping each chunk with characters you choose.
This tool runs in your web browser: your files and text are processed on your device and are not uploaded to TidyKit servers. Free, no sign-up.
How to split
1. Paste the text. 2. Choose symbol, regex, length or chunks. 3. Set the separator, length or chunk count. 4. Copy the result.
`Ada Bo Cam` split on a space with a newline as the output separator becomes three lines: `Ada`, `Bo` and `Cam`.
Privacy and limits
Splitting runs in this tab. A length must be a positive number. For chunks, the text must be at least as long as the number of chunks; leftover characters are spread across the first chunks. To join lines back together, use the join tool.
Frequently asked questions
What is the default separator?
A space. Change the symbol, or switch to regex, length or chunks.
Is my text uploaded?
No.
Can I put a label around each chunk?
In chunks mode you can set characters to place before and after each piece.
How do I split a string into equal-length pieces?
Use length mode and set the character count, for example 16.
More Text Tools
- Base64 Encoder/Decoder – Encode or decode data using Base64.
- Bcrypt – Hash strings with Bcrypt
- Text Censor – Quickly mask bad words or replace them with alternative words.
- Create palindrome – Create text that reads the same forward and backward
- Email Extractor – Extract email addresses from text
- Extract substring – Extract a portion of text between specified positions
- Hidden Character Detector – Find hidden Unicode characters in text
- Join Text – Join text elements with a specified separator
- Palindrome – Check if text reads the same forward and backward
- Password Generator – Generate secure random passwords with custom options
- Text Quoter – Add quotes around text with various styles
- Randomize case – Randomize the case of letters in text
- Remove duplicate lines – Quickly delete all repeated lines from text
- Repeat Text – Repeat text multiple times
- Text Replacer – Quickly replace text in your content
- Reverse – Reverse any text character by character
- ROT13 Encoder/Decoder – Encode or decode text using ROT13 cipher.
- Rotate Text – Shift characters in text by position.
- Slug Generator – Generate URL-friendly slugs from text.
- Text Statistics – Get statistics about your text
- Table Text Converter – Convert tables between Markdown, CSV, HTML, MySQL, and JSON
- Compare Texts – Compare two texts and spot differences instantly
- String To morse – Quickly encode text to morse
- Truncate Text – Truncate text to a specified length
- Unicode Encoder / Decoder – Encode or decode text using Unicode escape sequences.
- Convert to Uppercase – Convert text to uppercase
- String URL decoder – Quickly URL-unescape a string.
- URL Editor – Inspect and edit URL components and query parameters.
- String URL encoder – Quickly URL-escape a string.