RunLocalTools

Merge CSVs

Combining several CSV exports into one — monthly sales reports into a year’s worth of data, contact lists from different sources into one master list, survey responses collected across multiple exports — is one of those tasks that’s simple in concept and fiddly in practice, especially once column order or naming varies slightly between files. Merge CSVs takes multiple CSV files, aligns their columns (by name or by manual mapping if the headers don’t match exactly), and outputs a single combined file.

Why local processing matters here

A merged file is often more revealing than any of its individual source files — combining a customer list from three regions into one document turns three separate, moderate-sensitivity files into a single comprehensive customer database, and combining financial exports across months creates a full annual picture that’s more valuable to expose than any single month on its own. That aggregation effect is exactly why this kind of merge deserves more caution than a single-file operation, not less. Everything happens in your browser here — none of the source files or the merged output is transmitted anywhere to produce the result.

How to use it

  1. Upload two or more CSV files — there’s no fixed limit, though very large merges are easier to verify in smaller batches.
  2. Review the detected columns from each file; if headers match exactly across files, they’ll auto-align, and mismatched or renamed columns can be manually mapped to the correct target column.
  3. Choose how to handle columns that exist in some files but not others — leave them blank for rows from files missing that column, or exclude the column from the merge entirely if it’s not needed.
  4. Decide whether to append rows (stacking files on top of each other, the common case for combining periodic exports) or join on a shared key column (matching rows across files based on a common identifier, like an email address or ID number).
  5. Check for duplicate rows after merging, particularly if the same record might appear in more than one source file — the tool flags exact duplicates so you can review before finalizing.
  6. Download the merged CSV once the preview looks correct, or continue cleaning it up further if the combined data needs additional tidying.

Common situations this solves

  • Combining monthly or quarterly export files into a single annual dataset for reporting or analysis.
  • Merging contact or customer lists collected from different sources (a signup form, an event list, a CRM export) into one master list.
  • Consolidating survey or form response exports that were downloaded in separate batches.
  • Joining two related datasets on a shared identifier — order data and customer data linked by customer ID, for instance.
  • Combining data exported from different tools or platforms that use slightly different column naming conventions for the same underlying information.

FAQ

What happens if the same column has a different name in two files, like “email” in one and “Email Address” in another?

The manual mapping step handles exactly this — align “Email Address” to the same target column as “email” before merging, so the combined file has one consistent column rather than two separate ones holding the same kind of data.

How does the tool decide if two rows are duplicates?

By default, rows are flagged as duplicates only if every column matches exactly; if you’re merging on a key column (like a customer ID), you can instead flag duplicates based on that key alone, which catches cases where the same record was updated slightly between exports.

Can I merge CSV files with different numbers of columns?

Yes — files don’t need identical column structures. Columns that don’t exist in a given file are simply left blank for that file’s rows in the merged output, so files with extra or missing columns relative to each other merge without error.

What’s the difference between appending rows and joining on a key?

Appending stacks files on top of each other, useful when each file represents the same kind of record for a different time period or batch. Joining matches and combines rows across files based on a shared identifier, useful when different files hold different information about the same set of records (like order details in one file and customer details in another, linked by customer ID).

Does merging change the original files?

No — the source files stay untouched; the tool reads them to build a new, separate merged output rather than modifying anything you uploaded.

What if my merged file still has formatting issues after combining, like inconsistent date formats between the source files?

Run the merged output through CSV cleaner afterward — it’s built specifically for fixing formatting inconsistencies (dates, whitespace, mismatched capitalization) that often surface once files from different sources are combined into one.

Before merging, it’s often worth a quick look at each file in the XLSX viewer if any of your sources are actually spreadsheet files rather than plain CSVs, to confirm which sheet holds the data you actually want to include.