✎

Text Splitter

Split entered text using the separator you choose.

0Words
0Characters
0Sentences
0mReading time
Choose a file or fill the fields, then click Calculate.

About Text Splitter

Data often arrives as one long line: tags separated by commas, a list of IDs from a URL parameter, or values copied out of a CSV cell. To review, count or paste them into another system, you usually need one item per line. Splitting at a separator does that instantly and makes each value easy to check.

How it works

You type a delimiter, which defaults to a comma. The text is split wherever that exact string appears, each piece is trimmed of surrounding whitespace, and the pieces are written one per line. The delimiter is literal text, not a pattern, and it can be more than one character, such as ' | ' or ';'. Empty pieces, for example from two commas in a row, remain as blank lines. Quotes are not interpreted. The result downloads as split.txt.

How to use Text Splitter

  1. Type or paste the text you want to process in the text box above.
  2. Complete the available fields: Delimiter. Use the field labels and examples shown in the workspace.
  3. Select “Calculate” and check the result before copying or downloading it.

Worked example

Paste 'red, green ,blue,,yellow' with the default comma delimiter. The output has five lines: 'red', 'green', 'blue', an empty line, then 'yellow'. The spaces around 'green' are trimmed, and the double comma produces a blank line between 'blue' and 'yellow'.

Tips for a better result

  • Follow up with Remove Blank Lines if the source contains doubled separators, so the empty pieces do not appear in your list.
  • For quoted CSV values that contain commas, such as "Austin, TX", use the CSV to HTML Table tool instead, because this splitter breaks at every comma.
  • To split on a space, type a single space as the delimiter; the field is used exactly as entered.

Frequently asked questions

Can I split on line breaks or tabs?

The delimiter field is a single-line input, so you cannot type a line break, and many browsers move focus when you press Tab. Paste a copied tab character into the field to split tab-separated values.

What if I leave the delimiter empty?

The tool falls back to a comma. There is no option to split into individual characters.

Is the delimiter case-sensitive?

Yes. Matching is exact, so a delimiter of 'AND' will not split text containing 'and'. Include any spaces you want consumed in the delimiter itself, though the pieces are trimmed anyway.

What to check

Review punctuation, formatting and meaning before using transformed text elsewhere.

Read the Privacy Policy for information about local processing, connected services and advertising.