Use this CSV file merger to combine multiple CSV files into one. Align columns by header name or position, preview the combined records and download a single CSV locally.
Processed in your browserNo account requiredEncoding and delimiter controlsIncomplete exports are blocked
CSV export options
Drop a file, paste data, load a CORS-enabled URL, or try the sample.
Rows0
Columns0
EncodingAuto
DelimiterAuto
Issue groups0
Open a data file to start
The parser runs off the main thread. Once loaded, you can search, sort, validate, repair and export without an account.
Choose how the CSV merger aligns columns
Merging appends records from each selected file. It does not join tables by account ID, update an existing record, or remove duplicates. The alignment setting decides which output column receives each value. Check every source with the CSV validator first, especially when exports come from different systems: merging does not resolve ambiguous headers or malformed rows.
Try the same two files in all three modes
Download merge-east.csv andmerge-west.csv. Select east first, then west, use comma as the delimiter, choose “Use as header,” and leave the source-filename column off to reproduce these outputs. The filename comments below identify the two files and are not part of their CSV content.
Union is useful when monthly or regional exports share core columns but carry different optional fields. Output headers follow their first appearance across the selected files. Values are matched by header name, so west's reversed first two columns are realigned. A field missing from a source becomes an empty string; the merger does not invent a total or status.
Intersection retains names present in every file, in the first file's order. For these fixtures,total and status disappear, while all four records remain. Use it for a downstream import that deliberately accepts only shared fields. Check what will be discarded before exporting; “common” means common column names, not common customers or duplicate rows.
Position uses the first file's headers, extending them with generated labels if another source has more columns. Shorter records receive empty trailing fields. It is appropriate only when each column position has the same meaning in every source, including headerless exports whose layout you know. It cannot recognize a reordered schema. With these two fixtures, the resulting west records are incorrectly labelled for their meaning:
Here west sits under account_id, and active under total. Use union or intersection for this pair. A rectangular preview is not proof that the fields match the business meaning of their headers.
Case, spaces, order, and repeated names
Header parsing trims leading and trailing whitespace, so account_id matchesaccount_id. Matching across files is case-sensitive: Account_ID is a separate union column and is not shared with account_id in intersection mode. Internal spaces also remain significant. Reordering is handled by the name-based modes, not position mode.
Standardize spelling and capitalization before merging. Give every field within a source a unique, non-empty name: repeated names are ambiguous, and name-based alignment can retain only the last occurrence's value. When enabled, the source column prepends the filename to each output record; avoid a conflicting source_file input header.
Merge CSV records, not physical lines
A quoted field can contain commas, escaped quotes, and line breaks. Splitting files on newline characters or removing the first physical line from every file can break those records. This merger parses each input before aligning fields and serializes CSV again on export. Compare themultiline fixture with thereordered-header fixture to test both boundaries.
Records retain file-selection order and their original order within each file. The current complete merge limit is 250,000 data records across the output. For the full workflow, follow thedifferent-columns merge guide, then useCSV to Excel if your destination needs a workbook.
What this tool does
CSV file merger and combiner
This CSV file combiner lets you concatenate CSV files by appending their records into one table. It parses each input as CSV, preserving valid quoted line breaks, and aligns fields using all header names, common headers only or column position. Use it for monthly reports, regional exports or files that share a schema but arrange columns differently.
How to use it
Choose or drop at least two CSV files together.
Select union, intersection or positional alignment and optionally add a source filename column.
Review the merged table and download one CSV.
Common tasks
Combine CSV files for use in Excel and match different column orders by header name.
Combine files with different columns using a union or keep common columns only.
Add the source filename to every merged row without uploading the input files.
Privacy and local processing
Local files are read by a dedicated browser worker and are not uploaded to an application server. File contents and filenames are not included in analytics events. Loading a public URL is an explicit direct request from your browser and may fail when the remote server blocks CORS.
Supported edge cases
Header order may differ between files when name-based alignment is selected.
Columns missing from one file become empty under union alignment.
Multiline quoted values remain a single record because each input is parsed before merging.
Frequently asked questions
Is a CSV file merger the same as a CSV combiner?
For this tool, both names mean combining records from several CSV files into one CSV. Each source is parsed before rows are appended, and columns can be aligned by header name.
Can the CSV combiner join records by an ID?
No. This merger appends rows; it does not perform an SQL-style join by ID. For example, combining January and February sales adds both sets of records, rather than matching customers across files.
How do I combine CSV files with different columns?
Choose union alignment to keep all header names and leave missing values empty, or intersection to keep only columns shared by the sources. Positional alignment is appropriate only when the column order has the same meaning in every file.
Does merging remove duplicate records?
No. Merging appends the source records. Use the separate duplicate remover afterward if repeated records should be removed.
Do I need Excel for merging CSV files?
No. The files are merged locally in your browser, and you can open the completed CSV in Excel afterward.
How do I concatenate CSV files without repeating the header?
Set the first row as a header before merging. The combiner reads each source header separately, aligns the data columns and writes one header for the combined output. Do not treat headers as data rows.
Can I identify which file a row came from?
Yes. Enable the source filename column before merging.
Does merging upload the files?
No. All files are read and combined in the same browser worker.