Skip to content

Merge Excel and CSV files

Combine Excel and CSV files into one sheet, with columns matched by heading, or into one workbook with each sheet a tab, formatting kept. Nothing is uploaded.

  • Runs in your browser
  • Nothing is uploaded
  • Free, no sign-up

or drop them here. .xlsx, .xls and .csv files, up to 50. Nothing is uploaded.

Merge into

Stacks the rows of every sheet under one heading row, columns matched by their headings.

Match columns

Columns with the same heading go together, whatever their order; case and spaces don't matter.

Save as

    How it works

    Add two or more Excel or CSV files, put them in order, and choose how to merge them. One sheet stacks the rows: the first file's heading row comes first, then every file's rows below it. Columns are matched by heading, so a file that has Email before Name, or NAME in capitals, still lines up; a column that only some files have is added after the others and left empty in the rows of files without it, and the page lists it. Titles and notes above a table are skipped, and each file shows the row its headings were found in. Choose by position when the files share a layout but their headings differ, or no heading rows when every row is data. For a file with several sheets, tick the ones to stack; a second column then names the sheet as well as the file.

    Values keep their type: dates stay dates, money stays money with its format, and text such as 00123 stays text. In this mode the merged sheet holds values only, so fonts, colours and formulas aren't copied; a formula brings its last result.

    One workbook copies each sheet whole, as a tab of its own. An .xlsx is a ZIP of parts: each sheet, its shared text, styles, tables, charts, comments and pictures. The parts are copied, the styles of all the files are merged into one list, and every reference that has to change is rewritten, so a renamed tab, table or named range still works in formulas, charts, pivot tables and links. Each file's theme colours are written out so it looks as it did. The merged file is made again in your browser after every change, so the download always matches the list. To turn one sheet back into CSV, use CSV to Excel, which also converts Excel to CSV.

    Questions

    How do I merge Excel files into one sheet?

    Choose your .xlsx, .xls or CSV files, keep Merge into: One sheet, and press Download Excel file. The rows of every file are stacked under one heading row, with columns matched by their headings even when the files list them in a different order. Tick Add a column naming the file to see where each row came from.

    Can I combine Excel files into one workbook with separate tabs?

    Yes. Choose One workbook and every sheet of every file becomes a tab of one .xlsx, in the order of your list, with its formatting, formulas, charts, tables, comments and print settings. A tab whose name is taken gets (2) added, and formulas that point at it are updated to match.

    How do I merge CSV files?

    Choose the CSV files and save as CSV for one CSV file, or as Excel for one sheet in which numbers and dates are real numbers and dates. Commas, semicolons and tabs are detected for you, and leading zeros, long ID numbers and phone numbers stay as written. Each file's heading row is written once, at the top.

    Are my spreadsheets uploaded anywhere?

    No. Your browser reads and merges the files on your device, and the page keeps working offline once it has loaded. That makes it safe for payroll, sales and customer lists.

    Limits

    Opens .xlsx, .xlsm, .xltx and .xltm workbooks, old .xls files from Excel 97 to 2003, and CSV or TSV files, up to 50 files of 100 MB each and 300 MB together. An .xls file brings its values and number formats, not its formulas, fonts or colours, in either mode. Excel 95 and older files, Excel Binary (.xlsb), OpenDocument (.ods), Numbers, Strict Open XML and password-protected files are refused with a reason, as are workbooks whose structure is locked when merging into one workbook. One sheet holds up to 1,048,576 rows and 16,384 columns, as in Excel; save as CSV for more rows.

    In one workbook, macros, slicers, timelines and data-model links are left out and the page says so; pivot tables keep their data but may need Refresh in Excel. We merged 10 sets of real-world workbooks from the web, 2 to 6 files each, and checked every cell value and number format with openpyxl and Apache POI: every value and number format matched in all 10, and all 10 opened in Apache POI and LibreOffice. Printed from LibreOffice, 6 came to the same number of pages as their files did and the other 4 were within 1%. Each set was also stacked into one sheet, from Excel, LibreOffice and openpyxl copies with reordered, capitalised headings: every row landed in the right columns. Microsoft Excel itself wasn't tested.

    Privacy

    This tool runs entirely in your browser. The files you open and what you type are never sent to a server, and nothing is stored after you close the page. See the privacy page.

    Related tools