Merge CSV files by column name

Combine local CSV and TSV files into one table. Match reordered headers, choose strict, union or intersection columns, preview and download UTF-8 CSV.

Data Workspace

Local tables. Clear decisions.

On your device
Drop CSV, TSV or JSON files here.
Import settings & limits

Settings apply to newly added CSV/TSV files. Up to 8 sources; 8 MiB per file, 24 MiB total source bytes; 50,000 rows, 100 columns and 500,000 cells per table; 1,000,000 source cells in total. No XLSX support. JSON must be a flat object array.

Merge CSVs

Match by column names, even when their order differs. The preview shows the new table; sources stay intact.

Identical names are required; column order can differ.

A clearer view starts with one table.

Add a CSV or TSV, or try three examples. Your input stays in this tab. No account, upload or spreadsheet installation.

A reproducible example.

Input

January.csv
id,name
001,Zoë

February.csv
name,id
Mina,002

Expected output

id,name
001,Zoë
002,Mina

Steps to follow.

  1. Add both files in Data Workspace. Choose their encoding and delimiter before importing if needed.
  2. Select Merge CSVs, check the source files, then choose Same column names for this example.
  3. Preview merge. Verify two rows under id,name; reordered source columns are matched by name.
  4. Choose CSV and Download full table. Reopen the result and verify row count and identifiers.

Formats, matching and limits.

Up to 8 sources, 8 MiB per file and 24 MiB per import. Each result is limited to 50,000 rows, 100 columns and 500,000 cells. Matching is case-sensitive after trimming header edges; data cells are never trimmed. Union fills missing columns with empty cells. Intersection explicitly discards unshared columns.

All processing happens in your browser. Use file selection and downloads in a modern Chrome, Edge, Firefox or Safari. Source files stay unchanged; leaving or reloading clears the temporary data session.

Problems worth checking.

The file has the same columns in a different order.

Use Same column names. Output follows the first file’s column order; values are mapped by name.

One file contains an extra note column.

Choose Union to retain it, or Intersection to omit it. Inspect the excluded-column list before exporting.

The result has repeated people.

Merging concatenates rows; it does not deduplicate identities. Use the duplicate-row tool with a deliberate key afterward.

Related next steps.

Read the complete practical guide