Split Text Into Lines

Put each item on its own line by splitting text at commas, semicolons, spaces, tabs, pipes, sentence endings or any separator you choose.

Options
Used when “Custom separator” is selected.

Processed in your browser. Nothing you type is uploaded.

How it works

The text is split at every occurrence of the chosen delimiter, each item is trimmed, and empty items are removed, then the items are written one per line. Splitting at sentence endings uses the same rules as the Sentence Counter.

Rules this tool follows

  • “Spaces” splits at any run of whitespace, giving one word per line (punctuation stays attached).
  • A custom separator can be several characters long and accepts \n and \t.
  • Quoted values in CSV are not treated specially: a comma inside quotes still splits.

Example

Input

red, green, , blue,yellow

Output

red
green
blue
yellow

Common uses

  • Turning comma-separated tags, emails or keywords into a list.
  • Preparing items for sorting or deduplication, which work line by line.
  • Breaking a paragraph into sentences for review or translation.

Limitations and notes

  • For CSV files with quoted fields, use a spreadsheet or dedicated CSV tool to split columns correctly.

All text cleaners