Commas to line breaks converter

Turns "Ahmed, Sara, Khalid" into a vertical list you can paste into Excel or any field that wants one item per line.

Loading the tool…

Processing and privacy: The result is calculated inside your browser and your data is not sent to any server.

How to use it

  1. Enter text, delimiter in the text, trim spaces around each line and skip empty lines.
  2. The result appears straight away and updates as you edit.
  3. Copy the result, or copy a link that keeps the same values to share it.

How it is calculated

Split at the chosen delimiter (comma covers "," and the Arabic "،", semicolon covers ";" and "؛") and at existing line breaks, trim, drop empty items and put each item on a line.

Example

Inputs: Delimiter in the text = Comma (, or ،), Trim spaces around each line = yes, Skip empty lines = yes. Result: Result: Riyadh Jeddah Dammam Mecca; Items: 4.

Riyadh, Jeddah, Dammam, Mecca
Riyadh
Jeddah
Dammam
Mecca

Limits and caveats

  • Quotes are not understood, so a comma inside quotes also splits. For CSV data use the CSV row to list tool.

Questions about this tool

Does it support the Arabic comma?

Yes. The comma option splits at both "," and "،", so it works for Arabic and English text.

What if the text already has line breaks?

Line breaks count as an extra delimiter, so two items never end up on the same line.

How do I paste the result into Excel?

Copy the result and paste it into a cell. Excel puts each item in its own row.