All posts
Published at Tue Jul 23 2024 in
For Teams

How to Import CSV Files in Google Sheets [2024]

Alberto Manassero
Alberto Manassero, Product Growth Manager, Rows
How to Import CSV into Google Sheets-min

CSV files are like simple, organized lists. They store information in rows and columns, making them easy to share between different applications.

While many people now connect their tools directly to get data, sometimes a CSV is still the go-to. Maybe you have a one-off report or need to work with data offline.

Read this guide to learn how to quickly import your CSV data into Google Sheets.

What is a CSV?

Comma-Separated Values (CSV) files are a common format for exchanging data, as they are simple, lightweight, and compatible across different software and platforms. Google Sheets lets you import CSV files and work with the data in a familiar spreadsheet format.

See an example of CSV in plain text,

CSV plain text

In this example, each line in a CSV file corresponds to a row of data, while commas separate individual values (columns). To view this data in a spreadsheet format, open the CSV file in Google Sheets.

CSV google sheet ex1

The spreadsheet where data comes to life

The spreadsheet where data comes to life

Connected to your business data. Powered by AI. Delightful to share.

Try Rows for Free

What are the Different Methods to Import CSV into Google Sheets?

There are several methods to import CSV files into Google Sheets, each catering to different user needs and preferences.

Some of the most common common methods include:

  • Manual Upload from Computer

  • Google Drive Method

  • Via URL and

  • Third-Party Integrations

Method 1: Manual Upload from Computer

On Google Sheets, Click on the “File” menu at the top left corner of the screen.

method 1 pt 1

Scroll and tap on ‘Import’, Click on the "Upload" tab.

method 1 pt 2

Browse your local storage and select the CSV file you want to upload.

Use the search bar to locate your desired CSV file. Once found, select the file. Finally, choose the import location for the CSV file.

Once you select the file selected, you'll see the Import file settings window. This lets you pick how you want to import the file. Here is a list of the possible locations.

  • Create a new spreadsheet: Create a new Google Sheet with the imported data.

  • Insert new sheet(s): Adds the data as a new sheet in the current Google Sheet.

  • Replace spreadsheet: Replaces all the data in the current Google Sheet with the imported data.

  • Replace current sheet: Replaces the data in the current sheet with the imported data.

  • Append to the current sheet: Adds the imported data below the existing data in the current sheet.

method 1 pt 3

The dropdown menu provides various options for appending and merging data. But, manually applying these options with each upload is time-consuming and can introduce errors into the dataset.

You can also specify the separator type before importing the CSV data. But avoid changing this setting unless the CSV file uses a separator other than a comma.

method 1 pt 4

After configuring the import settings, click on the "Import data" button. This will upload the CSV file in the Google Sheet based on the selected import option.

method 1 pt 5

Review the data to ensure it has been imported correctly. Check for any discrepancies or formatting issues.

Method 2: Import from Google Drive

This is one of the easiest manual ways to import CSV files to Google spreadsheets.

Navigate to the Google Drive home screen.

Then click “New”.

method 2 pt 1

method 2 pt 2

Click on File upload, and you select the CSV you want to upload. This will upload the CSV file directly to your Google Drive.

method 2 pt 3

Next, click the newly uploaded CSV file.

method 2 pt 4

This will open a view-only preview of the CSV file.

method 2 pt 5

Scroll to the the “Open with” drop-down and then choose Google Sheets.

method 2 pt 6
method 2 pt 7

Once you click, “Google Sheets”, it will import the CSV data into a new Google spreadsheet.

method 2 pt 8

Alternatively, you can import a .csv file directly on a new spreadsheet. To do so open a new spreadsheet and click on “File”.

method 2 pt 9

Select “Import” from the list.

method 2 pt 10

Select a CSV file from Google Drive or upload one directly from your device. Use the search bar to locate the desired CSV. Click "Insert" once you've found the correct CSV.

method 2 pt 11

Set the import location from the drop-down list.

Some of the options include:

  • Create new spreadsheet

  • Insert new sheet(s)

  • Replace spreadsheet

  • Replace current sheet

  • Append to the current sheet

  • Replace data at the selected cell

method 2 pt 12

The default separator is a comma. Only change this if you know the CSV uses a different separator (like a tab or semicolon).

method 2 pt 13

Finally, click “Import data”.

method 2 pt 14

Cons of Using Google Drive to Import CSV Files

Although this is a quick way to import CSVs into Google Sheets, the method is only suited for one-time uploads that require no customizations. Google Sheets does not allow you to:

  • Choose CSV columns to import with point-and-click functionality: The lack of point-and-click functionality to choose specific CSV columns means you have to import the entire file. This can be inefficient if you only need certain columns, especially for large datasets. It may require additional steps to remove unwanted columns after import.

  • Dynamically filter data before importation: Without the ability to dynamically filter data before importation, you might end up with unnecessary data in your spreadsheet. This can clutter your workspace and potentially slow down your sheet if dealing with large datasets.

  • Automatically update data when a CSV file changes: The fact that data doesn't automatically update when the source CSV changes means you need to manually re-import the file each time there's an update. This can be time-consuming and prone to errors, especially if you're dealing with frequently updated data.

Method 3: Import CSV via URL through IMPORTDATA

The next method involves finding the CSV URL and using IMPORTDATA syntax to import it in Google sheets:

How to find the URL of a CSV file

This URL should end with ".csv" or lead directly to the file download.

To find the direct URL to a CSV file, follow these steps:

  • Locate the CSV file on the website or platform where it's hosted. If it’s on

    Google Drive, search for the CSV file.

method 3 pt 1
  • If it's not hosted you can follow the steps earlier on how to import CSV on Google Drive.

When the file opens, scroll to the share button and click.

method 3 pt 2

