Home

How to import CSV to Google Sheets Manually and Automatically

The manual import of a published online CSV file from an app or Google Drive to Google Sheets is a breeze. A few clicks will do the job. If you want to automate this process, you will need to write custom code with Google Apps Script. But, can I do this without any coding? Yes, you can. Spend a few minutes exploring Coupler.io, a reporting automation platform that lets you import online CSV data into Google Sheets and schedule data refresh. 

Along with this, we will be covering other methods to import a CSV file to Google Sheets. Read on to learn more.

How to import SCV into Google Sheets in different ways?

There are different methods that you can use depending on where your CSV file is located and other details. Here are some of them:

  • Automated import with Coupler.io. You can use the no-code Google Sheets connector to export your data from CSV files automatically on your preferred schedule. This is especially convenient when you need to update your information often. Coupler.io lets you organize data, blend it with information from other sources, and many more.
  • Using formulas. You can import CSV to Google Sheets with the help of the IMPORTDATA formula. In this case, information won’t be updated entirely automatically and you will need to run the formula every time you need to update.
  • Manual transfer. This is a simple and free method, but it quickly gets inefficient if you need to update your information in the spreadsheet often – in this case, you will have to repeat this process manually every time your data in the CSV file changes.

Now, let’s explore each of these methods to import CSV to Google Sheets in more detail.

How to auto import CSV to Google Sheets from the cloud using Coupler.io?

Coupler.io comes in two versions – a web app and an add-on for Google Sheets. To use the web app, click Proceed in the form below, where we preselected CSV as a source app, and Google Sheets as a destination. You’ll be offered to get started for free with no credit card required.

1. Collect data

Configure the CSV connection as follows:

  • Enter the URL of your CSV file.
  • For the HTTP method, select GET.
  • Specify the request headers. This may be needed if your file is password-protected. In the Key field type in Authorization, in the Value field – provide your authorization key, for example, Bearer xoxb-1h345kj24.
  • Specify the URL query parameters to filter out your data if needed.
  • Use optional settings: select the fields to be imported, specify the number of rows to skip, and others.
CSV source

2. Transform data

At the next step, you can preview your data and rearrange it if needed – hide or rename columns, add new ones, filter data, calculate custom metrics directly into the Coupler.io interface, and so on.

CSV transform

3. Load data and schedule refresh

Click your Google account, grant the requested permissions, then select a spreadsheet on your Google Drive and a sheet to import data to.

google sheets destination

Optionally, you can also choose the import mode – replace or append –  as well as toggle on the Last updated column parameter. This will add a column specifying the date and time of the last data update. 

If you want to get your CSV data right away, click Save and Run. But you can also automate your data imports on a schedule. For this, toggle on Automatic data refresh and customize the schedule for your data imports.

3. Coupler.io schedule

That’s it! Now you know how to import CSV to Google Sheets and automate the process without any hassle. 

Note: The setup flow for the Coupler.io add-on for Google Sheets is the same, but you’ll need first to install it from the Google Workspace Marketplace.

How to import multiple CSV files into Google Sheets

You can easily do this with Coupler.io. To begin, add a new importer and connect it to your first CSV file. We already explained how to do this in the previous sections of this article. Once your first CSV file is linked, press Connect one more source

CSV connect one more sources

Select CSV as a source application and configure it in a similar way as above. Repeat this for each CSV file you want to add. You can add as many as you like.

multiple CSV files

Once you are ready, switch to the Preview and transform module to check your data. Then, update the destination information, if needed, or add the destination account if you haven’t done so yet. You can use our instructions from the previous sections if you need help with this.

In the end, Save and Run your importer. After this, Coupler.io will import multiple CSV to Google Sheets automatically.

How to bulk-import CSV to Google Sheets on a schedule

In the previous chapter, we explained how you can transfer data from several CSV files at once. If you want to go further and bulk-import CSV to Google Sheets on a schedule, you can easily do this with Coupler.io as well. 

