Boneyard Tools

Convert a Column to a Comma Separated List

Paste a list of values, one per line, and join them into a single comma separated list. Optionally wrap each value in quotes or switch to any delimiter you need.

How to convert a column to a comma separated list

  1. Paste your values into the box, one per line.
  2. Pick a delimiter and decide whether to wrap each value in quotes.
  3. Copy or download the comma separated result.

Examples

Join names into a list

Ada
Bob
Cleo
Ada, Bob, Cleo

Quote values for SQL or code

red
green
blue
"red", "green", "blue"

Frequently asked questions

How does this turn a column into a comma separated list?

It splits your text on each line break, trims and drops blank lines by default, optionally wraps each value in quotes, then joins them with your chosen delimiter.

Can I use a different separator instead of a comma?

Yes. Pick comma, semicolon, pipe, space, or tab. The output updates live as you change the delimiter.

Can I wrap each value in quotes?

Yes. Turn on quotes to wrap every value, which is handy for SQL IN clauses, arrays, or other code. You can choose double or single quotes.

Can I go the other way and split a list back into a column?

Yes. Use the swap button to reverse the direction. The tool splits your comma separated list back into one value per line.

Are blank lines and extra spaces removed?

By default the tool trims spaces around each value and skips empty lines, so the list stays clean. You can keep them if you prefer.

Is my data private?

Yes. Everything runs in your browser and nothing is uploaded to a server.

Related tools