Navigate to General access. And change from Restricted to “Anyone With Permission”

method 3 pt 3

This option allows your file to be publicly available.

Next select "Copy link address" or a similar option.

method 3 pt 4

Paste the copied URL into a text editor or browser address bar to examine it.

The URL should end with ".csv" or contain parameters that indicate it's a direct download link. Test the URL in a browser to confirm it downloads or displays the CSV content correctly.

How to Use IMPORT DATA to import CSV file in Google Sheets

You can import a CSV file in Google Sheets, with just a URL, using the IMPORTDATA Function.

The formula for this is =IMPORTDATA("CSV_URL").

To get started, Open a new Google Sheet or use an existing one.

In a cell, enter the formula to fetch the CSV data, replacing ‘CSV_URL’ with the actual URL of the CSV file

=IMPORTDATA(“CSV URL “)

method 3 pt 5

After typing the syntax, press the “enter tab”. Once done, your data will be arranged in the spreadsheet automatically.

method 3 pt 6

To refresh the data, you'll need to manually update the formula or use the “Data" -> ‘Refresh all’ option.

Cons of IMPORTDATA Function

While the IMPORTDATA function is a simple way to import CSV data into Google Sheets, it has some limitations:

  • CSV file must be publicly accessible

This CSV file must be hosted on a publicly available URL for the IMPORTDATA function to work, making it unsuitable for private files and confidential purposes.

  • No way to filter or customize data

You can't apply any data transformations or filters before importing the CSV data.

  • Requires manually refreshing formula

The data won't update automatically, and you'll need to manually refresh the formula to get the latest information.

Drawbacks of Using Google Sheets for Importing CSV

  • Missing Automation

To import csv in Google Sheets is manual and time consuming. Whether it is through a command or formula, Google sheets misses automation to import data directly from third party data sources into the spreadsheet.

  • Poor version controlling

Google Sheets lacks robust version control for imported CSV data. This makes tracking changes, reverting to previous versions, or managing multiple data iterations difficult, potentially leading to data inconsistencies or loss of valuable historical information.

  • No refresh

Google Sheets, while versatile in many aspects, lacks a built-in refresh feature for importing CSV files. This limitation stems from the nature of CSV files themselves, which are essentially static snapshots of data at a given point in time. Even made worse with Google Sheets limited capability to automate refreshes.

The spreadsheet powered by AI

The spreadsheet powered by AI

Access the power of AI to analyze, summarize and transform data. Build better spreadsheets, faster.

Try Rows for Free

How to Use Rows to Import CSV?

rows csv

Rows is a comprehensive spreadsheet for modern teams that offers a tidier UI, automated data ingestion capabilities, and native AI features capabilities (AI Analyst, AI-generated subtitles, native AI functions) that make reporting more accessible and faster.

Rows allows you to import CSV files using two simple methods

Method 1

With this method, you can directly import your CSV file.

After opening your workspace, click “Import” in the top-right of the screen.

In the dialog that appears, upload your CSV/XLSX/XLS/TSV file and select a destination folder.

Method 2

This is the drag & drop method. You do this by simply dragging a CSV file directly on the grid of your spreadsheet. You can then choose to import the data as a new table in the spreadsheet or as a new spreadsheet in your workspace.

rows csv method 2

But most importantly, Rows lets you solve the same IMPORTDATA use case via built-in connections to external data sources. With 50+ data integrations you can pull live data from ads platform, analytics tools and databases and render it directly on the grid.

Let's see how they work.

How is Rows different compared to Google Sheets?

Data aggregation and automation

You are a marketer, a product manager, or a data analyst, and chances are you frequently import CSV files from various data sources for analytical and reporting purposes. This process can be particularly time-consuming due to the manual tasks involved and the need to check for potential data discrepancies.

With Rows, you can import live data from 50+ sources, thanks to built-in API data integrations in various domains:

  • Marketing: GA4, GSC, Facebook, Instagram, TikTok e.t.c

  • Productivity software: OpenAI, Notion, Slack, Email, Translate

  • Data Warehouse: MySQL, BigQuery, PostgreSQL, Snowflake, Amazon Redshift

  • And many more.

Want to learn how to import live data from GSC? Watch the video embedded below:

Additionally, if the source you want to pull data from is not in our catalog, you can create custom connections via our HTTP functions: GET, POST, PUT, PATCH, which makes the catalog of integrable tools virtually infinite. Try it out in our HTTP tester below

Easy manipulation

After you imported a CSV, or live data from one of our integrations, you can manipulate it how you like without hassle. The setup and the maintenance on Rows are easy and quick because they leverage familiar spreadsheet features and structure:

  • Use our AI functions, like APPLY_TASK_OPENAI and EXTRACT_OPENAI, and leverage natural language to automate complex cleansing and mining tasks, and get your table ready to be analyzed.

  • If you want to plot your CSV to existing data, you can do it by just importing directly to an existing spreadsheet. Additionally, if you want to add a column in any table with a calculated metric that is not included in the data source, all you need to do is to use regular spreadsheet formulas, like VLOOKUP or SUMIFS.

  • If you want to apply specific (conditional) formatting, freeze a row, or in the CSV table, you do so as in any regular spreadsheet.

The spreadsheet where data comes to life

The spreadsheet where data comes to life

Connected to your business data. Powered by AI. Delightful to share.

Try Rows for Free

Get started with Rows

Importing CSV files into a spreadsheet just got easier and better with Rows. Plus, we showed how you can import live data from many data sources in your tech stack and automatically refresh them on the go.

With Rows.com, you can easily manipulate your data using our built-in AI analyst. And, of course, we offer you a variety of dashboard templates to meet your everyday business tasks.

Ready to get started with Rows.com? Start using the product right away for free.