Text Tools / Comma Separator
Comma Separator
Convert a list of lines into a comma-separated list, or split a comma-separated list back into lines — instantly in your browser.
Text Tools / Comma Separator
Convert a list of lines into a comma-separated list, or split a comma-separated list back into lines — instantly in your browser.
Comma Separator converts between a list of lines and a comma-separated list in either direction — turn a pasted column of items into a single comma-separated line for a spreadsheet formula or code, or split a comma-separated string back into one item per line for easier editing. Everything runs locally in your browser as you type; nothing you paste is ever sent to a server.
Paste your list
Paste a list of lines (one item per line) if you're converting to comma-separated, or a comma-separated string if you're splitting it into lines.
Pick a direction
Choose "Lines → Comma-separated" or "Comma-separated → Lines" depending on which way you're converting.
Adjust the options
"Trim items" removes leading/trailing spaces from each item, "Skip empty items" drops blank entries, and "Space after comma" (lines → list only) controls whether a space follows each comma.
Copy the result
The converted list updates live below — use Copy result to grab it, or Clear to start over.
No. This is a simple line ↔ comma-separated converter, not a full CSV parser — it splits on every comma. If your items themselves contain commas, they'll be split too.
Yes — convert lines to a comma-separated list, then switch the mode to convert it back. With "Trim items" and "Skip empty items" on, extra spacing and blank lines won't be preserved exactly.
No. All processing happens locally in your browser as you type. Your text is never uploaded, logged, or stored.