Merge multiple CSV files offline with auto header mapping
Combine quarterly exports, lead lists, or vendor sheets even when column names and order do not match.
100% browser-local. Zero uploads.How offline CSV merging works
Anyone who combines exports from two different tools runs into the same headache: one CRM calls the column Email Address while a webinar export calls it E-Mail, and a third sheet places Company at the end instead of the middle. Copy-pasting rows together in Excel shifts values into the wrong columns unless you manually rename and reorder every header first.
GridLocal inspects the header row of each file you drop into the browser, normalizes punctuation and casing, and applies a built-in alias dictionary so matching concepts align automatically. Everything happens in local memory, so sensitive customer lists, payroll sheets, and supplier pricing files never touch an external server.
Step-by-step workflow
- Add two or more CSV files: Drag files into the dropzone or click Add CSV files. Mixed delimiters such as commas in one file and semicolons in another are detected automatically per file.
- Review the auto-mapped header table: Inspect the editable Mapped output column box for each source header. If two files represent the same field with an unusual name, type the identical target name into both rows. Type
__skip__to omit a column entirely. - Choose Union or Intersection mode: Pick Keep all columns (Union) when you want every column preserved, or Only shared columns (Intersection) when you want only fields present in every file.
- Track origins and dedupe: Keep Add _source_file column checked if you need an audit trail showing which export each row came from, and optionally strip exact duplicate rows.
- Export cleanly: Download the combined table as a UTF-8 BOM CSV or a formatted Excel
.xlsxworkbook.
Worked numerical example: combining Q1 and Q2 lead exports
Suppose your team exports 1,240 CRM contacts from Q1 (q1_leads.csv) and 860 webinar signups from Q2 (q2_webinar.csv). Notice that 115 contacts appear in both files, and Q2 uses shorter column headers plus an extra Region field.
| Metric | q1_leads.csv | q2_webinar.csv | Merged Output (Union + Dedupe) |
|---|---|---|---|
| Input rows | 1,240 | 860 | 2,100 raw -> 1,985 unique |
| Email column name | Email Address | Email Address (aligned) | |
| First / Last name headers | First Name, Last Name | FName, LName | First Name, Last Name (aligned) |
| Organization header | Organization | Account Name | Organization (aligned) |
| Unmatched Q2 column | (none) | Region | Region (blank for Q1 rows) |
| Audit column | (none) | (none) | _source_file added (8 columns total) |
In Union mode with exact deduplication enabled (after skipping _source_file from the duplicate comparison), GridLocal keeps 1,985 unique rows across 8 aligned columns in under a second without touching Excel formulas.
When to use a follow-up step
If your merged file still contains slightly different company spellings such as "Acme Inc." and "Acme Incorporated", open the Fuzzy Deduplicate CSV tool next. If you need to enrich merged leads with pricing or territory columns from a separate lookup sheet, use CSV VLOOKUP & Join.
Frequently asked questions
Can I merge CSV files that have different column names or column orders?
Yes. GridLocal automatically recognizes common header aliases such as Email Address vs E-Mail, First Name vs FName, and Organization vs Account Name, and lets you edit any mapped output column name before merging.
What is the difference between Union and Intersection schema mode?
Union mode keeps every column found in any uploaded file and leaves blank cells where a file lacked that column. Intersection mode keeps only the columns that appear in every file you added.
Does merging CSVs upload customer lists to a remote server?
No. All file reading, header mapping, deduplication, and CSV or XLSX generation happen locally inside your browser tab.
How do I track which original file each merged row came from?
Leave the Add _source_file column checkbox enabled. GridLocal prepends a _source_file column containing the exact filename for every row.
Can I drop unwanted columns while merging?
Yes. In the header mapping table, type __skip__ as the mapped output column for any source column you want to exclude from the final merged file.