First, connect your multiple CSV files to the importer as explained above. Once you finished configuring the destination (Google Sheets), you can switch to the Schedule block.

Toggle on the Automatic data refresh feature and specify your preferences. In our example, Coupler.io will transfer updated information from your CSV files to Google Sheets every hour on business days, from Monday to Friday.

3. Coupler.io schedule

When your schedule is ready, press Save and Run.

How to automate CSV import from a Google Drive folder with Coupler.io

Coupler.io offers a dedicated connector to Google Drive, so you can automate exports of CSV and Google Sheets files. Click Proceed in the form below.

After that, connect your Google account and select the needed CSV file from the folder.

CSV from GDrive source

The rest of the flow you already know.

Check out more about CSV from Google Drive to Google Sheets or how to connect Google Drive to Excel.

Import CSV to Google Sheets from the cloud with IMPORTDATA

In Google Sheets, there is a dedicated function, IMPORTDATA, for importing CSV or TSV data from a published online file. Just enter the file URL in the formula, =IMPORTDATA("URL"), and the data will be fetched within a few seconds.

Read our blog post to learn more about IMPORTDATA in Google Sheets.

IMPORTDATA vs. Coupler.io CSV importer 

IMPORTDATAFeatureCoupler.io CSV importer
CSV, TSVFile formats supportedCSV, TSV, XLSX
Read more about how to import Excel to Google Sheets with the CSV importer.
You are not safe from data loss, as each error cleans your data.Output data typeYou are always safe from total data loss if any error occurs.
You can make up to 50 calls on a single spreadsheet.Limitations & errorsOnly if the result is too big to be placed according to Google Spreadsheets limits or Google Sheets API limits that are used to place data.
No support has been officially offered.Secure CSV link as a data sourceYou can use the Request headers field to provide authentication credentials and use data from secured data sources.
No support has been officially offered.Data update on demandYou can RUN your importers any time you need to update data with one click of a button.
No support has been officially offered.SchedulingYou can set up scheduled data updates.
No support has been officially offered.Global data updateYou can use the RUN ALL button or scheduling option.
Available with the help of the QUERY function.Fields selectionYou can cut off data you don’t need using the Fields parameter. This will let you import only the selected columns. 
No support has been officially claimed.Fields reorderingYou can set up fields order for output.
Available with the help of the QUERY function.
Skip rowsYou can easily skip rows with data you don’t need using the Skip rows parameter.
The cell in which you applied the function will be the target cell to get output.Insert data at cell address You can set up the target cell to get output where you need it.
No support has been officially offered.Appending optionYou can place data from multiple sources (with the same fields structure and order) using the append mode together with the skip lines parameter. This will let you get a single data set to work with (for example, to combine monthly reports into a single year report).
Available with the help of the QUERY function.Advanced requestsYou can make more precise requests, such as time ranges, users and others, using the URL query string parameter. This is useful when you import data from secured connections for API-styled requests such as reports from time-tracking tools (Toggl, Clockify) or similar ones.

A combination of IMPORTDATA and QUERY can give you a wider scope of data import capabilities. We’ve blogged about the Google Sheets Query Function and what you can do with it. For the rest, the CSV importer looks more practical.

IMPORTDATA lacks any automation features. So, each time you need to update your imported CSV data, you’ll have to do it manually. The only way to automate importing purely in Google Sheets is to write a code using Google Apps Script. You may check out Stack Overflow and discover a code sample provided by one of the users. But should you? 

Coupler.io already has this feature implemented. All you have to do is toggle on the automatic data refresh and customize the schedule.

How to manually import CSV data into Google Sheets from your device

OK, if you do not work with CSV recurrently, you may not need to automate this flow. In this case, you should go with the manual import. 

Open CSV in Google Sheets

The simplest way to open a CSV file in Google Sheets is to upload it. To do this, open your Google Sheets doc, go to File => Import, click Upload, and select the CSV file from your device.

Then you’ll need to select the Import location, separator type, and whether you need to convert text to numbers, dates, and formulas.

