Comma-separated ↔ lines
Convert a comma-separated list into lines, or lines back into a comma list.
Related tools
All Transform & clean tools →Comma-separated ↔ lines works straight from this page — free, instant, nothing to install. Its place is under Transform & clean; Find duplicate lines and Filter lines answer the questions closest to this one.
How to use it
- Open the tool — no signup or install needed.
- Enter your input or adjust the available options.
- Get your result instantly, then copy or download it.
Frequently asked questions
What does Comma-separated ↔ lines do?
Convert a comma-separated list into lines, or lines back into a comma list.
When would I actually use this?
Cleaning up a paste before it goes anywhere: stripping duplicates from a list, normalising case, removing accents for a filename, or sorting lines.
What is the most common mistake?
Sorting text as if it were ASCII. Accented letters land after Z in a byte sort, which puts "Zurich" before "Émile" and produces a list no reader will accept.
How is Comma-separated ↔ lines different from Find duplicate lines?
They sit next to each other but answer different questions: Find duplicate lines is the one to open when you need it to show only the lines that appear more than once in your text. Pick whichever matches what you're starting from — both are free.
Is there a tool for the next step?
Filter lines is the closest one after this: Keep or remove the lines that contain a given word or phrase.
What else is worth having open alongside it?
Add prefix / suffix to lines and Remove blank lines — they come up in the same task often enough to be worth a second tab.
Where do the figures come from?
Transformations use the browser's Unicode-aware string handling, so case changes and sorting respect the locale rather than byte order. Nothing is truncated: what comes out is the whole of what went in.