# CSV Merger

> Combine many CSV files into one, matching columns by name. Runs entirely in your browser — nothing is uploaded.

Source: https://toffeekit.com/tools/csv-merger

**Category:** [Data](https://toffeekit.com/category/data) · **Price:** Free · **Runs:** in your browser, nothing is uploaded

Open the tool: https://toffeekit.com/tools/csv-merger

**Also useful for:** merge csv, combine csv, join csv files, append csv, concatenate, stack

## How it works

1. Drop your CSV files, or click to choose several at once.
2. Put them in order with the arrows and remove any you don't need.
3. Choose Match columns By header name or By position, and turn on Add source file column or Remove duplicate rows if needed.
4. Check the preview, then click Download merged CSV.

## FAQ

### How do I merge multiple CSV files into one?

Drop all the files here. Their rows are stacked in the order shown, under one header row, and you download the result as a single CSV.

### What if the files have columns in a different order?

With By header name, columns line up by name no matter where they sit in each file. Columns that only some files have are added, and left empty for the others.

### When should I match columns by position?

Use By position when the files have no header row, or when headers differ in wording but the columns are in the same order.

### Can I tell which file each row came from?

Yes. Turn on Add source file column and a source_file column with each file's name is added at the start.

### How does Remove duplicate rows work?

Rows that match another row exactly in every column are dropped, keeping the first one. The source file column is ignored when comparing.

### Is CSV Merger free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so your files are processed on your device and never uploaded. It works on phones and computers alike.

## Privacy

CSV Merger runs entirely in your browser. Your files and text are processed on your device and are never uploaded.

## Related tools

- [CSV to JSON](https://toffeekit.com/tools/csv-to-json) — Turn CSV rows into JSON objects.
- [JSON to CSV](https://toffeekit.com/tools/json-to-csv) — Flatten JSON into a CSV you can open in Excel.
- [XML ⇄ JSON](https://toffeekit.com/tools/xml-json-converter) — Convert XML to JSON and back.
- [CSV Cleaner](https://toffeekit.com/tools/csv-cleaner) — Trim cells, drop empty rows, remove duplicates.
- [Delimiter Converter](https://toffeekit.com/tools/csv-delimiter-converter) — Switch between comma, semicolon, tab and pipe.
- [CSV Viewer](https://toffeekit.com/tools/csv-viewer) — Open a CSV as a sortable, searchable table.

