Comma to Lines Converter Split Text into Vertical Lists
Split comma-separated strings into lines with trimming, deduplication, and sorting controls.
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.
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.