Convert CSV to List
Turns CSV into a plain list (one column, every cell, or each row as a line of text) and turns a list or pasted text back into properly quoted CSV.
- Runs in your browser
- Nothing uploaded
- Free, no sign-up
Paste, open a file or drop one on the box (up to 10 MB).
| Paste CSV to see its columns here. |
Need objects instead? Try CSV to JSON. To clean a list, use Deduplicate List.
How to Use Convert CSV to List
- Pick a direction. CSV to list or text, or List or text to CSV.
- Paste or open your data. The separator (comma, semicolon, tab or pipe) is detected for you.
- Choose what you need. One column, every cell, or whole rows, then how the items are separated and whether to remove duplicates or sort.
- Copy or download. The result updates as you type; Use output as input flips it straight into the other direction.
Example: getting the email column
The Sample is a small contact list with a repeated row and a quoted name that contains a comma:
name,email,city
Ada Lovelace,[email protected],London
"Hopper, Grace",[email protected],New York
Linus,[email protected],Helsinki
Ada Lovelace,[email protected],London
With “One column” set to email, the list is:
[email protected]
[email protected]
[email protected]
[email protected]
Choose “Remove (exact match)” under Duplicates and the second [email protected] disappears. Switch to column 1, put the items on one line with a comma and sort them, and you get Ada Lovelace, Hopper, Grace, Linus. Note that “Hopper, Grace” stays one item, because the CSV quotes kept it together.
“Each row as a line of text” joins the cells instead. With a pipe as the joiner and duplicates removed:
Ada Lovelace | [email protected] | London
Hopper, Grace | [email protected] | New York
Linus | [email protected] | Helsinki
Going from a list back to CSV is just as quick. This list becomes one CSV column, with quotes only where the CSV rules need them:
apple
"banana, ripe"
"cherry ""sweet"""
date
Pick “One row” and it is apple,"banana, ripe","cherry ""sweet""",date.
When a value needs quotes in CSV
Each row below is the tool’s own output for a comma file and a semicolon file:
| Value | In a comma CSV | In a semicolon CSV |
|---|---|---|
plain |
plain |
plain |
two words |
two words |
two words |
a,b |
"a,b" |
a,b |
say "hi" |
"say ""hi""" |
"say ""hi""" |
padded |
" padded" |
" padded" |
line⏎break |
"line⏎break" |
"line⏎break" |
x;y |
x;y |
"x;y" |
The rule (RFC 4180): wrap a value in double quotes when it contains the separator, a quote, a line break, or spaces at the start or end; double any quote inside it. Excel in many European languages saves CSV with semicolons, which is why the tool detects the separator instead of assuming commas.
How it works
The CSV is read character by character, the way spreadsheet apps read it, so quoted fields keep their commas and line breaks. The separator is chosen by counting candidates outside quotes on the first 20 lines and picking the one that appears the same number of times on every line. Sorting is number-aware, so 2 comes before 10.
From list to CSV, each line is one item, or it is split into columns at tabs (what you get when you copy cells from a spreadsheet), commas, semicolons, pipes or runs of spaces. A header row, Windows line endings and a byte-order mark for Excel are optional.
Limits
- Files over 10 MB are refused; very large exports are easier to filter in a spreadsheet or database first.
- A stray quote mark that is never closed makes the rest of the file one cell. The tool warns you; untick “Read quoted fields” for data like that.
- Formulas and number formats from a spreadsheet are not kept. CSV only stores the text you see.
Frequently asked questions
How do I get one column from a CSV without Excel?
Paste the file, keep “One column” and pick the column by its header name. The values appear one per line, ready to copy, and you can remove duplicates or sort them in the same step.
How do I turn a column of values into a comma-separated list?
Use “Put items on: One line, comma separated”. Add a quote before and after each item if the list is going into SQL or code, for example ‘a’, ‘b’, ‘c’.
Why does my CSV open in one column in Excel?
Your Excel expects a different separator. Files saved with commas open in one column where semicolons are the default, and the other way round. Download with the separator your Excel uses, or tick the BOM option so Excel reads the text as UTF-8.
Can it convert text copied from a website table to CSV?
Yes. Paste it in List or text to CSV and set the split to tabs or “2 or more spaces”; Detect automatically usually picks the right one. Check the preview table before you download.
Related Tools
Add List Prefix - Prepend Text →
Adds the same text before or after every item in a list, wraps items…
Alphabetize List Sort Items Online | A-Z →
Alphabetize list items instantly. Sort A-Z or Z-A, case-sensitive or not. Remove duplicates option.…
Change List Length →
Change List Length Truncate, pad, or cycle any list to a target length. Free,…
Change List Separator →
Change List Separator and Convert list separators between newline, comma, tab, semicolon, pipe, and…
Chunk List Text →
Split any list into fixed-size chunks with line/numbered/labeled/custom-separator output. Live preview, keep-or-drop trailing chunk.…
Colorized List Item →
Colorized list item online. Turn any list text into a colour-coded HTML block with…
Convert List to Columns →
Arrange list items into 2-10 monospace-aligned columns with horizontal or vertical fill. Free, offline,…
Convert List to Image →
Turn a text list into a PNG or JPEG image with custom fonts, colors,…
Count List Items →
Count list items with frequency analysis, duplicates, unique-only output, TSV export. Free, client-side, instant.
Create Custom List →
Generate custom numbered lists with 10 placeholders: {n}, {upper}, {roman}, {hex}, {bin}, {oct}, etc.…
Create Random List →
Generate random lists - numbers, words, letters, UUIDs. Math.random or cryptographically secure RNG. 6…
Create Symmetric List →
Mirror a list to create symmetric patterns - full mirror, palindrome, or bi-mirror. JSON,…