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