Merge Excel Files
Merge Excel files in your browser: add two or more workbooks, tick the worksheets you want, and download one .xlsx — either stacked row after row into a single sheet, or with every source sheet kept as its own worksheet. The merge carries cell values, not formatting, and your spreadsheets are not uploaded anywhere.
🔒 Your spreadsheets are merged in your browser and are not uploaded to any server. The merge carries cell values, not formatting (formulas come through as their calculated values).
How to use
- Add your Excel files: Drop the workbooks onto the box or click to choose them, and add more at any time. Dropping a folder works too — the files inside are picked up, and if your browser can't read part of what you dropped, nothing is added and the items are named. Files of the wrong type or over 50 MB are skipped with a note while the rest are added.
- Tick the worksheets and set the order: Each row shows the file name, its size and how many worksheets it holds. A file with more than one sheet gets a checkbox per sheet, all ticked to begin with. Use ↑ and ↓ to change the order the rows will be stacked in, and ✕ to take a file out.
- Choose how to merge: Stack into one sheet puts every ticked worksheet into a single table; Keep sheets in one workbook gives each of them its own worksheet. When stacking, set the header handling, the column alignment, and whether a Source column is added on the far left.
- Merge and download: Click Merge, read the counts and any notes above the preview of the first rows, then download merged.xlsx. An .xlsx can't be previewed in the page, so the result card shows the file name and a download button. On a phone, Save to device opens the system share sheet when the browser offers file sharing and simply downloads the file when it doesn't.
How merging Excel files in your browser works
Merge Excel files locally into one .xlsx, either stacked into one worksheet or kept as separate worksheets. Select at least 2 worksheets, including sheets from the same workbook; limits are 50 files, 50 MB per file and 100 MB total. The page reads each workbook straight from your disk and merges the ticked sheets with a spreadsheet library that runs inside the tab. The combined workbook is assembled in memory and the download link points at that copy, so no spreadsheet content is sent to a server. It does fetch its own merge code the first time you use it — an ordinary script download carrying none of your data. Nothing is stored: refresh or close the tab and the files, the options and the result are gone.
Running on the page has one visible cost: the tab is busy while the merge runs. There is no progress bar — the work happens on the page's own thread, where a bar could not repaint — so the button is disabled and reads Merging… until the result appears. Processing time depends on workbook size and your device; large selections can make the tab temporarily unresponsive. If that happens, merge in two or three batches and then merge the results.
The limits are checked at two different moments. A file over 50 MB is skipped as soon as you choose it, with a note saying how many were left out; the 50-file count and the 100 MB total are checked against the whole list when you click Merge, as is the rule that at least 2 worksheets must be ticked — and those two may come from the same workbook, because what is counted is ticked worksheets, not files. The result is always a newly written .xlsx file named merged.xlsx. The tool is free to use and there is no account to create; unlike online mergers that do the work on a server, your own browser does it, so there is no queue and no upload.
For documents rather than spreadsheets, Merge PDF does the same job for PDF files.
Two ways to merge Excel files
Stack into one sheet is the default for combining reports into one table. Every ticked worksheet is appended, row after row, into a single worksheet whose name you choose (Merged if you leave the field empty). Use it when your files are the same report for different months, branches or people and you want one table to sort, filter or pivot.
Keep sheets in one workbook does no stacking at all. Each ticked worksheet becomes its own worksheet in the output file and keeps its original name; when two names clash — Excel treats worksheet names as case-insensitive — the later one gets (2), (3) and so on, and names longer than 31 characters are cut, with a note saying how many sheets were renamed. The stacking options are hidden in this mode because they have no effect on the result.
The two modes also count rows differently. Take two monthly exports, one with a sheet called Jan (a header row plus three rows of data) and one called Feb (the same header plus two rows). Stacked with the Source column on, the result line reads 2 files, 2 sheets, 5 rows of data and 4 columns, with no notes: one header row, five data rows, the three original columns plus Source. The same pair kept as a workbook gives 2 worksheets and a count of 7 rows, because every sheet brings its own header row along, and no column count at all.
| Stack into one sheet | Keep sheets in one workbook | |
|---|---|---|
| Output | One worksheet, named by you | One worksheet per source sheet, original names |
| Header rows | Your choice: first only, none, or every one kept as data | Each sheet keeps its own header row |
| Column alignment | By header name or by column position | Untouched — each sheet keeps its columns |
| Source column | Optional, added on the far left | Not used in this mode |
| Good for | One table to sort, filter or pivot | A tidy file of separate reports |
Which merge mode to choose
If the files should stay separate rather than be combined, Create ZIP packs them into one archive instead.
Lining up columns that don't match
By default columns are matched by header name rather than by position. The tool takes every header name found across your sheets as the output column list and fills each row into the matching column, leaving gaps empty — so a sheet that is missing Region, or has its columns in a different order, still lands in the right places. When a sheet's headers are not exactly the same list as the main one, whether in order, in number or in spelling, a note tells you the column names were not identical and were aligned by name; the merge still finishes and still gives you the file.
The matching is literal. Leading and trailing spaces are trimmed and nothing else is normalised, so Amount and amount end up as two separate columns. Two columns with the same header inside one sheet also stay separate: the first Name column of every sheet goes to one output column and the second Name column to another, which is what stops the data in one of them from being overwritten. Blank headers follow the same rule — the first blank header of each sheet meets the first blank header of the others, whichever physical column it happens to sit in.
Align by column position is the fallback for sheets whose headers can't be relied on: the output gets as many columns as the widest row, short rows are padded with empty cells, and the header row is taken from the first sheet only. This mode never reports a column-name mismatch, because it isn't looking at names at all.
Three header settings decide what happens to the first row of each sheet. Keep the first header only is the default and skips the first row of every other sheet. Keep every header as a data row leaves them in, so the header text appears once as the header and once more per sheet inside the data — handy when you want to see where each block begins. With no header every row counts as data; there are then no names to match, so columns are aligned by position, and the Source column has no title cell above it even though its values are still filled in.
What survives the merge — and what doesn't
Cell values come through as they are: text, numbers, true/false, and any non-English text such as accented letters, Vietnamese tone marks or emoji. Long digit strings are the usual worry, and they are safe when the source cell held them as text — an account number like 013000000000000001 or a code like 007 keeps every digit and its leading zeros instead of turning into scientific notation. Stacked row counts add up exactly: the data rows of all your sheets are the data rows of the result.
Dates are the one thing that catches people out. A cell showing 2026-01-15 arrives in the merged file as a plain number, because Excel stores a date as a serial number and the display format belongs to the cell, which this merge does not carry over. The values are not wrong, only unformatted: select the column in the merged file and apply a date format, or turn the dates into text in the source file with Excel's TEXT function before merging if you want them to arrive as the string you see.
Formulas arrive as the value they last calculated. Nothing is recalculated and no reference to another sheet is followed, and a note appears when any of your sheets contained formulas. Formatting is not kept at all: fonts, bold, colours, borders, number formats, conditional formatting, cell comments, data validation, frozen panes, filters and column widths are dropped, because only values are read and only values are written. Merged cells become ordinary cells, and charts, images, shapes, pivot tables, macros from an .xlsm file, external links and defined names have no path into the new file.
Empty sheets and blank rows are left out rather than carried through. A ticked worksheet with nothing in it is skipped and counted in a note — a cell containing 0 counts as data, so such a sheet is not empty — and completely blank rows don't reach the result. The notes say how many sheets a thing happened to, not which ones, so if a number looks off, check the preview and the row count.
Workbooks that can't be read say so straight away. Each file is opened for its worksheet list as soon as you add it, so a damaged file or one that needs a password to open shows the reason in its own row instead of quietly counting as zero sheets. While such a file is still in the list the merge won't start: the message names it, and ✕ removes it. The result itself can't be given a password, and a workbook that still has one has to be unlocked in Excel first.
Finally, this is a merge and not an analysis. Rows are appended or sheets are collected; nothing is de-duplicated, grouped or summed, and columns from two sheets are not matched up side by side on a shared key the way VLOOKUP or a database join would. Do that in Excel afterwards, on the single table you now have.
When combining multiple Excel files into one sheet helps
Repeating exports are the classic case: twelve files that all look the same, one per month, become one table in a few clicks, with the Source column recording which file each row came from — or which worksheet, or both names joined together. That column is what keeps the stacked table usable: you can filter on it, and a pivot table can group by it. Switch it off and you get only the columns your sheets had.
Other everyday jobs: sales or attendance sheets collected from several branches; survey and form exports downloaded in batches; a year of bank or card statements saved as separate spreadsheets before you categorise them; several people's parts of the same tracker, kept as separate worksheets in one workbook so nobody's numbers get mixed in with anyone else's. If the meaning sits in the file names — 2026-01-sales.xlsx and so on — tidy them up before merging, because the Source column stores the name exactly as it is.
Two habits save rework. Add the files in the order you want them stacked and use ↑ and ↓ before merging, because rows follow the list from top to bottom. And remember that changing any file or any option clears the result, so what you download always matches the options on screen — after a change, press the merge button again.
Bulk Rename Files can tidy a whole batch of file names at once before you merge.
How this tool is checked
- The logic behind this tool is covered by 43 automated test cases (hand-checked examples, edge cases and invalid input), and they run again before every release.
- Before each release, a real browser opens this page, runs it on sample files (including a damaged one) and checks the file it produces.
- Your files are processed in your browser and are never uploaded to our server.
- Formulas, figures and definitions are checked against the sources listed at the end of this page.
Frequently asked questions
- Are my Excel files uploaded to a server?
- No. The workbooks are read and merged inside your browser tab and the file you download is built on your device, so no spreadsheet content is sent anywhere. The page does download its own merge code the first time you use it. Bear in mind that anyone with access to the same device, or to the merged file once you send it on, can open it.
- Why did my dates turn into numbers after merging?
- Because only the value is carried over, and Excel stores a date as a serial number. The 2026-01-15 you saw on screen was that number plus a date format on the cell, and the format is not copied. Select the column in the merged file and apply a date format, or convert the dates to text with Excel's TEXT function before merging.
- Can I merge Excel files that have different columns?
- Yes. Columns are matched by header name by default, and the output holds every name found across your sheets; a row simply leaves empty whatever column its own sheet didn't have. A note appears when the headers weren't identical. Spelling and capitalisation have to match for two columns to be treated as one.
- How many Excel files can I merge at once?
- Up to 50 files per merge, each up to 50 MB, with 100 MB for the whole selection and at least 2 worksheets ticked. The tool sets no row limit of its own, so how much actually fits depends on your device's memory and on Excel's own ceiling of 1,048,576 rows per worksheet.
- Does merging keep formatting, colours and formulas?
- No — only cell values are kept. Fonts, colours, borders, number formats, conditional formatting, column widths, merged cells, charts, images, pivot tables and macros are all dropped, and formulas arrive as the value they last calculated. If a report has to keep its look, copy the sheets inside Excel instead.
- Can I merge just some worksheets from a workbook?
- Yes. A file holding more than one worksheet gets a checkbox per sheet, all ticked to start with, so untick the ones you don't need. Two ticked sheets are enough and they may both come from the same file. Unticking every sheet does not take that file out of the file-count and total-size limits — press ✕ to remove it.
- What happens if a file is password-protected or damaged?
- Its row shows the reason as soon as you add it, and the merge won't start while it is still in the list. Remove the password in Excel, or open the file and save it again as .xlsx, then add that copy — or press ✕ to drop the file and merge the rest.
- Can it merge .xls or CSV files, or write something other than .xlsx?
- The output is always a new .xlsx file: CSV, .ods and Google Sheets are not written, and rows can't be appended to a workbook you already have. The file picker also offers .xls, .xlsm and .xlsb, but only .xlsx is verified here, so open an older or unusual file in Excel and save it as .xlsx first.
Related tools
Cite this tool
Using a result in a report, paper or assignment? Copy a ready-made reference.
Gingertool. (2026). Merge Excel Files [Online tool]. Retrieved November 25, 2026, from https://gingertool.com/en/file-tools/merge-excel-files/
“Merge Excel Files.” Gingertool, November 25, 2026, https://gingertool.com/en/file-tools/merge-excel-files/. Accessed November 25, 2026.
@misc{gingertool-excel-merge,
author = {{Gingertool}},
title = {Merge Excel Files},
year = {2026},
url = {https://gingertool.com/en/file-tools/merge-excel-files/},
note = {Accessed: 2026-11-25}
}