Comma separator: turn a column into a comma-separated list, and back
Paste a column copied from Google Sheets™ or Excel and get one line with a comma, a semicolon or your own separator between the items, or paste a list and get a column.
Runs in your browser. What you paste is not sent anywhere or stored, and Analytics, if you accept it, records the page view, never the text.
How to turn a column into a comma-separated list
Copy the column
Select the cells in Google Sheets or Excel and copy them. A column copies as one item per line.
Paste it into the box
The list appears beside it as you paste, with the separator you choose between the items: a comma, a comma and a space, a semicolon, a tab, a new line or your own.
Choose the options
Trim spaces takes the spaces off both ends of each item, Remove empty items drops blank cells, Remove duplicates keeps the first of items that are exactly alike, and Quotes puts double or single quote marks around each item.
Copy the result
Click Copy, then paste the list where it goes.
Column B of the regatta crew as one line
| A | B | |
|---|---|---|
| 1 | First name | |
| 2 | Maria | maria.lopez@example.com |
| 3 | Leo | leo.fischer@example.com |
| 4 | Eva | eva.fischer@example.net |
| 5 | Sofia | sofia.marino@example.org |
maria.lopez@example.com,leo.fischer@example.com,eva.fischer@example.net,sofia.marino@example.orgHow to split a comma-separated list into a column
Choose List to column, pick the separator the list uses and paste it. Each item comes out on a line of its own, so pasted into a sheet the result puts one item in each row, from the cell you paste into down. A line break in the list ends an item too, so a list spread over several lines works the same.
Double quotes keep an item together, as in a CSV file: the commas inside "Berg, Anna" are part of the name. The other way round, when an item of your column holds the separator, the list puts that item in double quotes, so it splits back into the same items.
| The list | Separator | The column |
|---|---|---|
Maria, Leo, Sofia | Comma | Maria Leo Sofia |
"Berg, Anna", "Fischer, Leo" | Comma | Berg, Anna Fischer, Leo |
Maria;Leo;;Sofia; | Semicolon | Maria Leo Sofia |
Maria | Leo | Sofia | Your own, " | " | Maria Leo Sofia |
Pasting the list into Bcc?
A column of addresses joined with commas pastes straight into the To, Cc or Bcc line of an email. Before one email goes to everyone in Bcc, know what Google allows. Google counts To, Cc and Bcc together: at most 500 recipients in one email from a gmail.com account, and 2,000 on Google Workspace™, no more than 500 of them outside your organization. Every limit Gmail sets, with its source: recipient limits.
Everyone in Bcc also gets the same text, and a Bcc recipient who clicks Reply all shows everyone in To and Cc that they got it (reply all and Bcc). To give each person an email of their own, with their name and only their address on it, send from the sheet the column came from. HelloRows, which this site makes, sends a column of 120 addresses as 120 emails, each to the address in its row and with that person's name in it, 50 a day on the free plan.
Questions
How do I convert a column to a comma-separated list in Excel?
Copy the column and paste it into the box at the top of this page: the list appears with a comma between the items, and Copy takes it. In Excel itself, =TEXTJOIN(",", TRUE, A2:A100) joins the cells from A2 to A100 with commas and skips the empty ones. TEXTJOIN is in Excel 2019 and later and in Microsoft 365.
How do I make a comma-separated list in Google Sheets?
Paste the column here, or use a formula: =TEXTJOIN(", ", TRUE, A2:A) joins every filled cell of column A from row 2 down, with a comma and a space between them.
How do I split a comma-separated list into rows?
Choose List to column at the top of this page, pick Comma and paste the list: each item comes out on its own line, and pasted into a sheet each takes a row. In Google Sheets, =TRANSPOSE(SPLIT(A1, ",")) does the same for a list in A1. Data, Split text to columns splits it across columns instead.
How do I put quotes around each item in a list?
Choose Double or Single under Quotes. Each item gets the quote marks, and a quote mark inside an item is doubled, as CSV files and SQL expect: O'Neill becomes 'O''Neill'. Single quotes with Comma and space give a list for SQL's IN.
Is my list sent anywhere?
No. The comma separator runs in your browser: what you paste is not sent to hellorows.com or anywhere else, and the page stores none of it. Once the page has loaded, it works with the internet switched off.