Merge CSV files
Merge CSV tables in your chosen order, aligning headers or taking the union of columns, with local export.
How to use
Paste two tables or choose a local file for each, and set their delimiters. Add tables if needed and use the move buttons to order the batch. Choose matching header sets or their union, review the export policy and process. Review the preview, then copy or download the complete CSV.
The first table has id,name and row 001,Amal; the second has name,id and row Ali,002. Strict merging produces id,name followed by 001,Amal and 002,Ali; the second file’s column order does not change which header each value belongs to.
Support & limits
Header matching is exact, including case and spaces. Strict mode allows reordered headers; union preserves first-seen header order and uses empty strings for missing columns. Duplicates, blank rows and spaces are not removed automatically. Uneven CSV and invalid quoting are rejected. Original files remain unchanged.
Common questions
Does the result include every table or only the preview page?
CSV quotes all cells and uses CRLF while preserving line breaks inside cells. Downloads include a UTF-8 BOM; copy does not. The system clipboard may normalize line breaks inside cells too; use the download to preserve their original line breaks. By default, formula-like cells, including headers and negative numbers, receive an apostrophe in the export copy only. Literal export leaves them unchanged, but a spreadsheet application may interpret them as formulas. Review import-as-text settings. The preview limits displayed rows and columns; copy and download include the complete result.
Related tools
CSV and JSON converter
Convert CSV tables and JSON locally while preserving string cells and checking headers and quotes.
CSV editor
Edit CSV cells, filter and sort rows, add rows, then choose export columns and optional cleaning while retaining the original table.
Join two tables
Join two tables on 1–3 key columns using an inner or left join, with explicit duplicate and empty-key behavior.