image

As a result, the CSV data from your file will be converted into a Google Sheets format. For example, this is what the Etsy listings exported in CSV look like after the import to Google Sheets:

So, it’s not a CSV file anymore. If you don’t want to convert CSV to Google Sheets but need to keep it as CSV with the possibility of opening it in Google Sheets, do the following.

How to open a CSV file in Google Sheets without converting CSV data

Open your GDrive or GDrive folder you want to upload the CSV file to. Go to the Settings menu (click the gear wheel, and select Settings).

The Settings menu on Google Drive

Make sure that the Convert uploads checkbox is unchecked.

Note: If you enable this function, all your CSV files will be converted to Google Sheets format when uploaded.

Disable the Convert uploads feature on Google Drive

After that, you can drag and drop the CSV file from your device and it will be uploaded without any changes.

A CSV file uploaded to Google Drive without being converted

When you double-click on the file, the CSV data will be shown as a table. 

Open a CSV file on Google Drive

If you need to open the uploaded CSV file in Google Sheets, click Open with and select Google Sheets in the drop-down menu.

Open a CSV file on Google Drive with Google Sheets

Your CSV file will be open in Google Sheets in a separate tab, and a converted Google Sheets file will be created in the same folder automatically.

A CSV file converted to Google Sheets document

How to import large CSV to Google Sheets

In this article, we’ve described several methods that allow you to import CSV to Google Sheets: with a data integration solution, with formulas, and manually. In general, each of these methods is suitable for CSV files of various sizes. 

The complications may arise, however, if your CSV file exceeds Google Sheets’ limits. The app allows you to have a worksheet that has:

  • Up to 10 million cells 
  • Up to 18,278 columns (column ZZZ)
  • Up to 50,000 characters per cell

If your CSV file is too large and contains more cells or columns than is allowed – unfortunately, in such a case, there’s no way to import such a file into Google Sheets. To deal with this issue, you might try splitting your dataset into several CSV files and then exporting them separately. 

If this is not an option – then, maybe, Google Sheets is not such a good fit for your needs. You can consider working with Excel instead as it can handle much bigger files.

How to use CSV data imported to Google Sheets: Income monitor based on a CSV report

We have a database system, which generates a CSV report. We’ve been inspired by the Railsware video: “How to track income” and decided to build our own real-time income monitor. For this, the data has to be updated as frequently as possible. 

So, first, we set up a CSV importer in Coupler.io, which will update our data every hour. Once the raw data is in the spreadsheet, we can use the power of Google Sheets: two formulas and a Geo chart to tailor a simple income tracker.

Now, with the automatic data refresh, your chart will update every hour, like this:

Why convert CSV into spreadsheets?

The CSV, which stands for comma-separated values, is mostly a go-between data format. It is supported by versatile apps and most databases. Here is how it usually works:

  • you export data from a source app into a CSV file 
  • you import the CSV file to a target app 

In our case, Google Sheets is the target app. Users opt for this multifunctional tool to handle calculation-centered and data visualization tasks. Entrepreneurs and small business owners do budgeting, accounting, and tax calculations in spreadsheets. Data analysts build custom reporting and versatile performance dashboards. You might have your own use case and reasons to automate CSV import to Google Sheets. Now, let’s discover how this can be done in less than 5 minutes of your time.

Easily import CSV to Google Sheets in minutes

When routine tasks are automated, this lets you focus on other valuable jobs that need to be done. Thus, you save your time and increase your efficiency. Coupler.io was specifically designed to make this happen. You’ll only need to spend less than 5 minutes on the installation and setup. After that, you’ll get a fully automated CSV data importer, which you can use for your project. You will only need to set up the importer once, and after that, Coupler.io will import CSV to Google Sheets automatically according to your schedule. You may also be interested in other integrations available with the use of the CSV importer: Clockify to Google Sheets and Jira Server to Google Sheets.

Automate data import to Google Sheets with Coupler.io

Get started for free