How to Convert CSV to Google Sheets (Import & Open)
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 PDFCSV (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
- Go to drive.google.com
- Click New → File upload
- Select your CSV file
- Once uploaded, double-click to open
- Choose Open with Google Sheets
The CSV converts to a Google Sheet automatically.
From Google Sheets
- Go to sheets.google.com
- Click Blank to create new sheet
- Go to File → Import
- Select Upload tab
- Drag your CSV or click Browse
- Choose import options (see below)
- Click Import data
Method 2: Import into Existing Sheet
To add CSV data to an existing Google Sheet:
- Open your existing Google Sheet
- File → Import
- Upload your CSV
- 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:
| Option | Use When |
|---|---|
| Comma | Standard CSV files |
| Tab | TSV files or tab-separated |
| Custom | Other delimiters like semicolon |
| Automatic | Let 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
- Open email with CSV attachment in Gmail
- Click the attachment
- Click Open with Google Sheets icon
- Sheet opens with your data
Formatting After Import
Auto-Resize Columns
Select all (Ctrl/Cmd + A) → Double-click any column border
Format as Table
- Select your data range
- Format → Alternating colors
- Choose a style
Add Filters
- Select header row
- Data → Create a filter
- Filter icons appear in headers
Format Numbers
- Select number columns
- Format → Number
- Choose format (currency, percentage, etc.)
Format Dates
- Select date columns
- Format → Number → Date
- Or custom: Format → Number → More formats → Custom
Troubleshooting Common Issues
Data All in One Column
Cause: Wrong separator detected
Fix:
- Data → Split text to columns
- Choose correct separator
- Or re-import with manual separator setting
Numbers Showing as Text
Cause: Import didn't convert text to numbers
Fix:
- Select the column
- Format → Number → Automatic
- Or use:
=VALUE(A1)to convert
Dates Not Recognized
Cause: Date format doesn't match locale
Fix:
- Select date column
- Format → Number → Date
- Or reformat source CSV to YYYY-MM-DD
Special Characters Look Wrong
Cause: Encoding issue (usually UTF-8 vs Latin-1)
Fix:
- Open CSV in text editor
- Save as UTF-8 encoding
- Re-import to Google Sheets
Leading Zeros Disappear
Example: ZIP code "01234" becomes "1234"
Fix before import:
- Add apostrophe in CSV: '01234
- Or format column as Plain Text before pasting
Large File Won't Upload
Limit: Google Sheets supports up to 10 million cells
Solutions:
- Split CSV into smaller files
- Remove unnecessary columns
- Use BigQuery for very large data
Exporting Google Sheets to CSV
To convert back to CSV:
- Open your Google Sheet
- File → Download → Comma-separated values (.csv)
- 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:
- Upload your CSV file
- View formatted table instantly
- No account required
Share CSV as Link
- Import to Google Sheets
- Share → Get link
- 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
- Remove blank rows: Data → Data cleanup → Remove blank rows
- Remove duplicates: Data → Data cleanup → Remove duplicates
- Trim whitespace:
=TRIM(A1)
Alternatives to Google Sheets
If Google Sheets doesn't work for you:
| Tool | Best For | Limit |
|---|---|---|
| Google Sheets | Collaboration | 10M cells |
| Excel Online | Microsoft ecosystem | 5M cells |
| LibreOffice | Desktop, free | No limit |
| CSV Viewer | Quick view | View 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:
- Get the direct download link
- Use
=IMPORTDATA("url") - 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:
- File → Import
- Upload your CSV
- Choose import options
- 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