1. Home
  2. Merge
  3. Merge Excel Files

Merge Excel Files into One

Add the files, check the preview and download one workbook. Columns are lined up by their header names, so monthly exports with a different column order still merge correctly.

01How to use it

  1. Drop all the files you want to combine, or choose them from your computer. Drag the file cards to set the order.
  2. Pick the sheet to use from each workbook, or switch on “Use every visible sheet”.
  3. Choose how columns are matched (by name or by position) and whether to add a column with the source file name.
  4. Press Merge, check the preview and download the result as XLSX or CSV.

02What it is used for

  • Combining monthly or regional reports that share the same columns into one table for a pivot table.
  • Putting exports from several shops, branches or team members into a single file.
  • Appending new data to an archive without copying and pasting between workbooks.

03Example

Before — sales-january.xlsx
SKUProductQtyPrice
00412Desk lamp1224.9
00518Notebook A5403.5
00733USB-C cable258
Before — sales-february.xlsx
ProductSKUPriceQtyDiscount
Notebook A5005183.5550.1
Monitor arm00901594
USB-C cable00733825
After — Merged
SKUProductQtyPriceDiscountSource
00412Desk lamp1224.9sales-january.xlsx
00518Notebook A5403.5sales-january.xlsx
00733USB-C cable258sales-january.xlsx
00518Notebook A5553.50.1sales-february.xlsx
00901Monitor arm459sales-february.xlsx
00733USB-C cable258sales-february.xlsx

Produced by this tool from the sample data.

04Supported formats

Input

  • XLSX
  • XLSM
  • XLSB
  • XLS
  • ODS
  • CSV
  • TSV
  • TXT

Output

  • XLSX
  • CSV

05How the data is processed

The file is opened by a background worker in your browser, so the page stays responsive and a long job can be cancelled. Each cell is kept with its type: text stays text, numbers stay numbers and dates stay dates. The original file is only read, never modified — the result is always a new download.

Excel workbooks are read with the open-source SheetJS library. For formula cells the tool uses the result that Excel stored in the file; formulas are not recalculated. Both the 1900 and the 1904 date systems are handled. Merged cells keep their value in the top-left cell, and hidden sheets are listed but not selected by default.

For CSV and text files the character encoding (UTF-8, UTF-16, Korean CP949, Japanese Shift_JIS, Chinese GB18030 and Big5, Western European and more) and the delimiter are detected automatically and can be changed by hand. Quoted fields with commas, quotes and line breaks are parsed according to the CSV standard. A value is turned into a number only when that loses nothing, so 00123 and long ID numbers stay text. A decimal read as a number does not keep zeros at its end (1.50 becomes 1.5); number detection can be switched off for each file.

06Privacy

The tool above runs entirely in your browser. Your file is read from your disk by JavaScript on this device; it is not uploaded, and neither its contents nor its name are sent to us or to anyone else. There is no account and no server-side processing.

For that reason the tool is loaded in a separate frame from a different web address than this article. Advertising and other scripts on the page cannot look into that frame, and the frame itself is served with a security policy that blocks all outgoing connections. When you close or reload the tab, the data is gone from memory. Only workflows you choose to save are kept, in your browser’s own storage, and you can delete them at any time.

07File size and limits

  • There is no fixed upload limit because nothing is uploaded; the limit is the memory of your device. Measured on a desktop PC (Intel Core i5-14600KF, Windows 10, Microsoft Edge 158): a 100,000-row, 10-column CSV of 9 MB was read in about 1.1 seconds and written as a 14 MB XLSX in about 1.2 seconds. Laptops and phones are slower, often several times.
  • Excel workbooks up to about 50 MB and CSV files of a few hundred megabytes are practical. Workbooks larger than 150 MB and text files larger than 1 GB are refused so the tab does not crash.
  • An XLSX sheet can hold 1,048,576 rows and 16,384 columns. If a result is larger, download it as CSV or split it.
  • Password-protected workbooks cannot be opened. Macros are never run. Charts, images, pivot tables and cell styling are not carried into the output unless a tool says otherwise.
  • A CSV file holds plain text. When Microsoft Excel opens one it applies its own conversions: leading zeros disappear, long numbers turn into 1.23E+15 and some values become dates. That happens in Excel, not in the file — check the CSV in a text editor or in the CSV Viewer, and in Excel use Data → From Text/CSV and set such columns to Text.

08Questions and answers

What happens when the files have different columns?

The result contains every column that appears in any file. Cells are left empty where a file does not have that column, and a notice tells you which columns were missing from which file.

Is the header row repeated in the middle of the result?

No. The first row of each file is treated as its header and is written only once at the top. Untick “First row is the header” on a file that has no header.

Does it keep formulas and formatting?

The merged sheet contains values: a formula cell contributes the result stored in the file. Number and date types are kept, fonts and colours are not. Use “one sheet per file” if you only want the files side by side in one workbook.

Is it safe to use with confidential files?

The file is processed on your own device and is never uploaded. The tool runs in an isolated frame that is technically prevented from making network connections, so its contents cannot be sent anywhere — not to us and not to advertisers.

Related tools