How to Convert CSV to Google Sheets (Import & Open)

6 min read

Learn how to import CSV files into Google Sheets. Covers upload methods, formatting options, and troubleshooting common issues.

Try it yourself

Use our free excel to pdf tool to do this instantly — no signup required.

Excel to PDF

CSV (Comma-Separated Values) files are universal data formats. Here's how to open and convert them to Google Sheets for editing and analysis.

What is a CSV File?

A CSV file is a plain text file containing data separated by commas:

Name,Email,Department
John Smith,john@example.com,Sales
Jane Doe,jane@example.com,Marketing

CSV files are:

  • Universal (works with any spreadsheet app)
  • Lightweight (small file size)
  • Simple (just text, no formatting)

Method 1: Open CSV Directly in Google Sheets

From Google Drive

  1. Go to drive.google.com
  2. Click New → File upload
  3. Select your CSV file
  4. Once uploaded, double-click to open
  5. Choose Open with Google Sheets

The CSV converts to a Google Sheet automatically.

From Google Sheets

  1. Go to sheets.google.com
  2. Click Blank to create new sheet
  3. Go to File → Import
  4. Select Upload tab
  5. Drag your CSV or click Browse
  6. Choose import options (see below)
  7. Click Import data

Method 2: Import into Existing Sheet

To add CSV data to an existing Google Sheet:

  1. Open your existing Google Sheet
  2. File → Import
  3. Upload your CSV
  4. Choose import location:
    • Replace spreadsheet - Replaces all data
    • Insert new sheet(s) - Adds as new tab
    • Replace data at selected cell - Inserts at cursor
    • Append to current sheet - Adds below existing data

Import Options Explained

Separator Type

Google Sheets usually auto-detects, but you can specify:

OptionUse When
CommaStandard CSV files
TabTSV files or tab-separated
CustomOther delimiters like semicolon
AutomaticLet Google detect

Convert Text to Numbers/Dates

  • Yes - Converts "123" to number 123, "2024-01-15" to date
  • No - Keeps everything as text

Usually choose Yes unless you need to preserve exact text format.

Method 3: Using URL Import

Import CSV directly from a web URL:

=IMPORTDATA("https://example.com/data.csv")

This creates a live connection - data updates when the source changes.

Example:

=IMPORTDATA("https://raw.githubusercontent.com/user/repo/data.csv")

Method 4: From Email Attachment

  1. Open email with CSV attachment in Gmail
  2. Click the attachment
  3. Click Open with Google Sheets icon
  4. Sheet opens with your data

Formatting After Import

Auto-Resize Columns

Select all (Ctrl/Cmd + A) → Double-click any column border

Format as Table

  1. Select your data range
  2. Format → Alternating colors
  3. Choose a style

Add Filters

  1. Select header row
  2. Data → Create a filter
  3. Filter icons appear in headers

Format Numbers

  1. Select number columns
  2. Format → Number
  3. Choose format (currency, percentage, etc.)

Format Dates

  1. Select date columns
  2. Format → Number → Date
  3. Or custom: Format → Number → More formats → Custom

Troubleshooting Common Issues

Data All in One Column

Cause: Wrong separator detected

Fix:

  1. Data → Split text to columns
  2. Choose correct separator
  3. Or re-import with manual separator setting

Numbers Showing as Text

Cause: Import didn't convert text to numbers

Fix:

  1. Select the column
  2. Format → Number → Automatic
  3. Or use: =VALUE(A1) to convert

Dates Not Recognized

Cause: Date format doesn't match locale

Fix:

  1. Select date column
  2. Format → Number → Date
  3. Or reformat source CSV to YYYY-MM-DD

Special Characters Look Wrong

Cause: Encoding issue (usually UTF-8 vs Latin-1)

Fix:

  1. Open CSV in text editor
  2. Save as UTF-8 encoding
  3. Re-import to Google Sheets

Leading Zeros Disappear

Example: ZIP code "01234" becomes "1234"

Fix before import:

  1. Add apostrophe in CSV: '01234
  2. Or format column as Plain Text before pasting

Large File Won't Upload

Limit: Google Sheets supports up to 10 million cells

Solutions:

  1. Split CSV into smaller files
  2. Remove unnecessary columns
  3. Use BigQuery for very large data

Exporting Google Sheets to CSV

To convert back to CSV:

  1. Open your Google Sheet
  2. File → Download → Comma-separated values (.csv)
  3. Current sheet downloads as CSV

Note: Only the active sheet exports. Formatting is lost.

Working with CSV Online

View CSV Without Google Account

Use LinkyHost CSV Viewer:

  1. Upload your CSV file
  2. View formatted table instantly
  3. No account required

Share CSV as Link

  1. Import to Google Sheets
  2. Share → Get link
  3. Or upload to LinkyHost

Automating CSV Imports

Google Apps Script

Auto-import CSV on schedule:

function importCSV() {
  var url = "https://example.com/data.csv";
  var data = UrlFetchApp.fetch(url).getContentText();
  var csv = Utilities.parseCsv(data);
  
  var sheet = SpreadsheetApp.getActiveSheet();
  sheet.clear();
  sheet.getRange(1, 1, csv.length, csv[0].length).setValues(csv);
}

IMPORTDATA Function

For live data that updates automatically:

=IMPORTDATA("https://example.com/data.csv")

Refreshes approximately every hour.

CSV Best Practices

Creating CSVs for Import

  • Use UTF-8 encoding
  • Include header row
  • Use consistent date formats (YYYY-MM-DD)
  • Escape commas in data with quotes
  • Avoid special characters in headers

Cleaning Data After Import

  1. Remove blank rows: Data → Data cleanup → Remove blank rows
  2. Remove duplicates: Data → Data cleanup → Remove duplicates
  3. Trim whitespace: =TRIM(A1)

Alternatives to Google Sheets

If Google Sheets doesn't work for you:

ToolBest ForLimit
Google SheetsCollaboration10M cells
Excel OnlineMicrosoft ecosystem5M cells
LibreOfficeDesktop, freeNo limit
CSV ViewerQuick viewView only

FAQ

Can I import multiple CSV files at once?

Not directly. Import each one to separate sheets, then consolidate manually or with formulas.

Does importing CSV preserve formulas?

No, CSV is plain text. Formulas are stored as their result values.

How do I import CSV with different encoding?

Google Sheets usually handles this automatically. If not, convert the file to UTF-8 using a text editor first.

Can I import CSV from Dropbox/OneDrive?

Yes:

  1. Get the direct download link
  2. Use =IMPORTDATA("url")
  3. Or download and upload manually

Is there a file size limit?

Google Sheets supports files up to 10 million cells total. For larger data, use Google BigQuery or split the file.

Summary

To import CSV to Google Sheets:

  1. File → Import
  2. Upload your CSV
  3. Choose import options
  4. Click Import

Quick methods:

  • Drag CSV to Google Drive, open with Sheets
  • Use =IMPORTDATA("url") for web URLs
  • Open email attachment directly

For viewing only: Use LinkyHost CSV Viewer - no account needed

After import:

  • Format numbers and dates
  • Add filters
  • Create charts from your data