UtilityEXE
marge excel icon new

Merge Excel

Merge hundreds of Excel and CSV files into one clean workbook — offline and free

Free Open source Portable Windows 10 & 11
Download v1.0.0 View source on GitHub

38.8 MB · EXE · 1 downloads
Updated 20 Aug 2026

Screenshots

marge excel app screen short

What it does

Four header comparison modes

Compare every file against the first using exact match, ignore case, ignore spaces, or custom mapping rules like "Cust Name = Customer Name".

Column realignment by name

Matched headers stack properly instead of producing two near-identical columns when files list columns in a different order.

Single sheet or separate sheets

Stack every row into one worksheet, or give each source file its own sheet with auto-renaming and the 31-character limit respected.

Duplicate removal by row or column

Compare entire rows, one column, or several columns, keeping the first or last occurrence.

Smart text-to-number conversion

Handles 1,200, ₹500 and 45%, but only converts when every value in the column parses, so INV-001 stays untouched.

Source_File tracking

Records which file each row came from, with an optional Source_Sheet column for multi-sheet workbooks. Both names editable.

Preview without writing

Runs the entire pipeline in memory and reports rows, duplicates, validation errors and a 200-row sample before anything is saved.

Exportable merge summary

Files processed, rows merged, duplicates removed, validation errors, processing time and more, exported as Excel or PDF.

Reusable profiles

Save settings and the file list as a .json profile and reload it next month. Passwords are never stored in a profile.

Excel protection options

Workbook structure lock, worksheet lock, read-only recommendation and a real open password, each labelled for what it actually does.

Folder import with sub-folders

Add hundreds of files at once from a folder tree, with Excel's ~$ lock files skipped and duplicates never added twice.

CSV encoding and delimiter detection

Tries UTF-8 with BOM, CP1252 and Latin-1, and detects comma, semicolon, tab and pipe delimiters automatically.

Validation before merging

Corrupt, empty, renamed and password-protected files are caught on import, so a bad file never breaks a running merge.

Streaming performance

500,000 rows across 40 files in about 16 seconds using 176 MB of memory, with row counts read without loading whole workbooks.

Cancel-safe processing

Runs on a background thread so the window never freezes, and nothing is written to disk unless the merge completes.

Fully offline and portable

A single executable with no installer, no account, no telemetry and no internet connection. Files never leave your PC.

Anyone who collects spreadsheets from multiple branches, months or team members knows the real work is not the merging — it is everything around it. One file spells the column "Customer", another spells it "customer". A third puts the columns in a different order. Two files contain the same 400 records. Half the numbers arrived as text because someone typed "1,200" instead of 1200. Copy-pasting sheet by sheet gets you a workbook that looks merged but is quietly wrong.

Merge Excel handles that entire pipeline in one pass. Point it at files or a whole folder, choose how the output should be shaped, preview the result, and merge.

Performance

Tested at 500,000 rows across 40 files: about 16 seconds, 176 MB of memory.

That number holds because the app does not brute-force its way through your data. Row and column counts are read by streaming rather than loading whole workbooks into memory, and large unprotected output is written through XlsxWriter in constant memory. The app handles 500+ files and 500,000+ rows on ordinary hardware.

Two ways to shape the output

Single sheet merge stacks every file's rows into one worksheet. The header is written once, an optional S_No serial column is added, and formatting and column widths can be carried through.

Separate sheet merge gives each source file its own worksheet, named from the file or from the original sheet name. Duplicate sheet names are auto-renamed, illegal characters are cleaned, and Excel's 31-character sheet name limit is respected. A file with several sheets has them stacked inside its own worksheet.

Header validation that actually reports

Every file is compared against the first one using the mode you choose: exact match, ignore case, ignore spaces, or a custom mapping where you write rules like "Cust Name = Customer Name", one per line.

The app reports missing columns, extra columns and mismatched column order. Crucially, columns are realigned by name, so matched headers stack properly instead of producing two near-identical columns side by side. If you would rather stop than merge questionable data, you can make validation failure abort the run.

Cleanup and duplicate removal

Duplicates can be found by entire row, by one selected column, or by several columns at once, with the column picker populated from the headers actually detected in your files. Keep the first occurrence or the last. Whole-row comparison deliberately ignores the source-file and serial-number columns, so identical records arriving from two branch files still collapse into one.

Cleanup covers empty rows including whitespace-only ones, extra and repeated internal spaces, blank columns, and text-to-number conversion. That conversion handles 1,200, ₹500 and 45% — and only fires when every non-empty value in the column parses, so an ID column like INV-001 is left exactly as it is. Pandas artefacts like "Unnamed: 3" become "Column 4", and repeated column labels are de-duplicated.

Know where every row came from

Add a Source_File column recording the originating file for each row, and optionally a Source_Sheet column for multi-sheet workbooks. Both column names are editable, so they fit whatever naming convention your reports already use.

Preview before you commit

Preview runs the entire pipeline in memory and writes nothing at all. It reports total files, total rows, total columns, duplicate count and validation errors; shows a 200-row sample of the merged result and the full column list; and warns about problems such as exceeding the worksheet row limit. If it looks right, you start the merge straight from the preview window.

Protection, described honestly

"Excel password protection" means three different things and they are not equally strong, so the app supports all three and labels them plainly.

Workbook protection blocks adding, deleting, renaming and moving sheets. Worksheet protection blocks editing cells and inserting or deleting rows and columns. A read-only recommendation asks Excel to suggest opening the file read-only. Separately, a real open password encrypts the file.

