Skip to main content
Text cleaning100% FreeInstant

Text Splitter: Split Text by Delimiter, Length or Parts

This free text splitter cuts text into pieces in five ways: at a delimiter such as a comma, every N characters, every N words, every N lines or into a set number of equal parts. Each part is listed and counted.

By Debmedia Technologies LLP · Kolkata, India · Updated

What Is a Text Splitter?

A text splitter cuts a long text into smaller pieces, using a rule that you choose. You may need to break a list written on one line into separate items, cut an article into chunks that fit a character limit, or divide a long document into equal parts for a team. Doing that by hand means careful counting and a lot of copying.

This text splitter does it for you in five ways, shows every part in a clear list and tells you the size of each piece.

How to Use This Text Splitter

  1. Paste your text into the box.
  2. Choose how to split: at a delimiter, every N characters, words or lines, or into N equal parts.
  3. Enter the delimiter or the size, as needed.
  4. Press Split text, then copy all the parts or read the size of each one in the table.

The Five Ways to Split

ModeHow it cutsExample
At a delimiterCuts wherever the delimiter appears.red, green, blue with a comma gives three parts.
Every N charactersFixed-size pieces by character count.Fitting SMS or form limits.
Every N wordsPieces that always end between words.Blocks of 100 words each.
Every N linesGroups of lines.Batches of 50 list items.
Into N equal partsDivides the text evenly.Sharing a script between four readers.

The delimiter mode follows the behaviour of the MDN reference for splitting strings. Type \n for a new line and \t for a tab.

Everyday Uses

  • Lists. Turn comma-separated keywords or tags into one per line.
  • Message limits. Cut a long post into chunks that fit a platform’s character limit.
  • Batch work. Divide a long list into groups for different people or runs.
  • Reading. Break a script or an article into blocks of equal length.

Tips

When you split by characters, a word may be cut in half. Use the words option when the cuts must fall between words. Switch on trimming to drop spaces around the parts, which is handy for comma lists. The tool shows up to 2,000 parts, which is enough for most lists.

To remove repeated items after splitting, use the duplicate line remover. To clean gaps first, try the whitespace remover. To count the words in your pieces, use the word frequency counter. The splitting runs in your browser, so your text is never uploaded.

Split Once, Use Everywhere

Splitting by hand is boring and easy to get wrong when the text is long. With a text splitter you set the rule once and get every part in a clean list, each numbered and counted. That makes it simple to share parts with others, paste them into forms one by one or check that each piece fits a limit.

Frequently Asked Questions

It is the character or text that marks where to cut, such as a comma, a semicolon, a dash or a new line. Type \n to split at every new line and \t for a tab.
Many services limit message size, such as SMS, tweets or form fields. Splitting by length gives you pieces that fit.
Yes, because it counts characters only. Use the words option if you want the cuts to fall between words.
The result shows up to 2,000 parts. Larger texts are cut off after that.

Disclaimer: results are calculated in your browser from the numbers you enter. Check important results before you rely on them for money, health, safety or legal decisions.