convert

Split Text

Split text on commas, semicolons or any delimiter (or a regex) and put each piece on its own line.

Runs on your deviceBatch readyPaste textNew

Paste or drop

Paste text below, or drop a file instead.

0 chars · 0 lines
…or drop a file
Drag and drop, or choose files
TXTMDCSVTSVLOGJSONXML+10

Choose an output

Split text on commas, semicolons or any delimiter (or a regex) and put each piece on its own line.

Fine-tune

Optional — sensible defaults are already set.

About Split Text

Break a line of text into pieces at a delimiter, such as a comma, semicolon or tab, and put each piece on its own line. You can also split on a regular expression to handle mixed or inconsistent separators. It's a quick way to turn a comma-separated list into a column you can paste into a spreadsheet.

When it helps

  • Turning a comma-separated list of emails or tags into one item per line.
  • Splitting a sentence into words by using a space as the delimiter.
  • Breaking a long URL query string apart at each '&' to read the parameters.
  • Preparing a list for sorting, de-duplicating or shuffling, which work line by line.

Tips

  • Use \t to split on tabs. In plain mode, typed escapes like \n and \t are converted to real characters.
  • For inconsistent separators, turn on regex mode and use a pattern such as [,;]\s* to split on commas or semicolons with optional spaces.
  • Existing line breaks are kept, so text that already has several lines is split further rather than joined first.
  • This is a plain split. Commas inside quoted CSV fields are split too, so use a CSV tool for real CSV files.

Good to know

Quick answers about split text in your browser.

Leave the delimiter as ',' and convert. 'Trim items' removes the space after each comma and 'Remove empty items' drops blanks from doubled commas.

Yes. The delimiter can be any string, such as ' | ' or ' - '. For several different separators at once, use a regular expression with alternatives, like ;|,.

Yes. There is no sign-up, no watermark and no limit on how many files you process.

No. Files are read and processed locally in your browser, so they never leave your device.

Related tools