List Converter
Turn a column into a comma, semicolon, pipe, tab or space separated list — and back again. Quote, trim, de-duplicate and wrap as you go.
Runs entirely in your browser — nothing is uploadedInput
Output
Building a query? Column to SQL IN List is the specialised version of this — it quotes identifiers only when unquoting them would change which rows match, and splits at 1000 values for Oracle.
About the List Converter
Paste a column and get a, b, c. Paste a, b, c and get the column back. New line, comma, semicolon, space, tab and pipe all work in both directions, plus any custom delimiter you type, and the Swap button turns the conversion around so the delimiter you were joining with becomes the one you split on. The input delimiter is detected automatically and the tool shows you which one it picked, because a guess you can see is a guess you can correct.
The pitfall in this problem is that the delimiter is usually also *data*. A column of names copied out of Excel arrives newline separated as Smith, John and Doe, Jane, with the commas sitting inside the cells — a converter that splits on every delimiter it can find turns those two rows into four values, and nothing in the output looks wrong. So auto-detect commits to exactly one delimiter, and a new line always beats a comma. Going the other way, quoted fields are read properly: "Smith, John",42 is two values, a doubled quote is one literal quote, and an unterminated quote is reported instead of quietly swallowing the rest of the input. Every join is also checked for reversibility: if any value contains the delimiter you are joining with, you are told the list cannot be split back into the same values, and offered quoting.
Two more things break lists silently, and both are detected here. Zero-width characters — zero-width space, word joiner, byte-order mark, soft hyphen — ride along with text copied from web pages, PDFs and ticket trackers, occupy no space on screen, and stop two identical-looking IDs from de-duplicating or matching. Decomposed Unicode does the same: café written as an e plus a separate combining accent is a different string from café written with one precomposed character, though they render identically. The tool counts both and offers to strip or normalise them, and it does neither behind your back: zero-width joiners are load-bearing inside emoji such as the family sequence and in correct Persian and Hindi spelling, so stripping every invisible character everywhere would corrupt real text.
Quoting is where a list turns into code, so the escapes are exact rather than approximate. Doubling gives you the SQL and CSV rule, where O'Brien becomes 'O''Brien'. Backslash escaping runs the value through a real JSON string encoder, so a backslash, tab, newline or control character comes out as a valid escape instead of leaving a literal line break sitting inside your quotes. The CSV setting follows RFC 4180 and quotes a field only when it contains the delimiter, a quote, a line break or edge whitespace, which is what a spreadsheet expects. One-click presets cover the usual destinations — a CSV row, a SQL IN list, a JSON array, Markdown bullets, one value per line — and the JSON preset is asserted in the test suite to produce output that actually parses, rather than output that merely looks like JSON.
Everything runs inside your browser using standard web APIs. Your data is never uploaded, never stored on a server, and never leaves your device — you can confirm that by opening your browser devtools Network tab, or by switching off your Wi-Fi and using the tool offline.
Frequently asked questions
How do I turn a column from Excel into a comma separated list?
Paste the column into the input box; that is the whole job. The new line delimiter is detected, the trailing blank row Excel adds is dropped, and the result comes out comma separated. Set Quote values to single or double if each value needs quotes, or use the SQL IN preset to get the surrounding parentheses as well.
Some of my values contain commas. What happens to them?
They stay intact. Any paste containing new lines is split on new lines only, so Smith, John remains one value rather than becoming two. When you then join with commas, the tool warns that the output can no longer be split back into the same values and points you at quoting. The CSV quote setting wraps only the fields that actually need it, so Smith, John is quoted and plain IDs are not.
Why do two values that look identical fail to de-duplicate?
Almost always an invisible character or a decomposed accent. Zero-width spaces and byte-order marks travel with text copied from web pages and PDFs, and cafe with an acute accent can be five characters or six depending on where it was typed. Both cases are counted and reported above the panes; switch on Strip invisible or Normalise NFC and the duplicates collapse.
Can it produce valid JSON or a valid CSV row?
Yes, in one dimension. The JSON array preset emits a flat array of strings with correct escaping for quotes, backslashes, tabs, line breaks and control characters, and it stays valid even when line wrapping is on. The CSV preset emits one RFC 4180 row. Neither builds nested JSON or a multi-column CSV file — this tool converts a list, not a table. Use the Data Converter for structural conversions.
What happens if I paste two columns instead of one?
You get a warning rather than a wrong answer. A selection two columns wide arrives with a tab inside every row, so splitting on new lines makes each row a single value with the tab still inside it, and the tool says so. Splitting on Tab instead gives you the individual cells, but that flattens the table into one long list; there is no column picker.
Is the order of my values preserved?
Yes. Values come out in the order they went in unless you choose an order, and de-duplication keeps the first occurrence of each value. Sorting is numeric when every value is a number, so 9 sorts before 10 rather than after it, and alphabetical otherwise.
How large a list can it handle?
The input is capped at 5,000,000 characters, which is several hundred thousand typical IDs. On a modern laptop, joining 200,000 values takes roughly a tenth of a second and de-duplicating 400,000 takes roughly three tenths. The work is synchronous on the page's main thread, which is why the cap exists instead of letting an enormous paste freeze the tab. The output box paints the first 300,000 characters for responsiveness; Copy and Download always give you the entire list.