User Rating 0.0
Total Usage 0 times
Paste or type your delimited values above.
Delimiter
Options
Direction
Is this tool helpful?

Your feedback helps us improve.

About

Comma-delimited strings are the default interchange format for spreadsheets, log files, and API query parameters. Manually splitting them into one-item-per-line columns introduces transcription errors and wastes time that compounds across hundreds of records. This tool parses an input string by a configurable delimiter (comma , by default), trims surrounding whitespace from each token, and outputs a vertical column. It also handles edge cases: consecutive delimiters producing empty tokens, trailing delimiters, and mixed whitespace. The reverse operation - column back to comma string - is equally supported. Optional deduplication uses a hash-set pass in O(n) time, and lexicographic sorting follows the Unicode default collation. Note: the tool treats the delimiter literally; regular-expression patterns are not supported to avoid ReDoS vectors in user-supplied input.

comma to column csv to list delimiter converter text formatter comma separated to lines

Formulas

The conversion is a deterministic string-split operation. Given an input string S and a delimiter character d, the output column C is defined as:

C = join(map(split(S, d), trim), \n)

Where split(S, d) produces an array of n tokens, trim removes leading and trailing whitespace from each token, and join concatenates them with a newline character. When deduplication is enabled, a Set filter is applied before joining, reducing the array to unique elements in O(n) average time. The reverse operation inverts the axes: split by newline, join by d.

Where S = input string, d = delimiter character, C = output column, n = number of resulting tokens.

Reference Data

DelimiterSymbolCommon Use CaseUnicode CodepointEscape Sequence
Comma,CSV files, SQL IN clauses, email listsU+002CNone
Semicolon;European CSV, Outlook contactsU+003BNone
Pipe|Unix pipelines, database exportsU+007CNone
Tab\tTSV files, spreadsheet pasteU+0009\t
Space Shell arguments, word splittingU+0020None
Colon:PATH variable, /etc/passwdU+003ANone
Newline (LF)\nUnix line endingsU+000A\n
Newline (CRLF)\r\nWindows line endingsU+000D + U+000A\r\n
Tilde~Legacy mainframe exportsU+007ENone
Caret^Windows CMD escape delimiterU+005ENone
Slash/URL path segments, file pathsU+002FNone
Backslash\Windows file pathsU+005C\\
Ampersand&URL query parametersU+0026&
Hash#Color codes, Markdown headingsU+0023None
Double Quote"JSON string boundariesU+0022\"

Frequently Asked Questions

Consecutive delimiters produce empty tokens. When the "Remove empty lines" option is enabled, these blank entries are filtered out before output. With the option disabled, each empty token appears as a blank line in the column, preserving positional index fidelity - useful when column position matters (e.g., CSV column alignment).
The tool uses JavaScript's default Unicode lexicographic sort via String.prototype.localeCompare(), which respects the browser's locale setting. For strict locale control (e.g., Turkish dotless-i sorting), set your browser language accordingly. Numbers sort lexicographically ("10" before "2"), not numerically - prepend leading zeros if numeric ordering is required.
Yes. The custom delimiter input accepts any string of one or more characters. The tool performs a literal string split - not a regular expression match - so characters like "." or "*" are treated as literal text, not regex metacharacters. A two-character delimiter "::" will split "a::b::c" into three tokens correctly.
This tool performs a naive split on the delimiter character. It does not implement RFC 4180 CSV parsing with quoted-field awareness. A comma inside double quotes will be treated as a split point. For RFC-compliant CSV parsing, pre-process your data with a dedicated CSV parser before using this tool for reformatting.
The tool runs entirely in the browser's JavaScript engine. Practical limits depend on available RAM. Strings under 5 MB (roughly 100,000 comma-separated items) process in under 100 ms on modern hardware. Inputs exceeding 10 MB may cause the browser tab to become temporarily unresponsive. LocalStorage persistence is capped at approximately 5 MB per origin by most browsers.