EN

Merge CSV & Excel Files

Combine many CSV, TSV and Excel files into one: match columns by name or position, keep leading zeros, add a source-file column, export CSV or XLSX. Runs in your browser.

    🔒 Your files never leave your device.

    How we test these tools

    How to merge CSV and Excel files

    1. Choose two or more CSV, TSV or Excel (XLSX, XLS) files. You can mix them.
    2. Put the files in the order you want with the ↑ ↓ buttons or by dragging; rows are added in that order. For Excel files with several sheets, pick the sheet.
    3. Choose how columns are matched, whether to add a Source file column, and the output format, then click Merge files.

    How columns are matched

    • By header name (default): the result has every column that appears in any file, in the order they first appear. A file without a column gets empty cells there, so data never slides into the wrong column. Names match exactly after removing spaces at the start and end; tick Ignore upper/lower case and extra spaces to treat "Email" and "email " as the same column. Two columns with the same name in one file are kept apart as "Name" and "Name (2)".
    • By position: column 1 goes under column 1, and so on, using the header of the first file. Use it when the files have the same layout but different header text.

    The header is written once. Rows that have more or fewer cells than their header are counted and reported: missing cells stay empty and extra cells go into "Extra" columns.

    Encodings and delimiters

    UTF-8 (with or without BOM) and UTF-16 files, such as Excel's "Unicode Text", are detected automatically. Older files can be opened as Windows-1252, Windows-1258 (Vietnamese) or Shift_JIS (Japanese Excel); if a file is not valid UTF-8 the tool asks you to choose and shows a preview. Characters that cannot be decoded are counted and shown as �, never silently removed. Text is normalized to Unicode NFC, so Vietnamese names match across files. The delimiter (comma, semicolon, tab or pipe) is detected from the rows, so a semicolon file with decimal commas such as 1,5 is read correctly; you can also set it yourself.

    Output

    • CSV is saved as UTF-8 with a BOM so accents open correctly in Excel. Excel in many European and Vietnamese settings expects semicolons, so you can choose the output delimiter.
    • XLSX keeps values such as 0912345678, 00123, 16-digit account numbers, 1E5 or 04/11/2026 exactly as written (stored as text); only plain numbers are stored as numbers. Excel allows at most 1,048,576 rows per sheet.
    • Large files are processed in a background worker with a progress bar and a Cancel button, so the page stays responsive.

    FAQ

    Are my files uploaded?

    No. Files are read and merged inside your browser; nothing is sent to a server, and the tool keeps working offline once the page has loaded.

    Why does Excel change 0912345678 when I open the CSV?

    Excel converts values that look like numbers when it opens a CSV. The merged CSV still contains 0912345678; choose XLSX output if you want Excel to show it unchanged.

    What does the formula protection do?

    A cell that starts with = + - or @ can run as a formula when a CSV is opened in a spreadsheet (CSV injection). With the option on, such cells get a leading apostrophe; normal negative numbers like -1500 are not changed. XLSX output always stores them as plain text.

    Can I merge files with different columns?

    Yes. With matching by header name every column is kept, and cells are left empty where a file has no value.

    What happens to dates and formulas in Excel files?

    The displayed value is used: formulas become their results and dates are written as dates (for example 2026-11-04), not as serial numbers.