How To
Nov 14, 2022

How to Merge CSV Files

The problem with merging CSV files manually is that it takes a lot of time and there’s always a chance for human error.

To merge multiple CSV files, it’s a good practice to use a platform like Gigasheet that will help you combine CSV files in no time.

Let’s learn how.

How to merge CSV files using Gigasheet

Follow these steps to merge multiple CSV files into one using Gigasheet:

1. Get all your CSV files ready 

To show you this incredible feature, we downloaded multiple CSV files from the “World Carbon Pricing Database” on GitHub. This database comprises carbon pricing schemes’ institutional variables for numerous national jurisdictions. To show you Gigasheet’s Combine feature, we’ll merge data from all these CSVs into one.

Once you have the CSV files ready, the next step is to sign up for and log in to Gigasheet.

NOTE - Gigasheet archive limit is 100. So, if you have more than 100 CSV files, then you’ll have to add them to separate folders.

2. Sign up for or log in to Gigasheet 

How to Sign Up for Gigasheet

Gigasheet is free to use. You don’t need to make a purchase to combine your CSV files. Click here to sign up for Gigasheet. If you already use Gigasheet, you can log in here.

Once logged in, it’s time to upload all the CSV files that you want to combine.

3. Upload your CSV files (to be merged) to Gigasheet

If you’re an active Gigasheet user, you may already have active ongoing projects that you may be working on. So, it’s a good practice to create a New Folder for every project you tackle.

Once logged in, select “ADD FOLDER” to create a new folder inside Gigasheet.

Create a Folder in Gigasheet

Let’s name it “Merge.”

Name Gigasheet Folder

Once named, click on “Save” to create the folder.

As you can see – the folder has been created.

Folder Created in Gigasheet

Head over to the folder by clicking on it.

If CSV Files <100

Now, if you have less than 100 CSV files to merge, then you can just upload your files inside the folder. To upload them, click on “+ NEW” and select “Upload File.” Once uploaded, you’re ready to roll.

If you have less than 100 CSV files, then you can just skip to Step IV. However, if you have more than 100 CSV files, then we recommend continue reading.

If CSV Files >100

Gigasheet will not be able to process more than 100 CSV files inside a single folder – as the Archive limit is 100.

So, what I did was – I created three folders (on my Desktop) – comprising 67 files each and compressed them. Now, I have 3 ZIP files – which I’ll be uploading inside the Merge folder.

If you want to try Gigasheet’s Combine feature using the same dataset we’re using in this post, allow me to make the process easier for you.

I uploaded these three ZIP files to a Google Drive folder. You may find it here.

Gigasheet allows you to upload different types of files – from CSV to LOG to JSON and more. You can also upload ZIP files – and we’ll be doing the same.

It’s time to upload all three ZIP files inside Gigasheet.

How to do that?

Click on “+ NEW” and select “File Upload.”

How to Upload File to Gigasheet

Now, you’ll see this pop-up:

How to Upload File to Gigasheet Popup

Gigasheet allows you to add files in multiple formats and from different sources. We’ll select “Browse” and select the three ZIP files – which comprise the CSV files we want to merge.

Upload CSV Files to Be Merged

Gigasheet will take a few moments to upload and process your CSV files. Also, the platform will automatically extract your ZIP file.

Gigasheet will take a few moments to upload and process your CSV files. Also, the platform will automatically extract your ZIP file.

Now, it’s finally time to merge the CSV files.

4. Merge CSV files 

Before you merge CSV files, it’s important to note that all CSV files that you want to merge should have the same number of columns. Otherwise, you’ll see the following error:

Gigasheet Merge CSV Files Error

Since all of our data is from the same dataset, we know that it all matches. Let's merge!

Select all the CSV inside the folder that you want to merge using the top box. Or if you want to merge a select few specific ones, then you can select them individually.

Since we want to merge all of them, we selected all the files inside folder “1.”

Select All Files to Be Merged

Now, click on “COMBINE” to merge all the CSV files – as displayed in the screenshot:

How to Merge Multiple CSV Files into One

Now, Gigasheet will ask you to type in the combined fill name – where the combined data will be added.

Let’s name it “Merged File 1.”

Name the Merged File

Click on “Save” to continue with the merge process.

Gigasheet will take a few moments to merge the data.

And it’s done. It's that easy!

How to Merge Multiple CSV Files into One  Done

Here’s a screenshot of data from the merged file inside Gigasheet:

Data Inside Merged File

That’s how you can merge multiple CSV files into one inside Gigasheet.

Now, if you have more than 100 CSV files to merge, then we recommend you to continue reading. If your CSV file count is less than 100, then you can just skip to the conclusion.

If CSV Files > 100

Remember the three ZIP files we extracted inside Gigasheet – each comprising 67 CSV files? In the above steps, we merged CSV files inside folder “1.” We performed the same steps for CSV files inside folders “2” and “3.”

We named the three files:

  • Merged File 1
  • Merged File 2
  • Merged File 3

Now, we moved all three merged files inside one folder “Merged Files.”

Combine All Merged Files
How to Combine all Merged Files

Now, we’ll merge the three merged files.

How to Merge Multiple CSV Files into One

And it’s done:

How to Merge Multiple CSV Files into One Process Done!
Data Inside the Final Merged File

Ready to combine your CSV files?

Combining CSV files has never been easier. We bet you’ll fall in love with this feature.

Besides combining your CSV files, you can use Gigasheet to quickly filter data, group it by column, clean it, perform calculations, and do so much more.

Take Gigasheet out for a spin yourself!

Sign up today!

The ease of a spreadsheet with the power of a database, at cloud scale.

No Code
No Database
No Training
Sign Up, Free

Similar posts

By using this website, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policy for more information.