Data Processing · CSV transformations

CSV File Merger — process data locally.

Combine two CSV files into one table. Headers are aligned by name, not only by position.

Private data workspaceProcesses locally · up to 2 million characters per input
Ready

Note: The union mode appends columns first seen in the second file and fills missing cells with blanks. Strict mode requires exactly matching header names in the same order.

How to use this tool

Process data in your browser

Paste your data or select a local UTF-8 file. Adjust the settings if available, then choose Merge CSV files. Copy the result or download the generated file. The input stays in your browser.

Supported behavior and limitations

The union mode appends columns first seen in the second file and fills missing cells with blanks. Strict mode requires exactly matching header names in the same order.

Input is limited to 2 million characters per editor. If your file is larger, use a dedicated desktop data tool. This utility does not execute SQL or scripts embedded in your input.

Practical walkthrough

Combine exports whose columns are in different orders

Two teams export the same customer fields in different orders, and one export includes an extra score column.

First CSV

name,city
Alice,Hanoi

Second CSV

city,score,name
Da Nang,25,Bob

Expected behavior

Union mode aligns columns by header name and adds score after the first file’s columns. Alice has an empty score cell; Bob retains the value 25.

Check before using the output

Strict mode instead requires identical headers in the same order and reports incompatible inputs. Check the merged result before importing it.

Next step: Convert a CSV table into JSON records.