Skip to content
Free text tool

List joiner and splitter

This tool turns a list with one item per line into a single delimited string, or splits a delimited string back into lines. Developers, analysts and office workers use it to move lists between spreadsheets, code, emails and forms.

  • Runs in your browser
  • Free, no account needed
  • Copy or download the result

Your input

29 characters

Action
For Custom. \t is a tab, \n a new line
Quotes around items
Trim spaces
Drop empty items

Result

apples, bananas, cherries, dates

The short answer

To turn a column of items into a list, join the lines with a delimiter such as a comma and a space; to go back, split on that delimiter. Trim spaces and drop empty items to avoid stray commas, and wrap items in quotes if you need them.

Worked exampleThe four sample lines apples, bananas, cherries and dates, joined with the default comma and space delimiter, give "apples, bananas, cherries, dates".

Example

Input
apples
bananas
cherries
dates
Result
apples, bananas, cherries, dates

How to use the list joiner and splitter

  1. Paste your list or delimited string into the box.
  2. Choose Join lines or Split to lines in Action.
  3. Pick a Delimiter (or Custom and type it), Quotes around items, Trim spaces and Drop empty items.
  4. The result updates as you type. Press Copy result.

How it works

Delimiters include comma, comma and space, semicolon, pipe, tab, space, new line or any custom text up to 100 characters. In a custom delimiter, \t means tab and \n means new line.

Quotes wrap each item in double or single quotes when joining. A quote inside an item is doubled, as in 'O''Brien', which is how CSV and SQL expect it.

When splitting with quotes chosen, a quoted item can contain the delimiter, and doubled quotes become one quote.

With trimming on, a delimiter like comma and space also splits items written without the space. Delimiters with letters, such as and, are matched exactly.

Everything runs in your browser. Your input is not uploaded or stored. If you use Copy link, what you entered is placed in the link.

Questions and answers

How do I turn a column of values into a comma separated list?

Paste the column, keep Action on Join lines and Delimiter on Comma and space, and copy the result.

How do I split a comma separated list into lines?

Choose Split to lines in Action and pick Comma or Comma and space as the Delimiter.

Can I put quotes around each item?

Yes. Choose Double or Single in Quotes around items before joining.

Last updated November 1, 2026. Maintained by SnowRock. How our tools work

All 220 SnowRock tools