Skip to content
hateitall

Merge CSV Columns

Join First and Last name, or street, city and postcode, into one column without a formula.

Processed locallyIn: CSV, TSV, TextOut: CSV, TSV

Loading tool…

How to use merge csv columns

  1. Drop a CSV or TSV file, or paste the text.

  2. Click the columns to merge in the order they should appear, and reorder them with the arrows.

  3. Choose a separator: space, comma and space, hyphen, nothing or your own text.

  4. Name the new column and decide whether to keep the originals.

  5. Check the highlighted preview and download.

What this tool does

  • Merges any number of columns in any order.
  • Skips empty cells so you do not get doubled separators such as "Pune, , 411001".
  • Puts the merged column where the originals were, or next to them if you keep them.
  • Accepts \t and \n in a custom separator for a tab or a line break.

How the result is verified

The merged file is read back with the CSV reader and compared with the preview cell for cell, so separators that contain commas or quotes are known to be quoted correctly.

Frequently asked questions

Can I put a comma between values?

Yes. Choose Comma and space. Cells that then contain a comma are wrapped in quotes in the CSV automatically, so the columns stay intact.

What happens to empty cells?

With Skip empty cells on they are left out, so "Sara" and an empty surname give "Sara" rather than "Sara ". Switch it off to keep every position.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Split one column into several by a separator or pattern

CSV · TSV · Text→ CSVLight on device

Trim, dedupe, rename, split and convert columns in steps

CSV · TSV · Text→ CSVLight on device

Explore, profile, clean, chart and export a CSV in one place

CSV · TSV · Text→ CSVModerate on device

Normalise quoting, trim cells and fix line endings

CSV · TSV · Text→ CSVLight on device