Comma Separator
Turn a column of items into a comma-separated list (with optional quotes), or split one back into lines.
🔒 Runs entirely in your browser — nothing you type is uploaded or stored on a server.
The Comma Separator converts between the two most common list formats: a column with one item per line, and a single comma-separated line. Paste your list, pick a direction, and the converted version appears instantly — with options to change the delimiter, wrap every item in single or double quotes, trim stray spaces and drop duplicates along the way.
This conversion comes up constantly. Spreadsheets give you columns, but SQL IN (...) clauses, code arrays, tag fields, email To-lines and CSV files want comma-separated values — usually quoted. Going the other way, a comma-crammed list from a document is far easier to read, sort and de-duplicate once each item sits on its own line. Doing it by hand for fifty items means fifty chances for a missed comma.
The quote option is the killer feature for developers and analysts: wrap items in single quotes and a pasted spreadsheet column becomes a ready-to-run 'a', 'b', 'c' list for SQL, or use double quotes for a JSON-style array. Everything runs in your browser, so pasting internal IDs or customer references is safe — nothing is uploaded.
How to use
- Paste your items — one per line, or as an existing comma-separated list.
- Choose the direction: “List → Commas” to join lines, or “Commas → List” to split them.
- Pick a delimiter (comma, semicolon or pipe) and optionally wrap items in quotes.
- Tick “Trim items” and “Remove duplicates” to clean the list as it converts.
- Copy the result — the tag shows how many items it contains.
Examples
A spreadsheet column of 40 customer IDs becomes '1001', '1002', '1003'… — paste it straight into WHERE id IN (…).
A list of tags converts to "news", "sports", "tech" with double quotes, ready for a JSON or JavaScript array.
A paragraph like “apples, pears, plums, cherries” splits into four lines you can sort alphabetically or count.
Turn a column of addresses into a single comma-separated line for your mail client's To field.