Merge Excel files into one
Combine several Excel files into one sheet or one workbook with tabs.
- Nothing is uploaded
- Free · no account
- Tested on 400k-row files
Reference
Merge Excel Files: how it works
The tool is above. Below: a short overview, optional step-by-step detail, honest browser limits, and answers to common questions.
Last updated 3 min read
About this tool
PrivateCSV merges several Excel files (.xlsx, .xls, .ods, or Apple Numbers) into one workbook. Choose how: stack all the rows in a single sheet, with columns matched by their header name even when the files list them in a different order or have extra columns, or keep every file as its own sheet (tab) of the new workbook. Take only the first sheet of each file or all of them, and optionally add a column with the source file name. Numbers and dates stay numbers and dates. The files are merged in your browser and never uploaded.
Read the step-by-step guideHow-to, example and use cases (~3 min)
How to merge Excel files
- Drop two or more Excel files on the picker above, all at once or one by one. Reorder them with the arrows: rows are merged in that order.
- Choose the result: all rows in one sheet, or one sheet per file.
- Choose whether to take the first sheet of each file or every sheet, and tick “Add a column with the source file name” if you need to know where each row came from.
- Click Merge Excel files and download merged.xlsx.
Example
Two monthly workbooks stacked into one sheet, columns matched by name.
january.xlsx
Order,Region,Total
SO-1,North,120
SO-2,South,80.5
february.xlsx
Region,Order,Total,Discount
East,SO-3,42,5Order,Region,Total,Discount,source_file
SO-1,North,120,,january.xlsx
SO-2,South,80.5,,january.xlsx
SO-3,East,42,5,february.xlsxWhen you need it
- Monthly or regional reports into one table
- Twelve monthly exports or one file per store become a single sheet you can sort, filter or turn into a pivot table, even if some months added a column.
- Several workbooks into one file with tabs
- Collect files sent by colleagues into one workbook, one tab per file, named after the file, instead of opening each one.
- Combine the sheets of one workbook
- Add a single file and choose “Every sheet of each file” to stack all of its sheets (Q1, Q2, Q3...) into one table.
How rows are combined
In “All rows in one sheet”, the first row of each sheet is read as its header. The merged sheet has every column that appears in any file, in order of first appearance, and each row is placed under the right header. Cells under a column that a file does not have are left empty, and the result says when the files did not share the same columns. Untick “Sheets have a header row” to append the rows exactly as they are.
In “One sheet per file”, every sheet is copied unchanged into the new workbook. Tabs are named after the files (and the sheet, when a file has several), shortened to Excel's 31-character limit and made unique.
What is kept
Text, numbers, dates, true/false values and formula results are kept with their type, so sums and filters work in the merged file. When whole sheets are copied as tabs, their formulas and number formats come along too. Colors, charts and images are not carried over.
Browser and file limits (not a trial)
These are technical limits of running in your browser—device memory, encoding and what this tool does not do. They are not a free trial, account quota or paid plan. There is no subscription.
- One sheet holds at most 1,048,576 rows; beyond that, use “One sheet per file”.
- Charts, images, colors and comments are not merged.
- Password-protected workbooks cannot be read.
Frequently asked questions
How do I merge multiple Excel files into one?
Choose the files above, pick “All rows in one sheet” or “One sheet per file”, and click Merge Excel files. You download one .xlsx workbook. Everything runs in your browser; the files are not uploaded.
How do I combine Excel files with different columns?
Keep “Sheets have a header row” ticked. Columns are matched by header name, so a file with the columns in another order or with an extra column lines up correctly, and missing cells stay empty.
Can I merge Excel files into one workbook with separate tabs?
Yes. Choose “One sheet per file (tabs)”. Each file becomes a tab named after it, with its formulas and formats.
How do I merge all the sheets of one Excel file into one sheet?
Add the file, choose “Every sheet of each file” and “All rows in one sheet”, then merge. Rows from every sheet are stacked under one header.
How do I merge Excel files without Power Query or VBA?
Power Query (Data > Get Data > From Folder) and VBA macros work but take several steps. This tool does it in one: choose the files and merge, on any computer, with or without Excel.
Are my files uploaded?
No. The workbooks are read by JavaScript in your browser and the merged file is created on your device, so confidential spreadsheets never leave it.
Related tools
Go further
Your files never leave your device
PrivateCSV runs this tool in your browser. No upload, no account, no trial and nothing to install.