Spreadsheet Merge and Split - CSV and Excel
Combine several CSV or Excel files into one, matching columns by name even when the order differs, or split one file into parts by row count or by the values in a column. Up to 20 files, all processed in your browser. Nothing is uploaded.
Merging and Splitting Without Copy-Paste Mistakes
Exports rarely line up. One system puts the email address in the second column, the next puts it in the fifth and calls it E-mail. Pasting those under each other in a spreadsheet silently mixes columns. Merging by header name avoids that: columns are matched by their title, ignoring case and spaces, the headers are combined, and a column one file does not have is simply left empty for its rows. A Source column records which file each row came from, which is the first thing you need when a number looks wrong later.
Splitting goes the other way. A mailing tool accepts 1,000 contacts per import, so a file of 8,400 becomes nine parts, each with the header. A sales export needs to go to one account manager per region, so it is split on the Region column into one file per value. The parts come as a zip of CSV files or as one Excel workbook with a sheet per part, whichever the next step wants.
Excel files are read and written here without a spreadsheet library: the tool opens the .xlsx package, reads the cell values, turns date cells into readable dates and text into text, and writes plain workbooks Excel, Numbers and Google Sheets open without complaint. Formulas come through as their last calculated value; formatting and charts are not carried over. Everything runs in your browser, and the same merge and split are available to scripts and AI agents through the ToolForte REST API and MCP server for CSV text.
How Spreadsheet Merge and Split Works
- 01Add up to 20 files: .csv, .tsv, .txt or .xlsx. Every sheet of an Excel file is read, the first row is the header, and the delimiter of each CSV is detected.
- 02To merge, choose whether columns are matched by header name or kept by position, and whether a Source column with the file name is added. Download one CSV, one Excel sheet or one workbook with a sheet per input.
- 03To split, pick the first file and split it every N rows or on the values of a column. Every part keeps the header.
- 04Download the parts as a zip of CSV files or as one Excel workbook with a sheet per part. Nothing leaves your browser.
Matching by Header Name Versus by Position
Two exports of the same data rarely have the same column order. One system writes Name, Email, City; the next writes email, city, name and adds Phone. Matching by header compares names without regard to case and surrounding spaces, unions the headers in the order they were first seen, and leaves a cell empty when a file does not have that column. That is the safe default. Matching by position is for files that came from the same template and have no header names worth trusting: the first file's header is kept and every following row is appended as it is. Excel files are read cell by cell: shared strings, inline strings, booleans and numbers, with cells styled as dates turned into readable dates. Formulas arrive as their last calculated value. Output workbooks are plain, one sheet per table, without styles, and open in Excel, Numbers, LibreOffice and Google Sheets.
When to Use This Tool
Monthly exports that must become one yearly file. Contact lists from several forms that need to become one import. A large file that has to be cut into chunks of a thousand rows because an import tool has a limit. A national report that must be split per region or per account manager so each person gets only their own rows. And any time you would otherwise paste sheets under each other by hand and hope the columns line up.
Frequently Asked Questions
Are my files uploaded?→
What happens to a column that only one file has?→
Does it keep Excel formatting, formulas and charts?→
Which delimiter does it use?→
How large can the files be?→
Related tools
12 suggested- 01JSON to XML Converter - Instant & FreeConvert JSON data to XML format with proper indentation and escaping. Free, browser-based converter, no upload needed.
- 02JSON Tree Viewer - Expandable VisualizerVisualize JSON data as an expandable, collapsible tree. Search keys and values, copy JSON paths. Free online JSON explorer.
- 03JSON Schema Validator - Free Online ToolValidate JSON data against a JSON Schema instantly. Perfect for AI function calling and API validation. Free, browser-based.
- 04Regex Tester - Live Matching & HighlightingTest regular expressions with live matching and highlighting. Supports all flags and capture groups. Free online regex debugger.
- 05Base64 Encoder & Decoder - Free OnlineEncode text to Base64 or decode Base64 back to text instantly. Full Unicode support. Free, private, browser-based.
- 06URL Encoder & Decoder - Free Online ToolEncode or decode URLs and special characters for web use. Instant results, browser-based. Essential tool for web developers.
- 07HTML Entity Encoder & Decoder - FreeEncode special characters to HTML entities or decode entities back to text. Common entities reference included. Free online tool.
- 08JWT Decoder - Inspect Tokens InstantlyDecode and inspect JSON Web Tokens instantly. View header, payload, and expiration. Free, private. Your tokens stay in your browser.
- 09Cron Expression Parser - Human-ReadableParse and explain cron expressions in plain English. See next run times and validate your schedule. Free online cron debugger.
- 10UUID & ULID Generator - Bulk & SecureGenerate UUIDs (v4) and ULIDs in bulk. Cryptographically secure, browser-based. Generate up to 50 IDs at once. Free online tool.
- 11Unix Timestamp Converter - Date & TimeConvert between Unix timestamps and human-readable dates instantly. Supports seconds and milliseconds. Free developer tool.
- 12Diff Checker - Compare Text Side by SideCompare two texts and see differences highlighted line by line. Color-coded additions and deletions. Free, private, no upload needed.
Link to this tool
Free to use, free to linkMentioning this tool in a README, a blog post or your team wiki? Paste one of these and your readers land straight on the tool, running in their own browser.
- HTML
<a href="https://toolforte.com/tools/spreadsheet-merge-split">Spreadsheet Merge and Split</a> - MD
[Spreadsheet Merge and Split](https://toolforte.com/tools/spreadsheet-merge-split)