Skip to content

CSV Merger

Combine two or more CSV exports into one clean CSV file. Columns are aligned by header name, even if the files list them in different orders.

Processed in your browser. Your data is not uploaded, stored or logged — closing the tab discards it. How this works

Merge options Show
Column alignment
Rows & cleaning
Export options

Changes apply automatically.

CSV files to merge

CSV
    Or paste a CSV table to add

    Merged CSV output

    Add two or more CSV files (or load the sample) to see the merged CSV.

    Merged rows preview

    The parsed rows appear here after conversion.

    How to merge multiple CSV files

    1. Click Add files… (or drag and drop several .csv files onto the input panel), or press Sample data to see an example with two monthly exports.
    2. Use the ↑ and ↓ buttons to change the order in which files are combined.
    3. Choose how columns should be aligned: keep all columns across files (union), keep only the first file's columns, or stack rows by position when there is no header row.
    4. Optionally add a source_file column or remove duplicates across files, then copy or download the merged .csv.

    Why header-aware merging matters

    Concatenating CSV files with a command-line script or copy-paste only works if every file has the exact same columns in the exact same order. In practice, exports from different months or systems often add a new column or reorder existing ones. Matching columns by header name ensures that a total value never ends up inside a customer column.

    Need to do the opposite and break a huge CSV into smaller files? Use the CSV Splitter.

    Frequently asked questions

    What happens if my CSV files have columns in a different order?

    By default ("Keep all columns — union"), the merger matches columns by their header name rather than their position. If february.csv puts "region" before "customer" or adds a new "discount_code" column, every value still lands in the right column.

    Can I track which file each row came from?

    Yes. Turn on "Add a column with the source file name". It inserts a column (named source_file by default) at the start of every row showing the file it came from.

    How does duplicate removal work when merging?

    When "Remove duplicate rows across files" is checked, rows with identical data values are kept only once (in the order they first appear). Even if you add a source-file column, duplicate comparison looks only at the data columns.

    Are my CSV files uploaded to a server?

    No. Every file is read and combined locally in your browser using a Web Worker. Your files never leave your device.

    What is the file size limit?

    Up to 50 MB of combined CSV input can be merged at once in the browser.

    Last updated .