How to use the Comma to New Line
- Paste the comma-separated list.
- Each item lands on its own line; spaces around the commas are removed.
- Copy the result — or change the rule to turn lines back into commas.
Both directions
| Find | Replace | Result |
|---|---|---|
s*,s* |
| One item per line |
| , | Comma-separated list |
| "," | Quoted values (wrap the result in quotes) |
Need real CSV parsing with quoted commas? Use CSV to JSON.
Also searched as: replace comma with new line, comma separated to list, split comma separated values, csv to list, new line to comma.
Tools that pair well with the Comma to New Line
- Find and Replace — Paste text and replace words or patterns — case-sensitive or not, whole words only, or with regular expressions and $1 capture groups.
- Remove Duplicate Lines — Paste a list to remove duplicate lines instantly.
- Alphabetize List — Paste a list and put it in alphabetical order instantly — A to Z or Z to A, with smart number sorting, optional duplicate removal and support for lists separated by commas.
- Remove Empty Lines — Delete every empty line — including lines with only spaces or tabs — from lists, code, logs and CSV files.
Frequently asked questions
How do I turn lines back into a comma list?
Set Find to
and Replace to “, ” (comma and space).
What about commas inside quotes?
This simple rule splits every comma. For CSV with quoted values, use the CSV to JSON converter.
Is my text private?
Yes, nothing is uploaded.
Can I install Comma to New Line as a web app and use it offline?
Yes. Comma to New Line is an installable web app (PWA) — installed from your browser, not downloaded from an app store. Click Install app at the top of this page in Chrome or Edge (Windows, macOS, Linux, ChromeOS) or on Android, use Share → Add to Home Screen on iPhone and iPad, or File → Add to Dock in Safari 17+ on a Mac. It then opens in its own window with its own icon, and because it runs entirely in your browser it keeps working offline. Firefox on desktop can’t install web apps. How installing works.