TidyData Tools

Merge several CSV files into one

Select two or more CSV files: columns are matched by name, missing ones are left empty, and you can add a column with the file name and remove duplicates.

Need this every day, at scale or after a scraper? To merge Apify scraper runs, Excel files and Google Sheets automatically — with smart duplicate matching, filters and only-new-rows — Merge, Deduplicate & Transform Datasets runs it in the cloud, on a schedule or via API (pay per use, free trial on Apify).

How it works

  1. Select all the CSV files at once (Ctrl/Cmd + click).
  2. Columns with the same name are merged; a column that only exists in one file stays empty for the others.
  3. Download the merged CSV (UTF-8, opens correctly in Excel).

FAQ

Do the files need the same columns?

No. Columns are matched by name; missing values are left empty.

Which separators are supported?

Comma, semicolon, tab and pipe, detected per file.

Can I merge Excel or JSON files?

This page reads CSV. The Apify Actor linked above also reads .xlsx, JSON and public Google Sheets.

More free data tools →