Open and edit CSV files online
Open CSV and TSV files in your browser, choose each column's type so leading zeros and dates stay right, then edit and save CSV or XLSX. Free, no upload.
Try a CSV with leading zeros and long IDs
Try the example in Sheets Download the example CSV
The three fictional orders include 00127, postcode 02108, long ID 123456789012345678 and the ambiguous date 03/04/2026. You can check what the importer keeps before using a real file.
- Choose Try the example in Sheets to open the import preview. For your own CSV, open Sheets and choose File › Open file….
- Leave the ID, postcode and date columns as Safe automatic, or explicitly choose Text. Choose Number for Quantity and Unit price if you want to calculate with them.
- On Review and import, check that the leading zeros and all 18 ID digits remain. Import as a new workbook.
- Export XLSX to keep the workbook, or CSV for plain values. A CSV file carries no column-type metadata: when reopening it in any spreadsheet, check the import types again.
How to open a CSV file
- Open Sheets and choose File › Open file…, then the .csv or .tsv file.
- File format: check the delimiter — suggested from the first rows: comma, semicolon, tab, pipe or a character of your own — and the text encoding: UTF-8, UTF-16 or Windows-1252.
- Column types: leave a column on Safe automatic, which keeps leading zeros, IDs and formula-like text as they are, or set it to Text, Number, Date or Formula. Set the decimal and thousands separators and the date order if the file needs them.
- Review and import, then Import as new workbook.
- Edit, sort and filter, then File › Export… as CSV, TSV, XLSX or ODS.
Why the column types matter
A CSV file is only text. Opened carelessly, postcodes and order numbers lose their leading zeros, long IDs turn into rounded numbers, 03/04 becomes the wrong date and text starting with = runs as a formula. Sheets shows a preview of the first 50 rows and 12 columns with the types you chose before anything is imported, and its Safe automatic type keeps such values as text.
The first row is never dropped; tick Keep first row as literal headers to keep it as plain text headings.
Saving CSV, or converting to XLSX
- CSV and TSV exports hold the current sheet's calculated values, in UTF-8 with a byte-order mark and Windows line ends; text that looks like a formula is escaped so it can't run when opened elsewhere.
- Raw CSV formulas writes the formulas you typed instead of their results.
- XLSX and ODS keep every sheet, its formulas and formats (see Open and edit XLSX files online).
Limits
Files up to 50 MiB and 100,000 fields, blank ones included — 10,000 rows of 10 columns, for example —, up to 100,000 rows, 1,024 columns and 32,767 characters in a field. A CSV export writes up to 100,000 cells of one sheet.
At a glance
- Opens
- CSV and TSV with any delimiter; UTF-8, UTF-16 and Windows-1252
- Saves
- CSV, TSV, XLSX and ODS
- Size
- Up to 100,000 fields and 50 MiB
- Price
- Free, no account
- Your data
- Read in your browser and never uploaded
Questions
Will leading zeros survive?
Yes, with the Safe automatic or Text type for that column.
My file uses semicolons. Will it open?
Yes. The delimiter is suggested from the first rows; choose Semicolon if it isn’t.
Can I open a CSV with a million rows?
No. Sheets imports up to 100,000 fields, blank ones included.
Does a CSV export include every sheet?
No, only the current sheet. Export XLSX or ODS to keep every sheet.
Are formulas exported to CSV?
Their results are. Choose Raw CSV formulas to export the formulas themselves.
Can I convert a CSV to XLSX?
Yes: open the CSV, then File › Export… › XLSX.
Is my data uploaded?
No. The file is read and converted in your browser tab.
More guides
- Open and edit XLSX files onlineOpen XLSX and ODS spreadsheets in your browser, edit values and formulas with 104 functions and save XLSX again. Free, no account, nothing uploaded.
- Make a flowchart onlineMake a flowchart in your browser: drag shapes from the flowchart set, connect them with arrows that follow, and export PNG, SVG or PDF. Free, no account.