Split text

Split your text into parts and put each part on its own line: by a delimiter, into sentences, into words or every N characters.

Split on

How it works

  1. Paste your text

    Type or paste the text in the left box, or open a .txt file. No text to hand? Click Example.

  2. Instant result

    The result appears as you type. Change the options and see straight away what changes.

  3. Copy or download

    Copy the result with one click, save it as a file or use it as input for a next step.

Ways to split

  • Delimiter: split on a comma, semicolon or any text. apple, pear, banana split on , gives three lines. Type \t for a tab and \n for a line break.
  • Every N characters: cut into equal pieces, for example to split a long code into groups.
  • Sentences: a new line after every full stop, question mark, exclamation mark or ellipsis.
  • Words: one word per line.

By default spaces around each part are trimmed and empty parts are dropped. The note shows how many parts you got.

To put lines back on one line, use join lines.

Frequently asked questions

Is the split text free?

Yes. The split text is completely free, with no account, sign-up or usage limit.

Is my text stored?

No. Your text is processed in your browser and is not sent to a server or stored.

Is there a maximum length?

No, there is no fixed limit. Very long texts can just be a little slower.