To create a CSV file, type your data into a Google Sheet with the column names in row 1, then click File > Download > Comma Separated Values (.csv). The file saves to your Downloads folder in a few seconds, and it is free.
TL;DR
- Open a new Google Sheet at sheets.new.
- Type your column names in row 1 and your data in the rows below.
- Click File > Download > Comma Separated Values (.csv).
What you need
- A Google account. Google Sheets is free.
- Your data. A contact list, a product list, anything that fits in rows and columns.
I’m using a small contact list with four columns: Name, Email, City and Notes.
Step 1: Open a new Google Sheet
- Type sheets.new in your browser’s address bar and press Enter.
- A blank spreadsheet opens. Click the name at the top left and give it a name.

The name matters a little. Google uses it for the file name of your CSV.
Step 2: Type a header row and your data
- Click cell A1 and type your first column name. Press Tab to move to the next column.
- Fill in the rest of row 1 with your column names. This is your header row.
- Press Enter and type one record per row underneath.

Keep it simple. One header row, no blank rows, no merged cells, no totals at the bottom. Whatever is on the tab is what goes in the file.
Step 3: Download it as a CSV
- Click File in the menu.
- Hover over Download.
- Click Comma Separated Values (.csv).


That’s it. The CSV file is in your Downloads folder. Mine was named “Blog - how to create a CSV file - Sheet1.csv”, which is the spreadsheet name, a dash, then the tab name.
What’s inside the CSV file
A CSV file is plain text. Open it in any text editor and you’ll see one line per row, with a comma between each column.

Look at the first contact’s note: “Prefers email, not calls”. That cell has a comma in it, so Google Sheets put quotes around it. The quotes tell whatever opens the file that this comma is part of the text and not the start of a new column. You don’t have to do anything. It happens on its own.
How to open a CSV file in Google Sheets
Going the other way takes about the same number of clicks.
- Open a Google Sheet. A new one from sheets.new is fine.
- Click File > Import.
- In the Import file window, click the Upload tab.
- Click Browse and pick your CSV file, or drag the file into the window.
- Sheets asks where to put the data, for example in a new spreadsheet or in the sheet you have open. Pick one and confirm the import.


Each comma becomes a column break and each line becomes a row.
Common problems
- Only one tab downloaded. A CSV file holds one table. Google Sheets downloads the tab you’re looking at and nothing else. If you have three tabs, click each tab and download three files.
- Formatting is gone. Bold, colors, column widths and frozen rows are not saved. A CSV is only the text in the cells.
- Formulas are gone. The CSV keeps the result of each formula and drops the formula itself.
- Leading zeros disappeared. If you type 02134 into a cell, Sheets treats it as the number 2134. Format the column as plain text before you type (Format > Number > Plain text) and the zeros stay.
- Blank columns or rows in the file. Something is sitting in a cell far from your data, often a stray space. Delete the extra rows and columns and download again.
Questions people ask
What is a CSV file?
CSV stands for comma separated values. It’s a plain text file where each line is a row and commas split the row into columns. Almost every app that handles data can read one, which is why email tools, online stores, CRMs and banks all ask for it.
Does a CSV save all the tabs in my Google Sheet?
No. It saves only the tab you have open when you click Download. Download each tab on its own.
Why do my leading zeros disappear?
Because the spreadsheet reads 02134 as a number, and numbers don’t start with zero. Set the column to plain text before you type the values. When you import a CSV into Sheets, the import window has a checkbox for converting text to numbers and dates. Untick it to keep ZIP codes and ID numbers exactly as they are in the file.
How do I make a CSV file in Excel?
Click File > Save As and choose CSV in the file type list. Like Sheets, Excel saves only the active sheet.
Can I make a CSV file without a spreadsheet?
Yes. Open a plain text editor such as Notepad or TextEdit, type your values with commas between them, one row per line, and save the file with a name that ends in .csv. A spreadsheet is easier once you have more than a few rows, because it adds the quotes for you.
Is a CSV file the same as an Excel file?
No. An Excel file (.xlsx) keeps formatting, formulas and many sheets. A CSV keeps only the values from one sheet. That’s also why a CSV is small and opens anywhere.
Skip the download with a CSV link
If people keep asking you for the latest CSV of the same sheet, you don’t have to download and send it each time. Paste your sheet’s link into the free CSV link tool at Better Sheets. It gives you a link that downloads the sheet as a CSV whenever someone clicks it, always with the current data. The sheet has to be shared as “Anyone with the link” for it to work.