Comma to Lines Converter | Split Text to List
Free Comma to Lines Converter Split Text into Vertical Lists
list splitting
Split any comma-separated (or any separator) string into individual lines. Trim, deduplicate, sort, number, and clean each item. Supports all languages with RTL/LTR toggle.
Split by
commasemipipetabspacedashslash
- Trim: Remove empty
- Deduplicate
- Sort: Off A→Z, Z→A, Len
- Number lines: LTR, RTL
Separated Input
0 chars
Lines
0 lines 0 chars
Copy TXT CSV Join back
0
Lines / Items
0
Unique items
0
Removed
0
Avg item length
—
Longest item
Item Preview
0 items
Split text to preview items here
Features
Any Separator
Split by comma, semicolon, pipe, tab, space, dash, slash — or type any custom separator including multi-character strings. Auto-detects and handles all separators.
Smart Cleaning
Trim leading/trailing spaces from each item, remove empty items, and deduplicate — independently configurable so you get exactly the list you need.
Sort 4 Ways
Sort results A→Z, Z→A, by length ascending, or leave in original order. Sorting applies after cleaning and deduplication.
Auto Numbering
Toggle "Number lines" to automatically prefix each output line with 1. 2. 3. — great for creating ordered lists for documents or presentations.
Swap & Join Back
The swap button reverses the operation — paste it in as input or use "Join back" to re-merge lines with your chosen separator. Fully bidirectional.
All Languages + RTL/LTR
Full Unicode support for Arabic, English, Chinese, Hebrew, Japanese, and all scripts. RTL/LTR toggle for both input and output panels.
Quick Examples
SQL IN list
sep: ","
'Alice' 'Bob' 'Charlie'
CSV Header
sep: ", "
Name Age Email …
Arabic List
sep: "، "
تفاحة موزة كرز …
Pipe List
sep: " | "
Red Green Blue …