The first three are deterrents against accidental edits, not security controls — Excel's own structure and sheet passwords are trivially removable by anyone who looks up how. Use the open password, or a protected folder, when the data genuinely needs protecting. A live strength meter and match indicator are built into the password fields, passwords are hashed into the file rather than stored in clear text, and passwords are never written into a saved profile.

Reports and repeatable runs

After each merge you get a summary covering files processed, files failed, total rows read, merged rows, duplicates removed, empty rows removed, blank columns removed, sheets written, validation errors, protection applied, processing time and output location — with tabs listing every validation issue and every failed file with its reason. The whole report exports as Excel or PDF.

If the same merge happens every month, save the settings and file list as a .json profile and load it next time, optionally re-importing the files that still exist on disk. Missing files are reported rather than failing silently.

Built to not lose your work

Every file is validated before processing, and one bad file never stops a batch — it is reported and skipped. Locked files, permission errors, out-of-memory conditions, row-limit overruns and corrupt workbooks produce plain-English messages instead of stack traces. All processing runs on a background thread so the window never freezes, cancel is available at any point, and nothing is written unless the merge completes. A rotating log at logs/merge_log.txt keeps the last five 2 MB files with full merge statistics.

What it doesn't do

Workbook and worksheet protection are deterrents, not encryption. Excel's structure and sheet passwords can be removed with freely available tools. Only the open password is real encryption.

The open password requires Microsoft Excel installed on the machine, driven through COM. Without Excel the merge still completes and the summary explicitly tells you the open password was skipped rather than pretending it worked.

Protection applies to .xlsx output only. XLS and CSV have no equivalent, and the report says so instead of silently doing nothing.

XLS output depends on the unmaintained xlwt package and is capped at 65,535 rows and 256 columns by the format itself. XLSX is the better choice in every case.

A single worksheet holds 1,048,576 rows. Past that, the app tells you to switch to separate sheets or CSV rather than truncating your data.

Source files that carry an open password cannot be read. Remove the password in Excel first.

Drag and drop needs the optional tkinterdnd2 package. The app runs perfectly well without it — use Add Excel files instead.

There is no scheduling, no command-line interface and no macOS or Linux build. This is a Windows 10 and 11 desktop application.

No upload, no account

Merge Excel is a portable executable. There is no installer, no account, no telemetry and no internet connection required. Your spreadsheets never leave your computer — which matters when the files contain customer records, payroll or anything else you would not paste into a web tool.

For other spreadsheet and document work, see Image Converter Pro and PDF Page Extractor.

Version history

v1.0.0 Current
10 Aug 2026 · 38.8 MB

Questions about Merge Excel

Q: Do my spreadsheets get uploaded anywhere?
A: No. Merge Excel is a desktop application that runs entirely on your own machine. There is no upload, no account and no internet connection required at any point. This matters when the files contain customer records, payroll or financial data.
Q: What file formats can it merge?
A: It reads .xlsx, .xlsm, .xls and .csv, and writes XLSX, XLS or CSV. XLSX is recommended for output because XLS is capped at 65,535 rows and 256 columns by the format itself.
Q: What happens when my files have different column names?
A: You choose one of four comparison modes: exact match, ignore case, ignore spaces, or custom mapping where you write rules like "Cust Name = Customer Name", one per line. The app reports missing columns, extra columns and order mismatches, and realigns columns by name so matched headers stack correctly. You can also make the merge stop when validation fails.
Q: How many files and rows can it handle?
A: It has been tested at 500,000 rows across 40 files, completing in about 16 seconds using 176 MB of memory, and handles 500+ files. The practical ceiling is Excel's own limit of 1,048,576 rows per worksheet — past that the app tells you to switch to separate sheets or CSV rather than truncating your data.
Q: Will it remove duplicate records from different files?
A: Yes. You can compare entire rows, one selected column, or several columns, and keep either the first or the last occurrence. Whole-row comparison deliberately ignores the Source_File and serial-number columns, so identical records arriving from two branch files still collapse into one.
Q: Is the password protection actually secure?
A: Partly, and the app is explicit about which parts. Workbook and worksheet protection and the read-only recommendation are deterrents against accidental edits — Excel's structure and sheet passwords are trivially removable. Only the open password is real encryption, and it requires Microsoft Excel installed on the machine. Without Excel the merge still completes and the summary tells you the open password was skipped.
Q: Can I see the result before it overwrites anything?
A: Yes. Preview runs the whole pipeline in memory and writes nothing. It shows total rows, duplicate counts, validation errors, the full column list and a 200-row sample of the merged data. You can start the merge directly from the preview window if it looks right.
Q: What if one file in the batch is corrupt?
A: Every file is validated on import, so corrupt, empty, renamed and password-protected workbooks are flagged before the merge starts. If a file still fails during processing it is reported and skipped — one bad file never stops the batch. The summary report lists each failure with its reason.
Q: Do I have to reconfigure everything for a monthly report?
A: No. Save the current settings and file list as a .json profile, then load it next month with optional re-importing of files that still exist on disk. Passwords are never written into a profile, so re-enter those before merging.
Q: Does it need Python or an installer?
A: Neither. Download the ZIP, extract it, and run MergeExcel.exe. Keep the whole folder together so logs, profiles and output have somewhere to live beside the executable. The first launch is slightly slower because the single-file build unpacks to a temporary folder.
Q: Why is drag and drop not working?
A: Drag and drop relies on the optional tkinterdnd2 package. The application runs fine without it — use the Add Excel files button or Add folder instead.
Q: Does it work on Mac or Linux?
A: No. Merge Excel is a Windows 10 and 11 application. There is no macOS or Linux build.

Similar tools

Other utilities people use alongside Merge Excel.