ToolJutsu
All tools
Data Tools

CSV Merger

Merge several CSV files into one.

CSV sources (2)
2 rows, 3 cols
3 rows, 3 cols
Merge mode

Rows are stacked and columns are aligned by header name. The output uses the union of every header; cells with no value are left blank.

2
Sources merged
5
Total input rows
5
Output rows
Merged result5 rows, 4 columns
nameemailcitycountry
Ada Lovelaceada@example.comLondon
Grace Hoppergrace@example.comNew York
Alan Turingalan@example.comUnited Kingdom
Katherine Johnsonkj@example.comUnited States
Edsger Dijkstraed@example.comNetherlands
Processed on your device. We never see your files.

How to use CSV Merger

What this tool does

The CSV Merger combines several CSV files into a single CSV. You add sources by dropping files onto the upload area or by pasting CSV text into extra blocks, choose how the files should be combined, and the tool builds one merged file that you can copy or download as merged.csv. A live preview shows the first rows of the result, and a summary counts your sources, the total input rows and the output rows.

A CSV — comma-separated values — is a plain-text spreadsheet: each line is a row, and the comma-separated values on that line are the cells. Merging means taking the rows and columns from two or more such files and assembling them into one, which is something a spreadsheet can do but rarely without fiddly copy-paste.

Why and when you’d use it

Data almost never arrives in one tidy file. You might export sales month by month, pull a contact list from two different tools, or receive the same report split across regional teams. Before you can analyse or import that data, it has to become one file.

Common situations:

  • Combining periodic exports. Stack January, February and March sales into one dataset for a quarterly pivot table.
  • Pooling lists from several tools. Merge contacts exported from a CRM, a newsletter platform and an event sign-up sheet.
  • Assembling regional reports. Each office sends its own CSV; you need the company-wide picture.
  • Widening a dataset. Join a file of order totals next to a file of order statuses so every order has both in one row.

How to use it

  1. Drop one or more CSV files onto the upload area. Each becomes a named source. You can also press Add a CSV to get an empty block and paste text into it. Two small samples load automatically.
  2. Choose a Merge mode. Stack rows (append) puts rows on top of each other; Join side by side places columns next to each other.
  3. Set the Delimiter for all sources, and toggle First row is a header if the files have no header line.
  4. When stacking, decide whether to Match columns by header name. On, the tool aligns columns by their names and fills gaps with blanks; off, it aligns by position.
  5. Check the preview and the summary counts, then use Copy CSV or Download .csv to save merged.csv.

Common pitfalls and tips

The most common mistake is mixing up the two modes. If your merged file has the right number of columns but far too many rows, or the reverse, you have likely picked the wrong mode — stacking makes a file taller, joining makes it wider.

Header alignment is the next thing to watch. When stacking with header matching off, two files whose columns are in a different order will interleave their data incorrectly; turn header matching on, or reorder the columns first. Empty sources are skipped automatically and noted in a message, so a stray blank block will not corrupt the result.

Beware of spreadsheet software altering values: Excel strips leading zeros from ZIP codes and SKUs and may rewrite long numbers in scientific notation, so a file that round-tripped through Excel can merge with subtly changed data. Smart quotes and odd encodings pasted from documents can also throw off parsing — paste from plain text where possible.

If you need to trim the merged file down afterwards, the CSV Column Extractor removes and reorders columns, and the CSV Row Filter keeps only rows that meet your conditions. All three tools share the same parser.

Privacy

This tool works entirely inside your browser. Every file you drop and every block you paste is read and merged by JavaScript on your own device. Nothing is uploaded, nothing is stored between visits and nothing is logged. When you close the tab, all of it is gone — so merging customer lists, payroll exports or any sensitive dataset here keeps that data private to you.

Frequently asked questions

What is the difference between stacking rows and joining side by side?
Stacking rows puts one file's rows underneath another's, so two 100-row files become one 200-row file — use this when the files hold the same kind of records, like January and February sales. Joining side by side places one file's columns next to another's, matching them row by row, so two files become wider rather than taller — use this when each file describes the same items from a different angle.
My CSV files have different column headers. Can I still merge them?
Yes. When you stack rows with 'Match columns by header name' switched on, the tool builds the union of every header it sees. A column that exists in one file but not another simply has blank cells for the rows that came from the file without it. Nothing is lost and nothing is guessed.
What happens if the files have different numbers of rows?
It depends on the mode. When stacking rows, row counts do not need to match at all — every row from every file is appended. When joining side by side, the tool pads shorter files with blank cells so the columns still line up, and the output has as many rows as the longest file.
Can I merge files that use different delimiters?
The delimiter setting applies to all sources at once, so for a clean merge the files should share a delimiter. If one file uses commas and another uses semicolons, convert one of them first. Auto-detect inspects each file's first line, which helps, but matching delimiters is the most reliable path.
Are my files private when I merge them here?
Yes, entirely. Every file you drop and every block you paste is read and combined by JavaScript inside your browser. No file is uploaded to a server, nothing is stored after you close the tab, and nothing is logged. Merging customer or financial exports here keeps that data on your own device.

Related tools