Merge CSV files into one table.
Stack two or more CSV files into one table, even when the columns don't quite match.
Merging workbooks instead? Use the Excel merger.
- Up to 50 files
- Mismatched columns fixed
- CSV or Excel back
- Uploads deleted within the hour
- 1Files
- 2The table
- 3Preview
- 4Your file
3 tables read
Their columns don't all match. The next step sorts that out.
Drawn from a real run of the merge tool. Try it with the same three files: sales-jan.csv, sales-feb.csv and sales-mar.csv.
One table, even when the columns don't match
Use it on its own, or have Mammoth merge next month's files for you.
Fixes columns that don't match
It matches names like Amount and Total Amount. Anything else, you match with one click.
See it before you get it
The preview shows where each file starts, so a bad match is easy to spot.
Free, and your files are deleted
No account. Your uploads are deleted within the hour.
How to merge CSV files
If every file has the same columns in the same order, any merger will do. These steps are for when they don't.
- sales-jan.csvsales-feb.csvsales-mar.csv1
Add your files
Up to 50 files, 100 MB each and 400 MB in total.
- JanFebMarDate●●●Amount●●●Region●●?2
Check the grid
Each column gets a row and each file gets a column. Dots show what's filled.
- JanFebMarDate●●●Amount●●●Region●●?
Mar: Sales Region fills Region
3Fix what doesn't match
Click a cell and pick which column fills it. It shows you sample values.
- Jan12,400Jan9,870Feb11,020Feb13,550XLSXCSV4
Check the join, get the file
The preview shows where each file starts. Pick CSV or Excel and we email it to you.
Try it on your files
Drop the files in, check the columns, and get one table by email.
Other ways to do it
If your files already match, you may not need this.
The command line
Files that already match
- Free: Yes
- Handles renamed columns: No
- Shows what doesn't line up: No
- No email needed: Yes
Excel Power Query
A folder of matching files
- Free: Partly
- Handles renamed columns: No
- Shows what doesn't line up: No
- No email needed: Yes
Copy and paste
Two or three small files
- Free: Yes
- Handles renamed columns: Partly
- Shows what doesn't line up: No
- No email needed: Yes
This merger
Files whose columns drifted
- Free: Yes
- Handles renamed columns: Yes
- Shows what doesn't line up: Yes
- No email needed: No
Merging files every month?
Mammoth can do it for you. Put the files in a folder and each one is added to the same table automatically.
Monthly exports
| January | Jan 04 | North | 12,400 | |
| January | Jan 11 | South | 9,870 | |
| February | Feb 03 | North | 11,020 | |
| February | Feb 10 | South | 13,550 | |
| March | Mar 02 | North | 10,310 |
Illustration. Every new file in the folder is added to the same table.
Set it up yourself in three steps, or reply to the tool's email and we'll help.
- 1
Put the files in a folder
Upload them to a folder in Mammoth, or collect them from Google Drive, Dropbox, OneDrive or SFTP on a schedule.
- 2
Add them to one table
Add a Data Consolidation step on that folder and set it to Combine. Each new file is added to the same table.
- 3
Set the column matching once
Mammoth remembers which column goes where. A file that doesn't match is held back, and you get a notification.
Your files stay private
Your uploads are deleted within the hour. The merged file is sent to the email address you enter.
- SOC 2 Type II
- ISO/IEC 27001:2022
- HIPAA
- GDPR
You upload
sales-jan.csv and 2 more
You check the merge
No account needed
File emailed to you
To the address you enter
- < 1 hour
Uploads deleted
Within the hour
You'll also get the occasional email about working with files like these. Unsubscribe in one click.
The files have different columns. Will it work?
Does it drop a column that only one file has?
Can't I just use the command line?
What do I get back?
My files use semicolons, not commas.
The header isn't on the first row.
Two of my files might be the same export.
Can I see which file each row came from?
Do I have to give an email address?
I have to do this every month.
Merging files every month?
Mammoth remembers how your columns match and merges each new file for you.
- Free trial
- No credit card
- Viewers always free