How to Convert CSV to Excel Without Losing Zeros, Dates or Numbers
Opening a CSV in Excel can strip leading zeros, mix up dates and leave numbers as text. Convert it to a proper .xlsx workbook instead, with real numbers and dates, in your browser.
By PickyPDF team · · 4 min read
A CSV file is just text: values separated by commas, one row per line. Excel can open one, but it has to guess what each value is, and it often guesses wrong:
- Leading zeros disappear. Zip code 02134 becomes 2134, and an ID like 007 becomes 7.
- Long numbers get rounded. A 16-digit card number or order ID turns into 4.11111E+15, and the last digits are lost.
- Dates get mixed up. 03/04/2026 is read as March or April depending on your computer, and some dates stay as text while others don't.
- European numbers break. 1.234,50 from a German or Spanish system may be read as text, or as the wrong number.
- Formulas can run. A cell starting with = is treated as a formula, which is a known way to slip harmful content into a spreadsheet.
The fix is to turn the CSV into a real Excel workbook (.xlsx), where every cell already has the right type. This guide shows how to do that for free with CSV to Excel, right in your browser, without uploading your file.
How to convert a CSV file to Excel
- Open CSV to Excel.
- Check the settings if you need to (see below). The defaults suit most files.
- Choose your CSV file, drop it onto the page, or paste the table. It can be a .csv, .tsv or .txt file.
- Look at the result. You see how many sheets and rows the workbook has, which columns became numbers, dates or TRUE/FALSE, and a preview of the first rows as Excel will show them.
- Click Download Excel file. You get an .xlsx workbook that opens in Excel, Google Sheets, LibreOffice and Numbers.
Real numbers and dates
With "Turn numbers, dates and TRUE/FALSE into real Excel values" ticked, each column is looked at as a whole:
- Numbers become real numbers you can add up and sort: 1,200.50 becomes 1200.5, and (12) becomes -12. Numbers like 1.234,50 are read the European way when the file uses them.
- Percentages stay percentages: 12.5% is stored as 0.125 and shows as 12.5%.
- Dates become real Excel dates you can sort, filter and do sums with. Dates written with numbers (31/01/2026, 2026-01-31, 31.01.2026), with month names (31 Jan 2026) and with a time after them all work, and they show in your Excel's own date style.
- TRUE and FALSE become Excel's own TRUE and FALSE.
A date like 03/04/2026 could be 3 April or 4 March. The converter looks at the rest of the column: a date such as 25/04/2026 shows the day comes first. If nothing decides it, it follows how your device writes dates, and you can choose "Day first" or "Month first" under "Dates like 03/04/2026".
A column only becomes numbers or dates when nearly all its values read that way. A stray "n/a" stays as text in its cell, and the rest of the column still works.
Untick the option to keep everything exactly as text, as it was in the CSV.
Zip codes, IDs and long numbers stay as they are
The converter never changes a value in a way that loses something:
- A column where any value starts with a zero, like 02134 or 007, stays text, so every zero is kept.
- Numbers with more than 15 digits, such as card numbers or long order IDs, stay text. Excel only keeps 15 digits, so it would change the rest.
- Values starting with +, such as phone numbers, stay text.
- Currency like $12 stays as written.
Safe to open
A cell that starts with = is written as plain text, never as a formula. Nothing inside a CSV can run when you open the workbook, even if the file came from someone else.
A sheet that's ready to use
With "First row is the column names" ticked, the first row is:
- bold,
- frozen at the top, so it stays in view while you scroll,
- given filter buttons on every column.
Every column is as wide as its values, and cells with line breaks show them on separate lines. If your file has no header row, untick the option and the first row is treated like the rest.
Several CSV files in one workbook
Choose up to 20 CSV files together and they become one Excel file with one sheet per CSV, each sheet named after its file. That's handy for monthly exports, or for tables from different systems that belong together.
Big files
Each file can be up to 50 MB. The file is read and written a piece at a time in your browser, so a large CSV doesn't slow the page down. On a typical computer, a 40 MB file with 450,000 rows takes about half a minute.
Excel allows 1,048,576 rows per sheet. A bigger file carries on in a second sheet ("sales (2)"), with the header row repeated, so no rows are lost. For even bigger files, cut them into parts first with Split CSV.
Separators and encodings
Commas, semicolons, tabs and pipes are found automatically, and so is the text encoding, including files saved by Excel on Windows. You can also choose the separator yourself.
Is it private?
Yes. The Excel file is made in your browser, and your CSV never leaves your device. That matters for customer lists, orders and payroll. Only a count of how many conversions you made today is sent to our server.
The downloaded file is named after yours, the tool and the date, for example sales-csv-to-excel-PickyPDF-2026-11-30.xlsx.
Related tools
- Messy data? Clean CSV removes extra spaces, duplicate and empty rows, and fixes dates and numbers before you convert.
- Need a printable table instead? CSV to PDF makes a PDF with the header on every page.
CSV to Excel is free and needs no sign-up.
Frequently asked questions
How do I convert a CSV file to Excel?
Open CSV to Excel and choose your CSV file or paste the table. It's converted at once; check the preview, then click Download Excel file to save the .xlsx workbook.
How do I keep leading zeros when converting CSV to Excel?
CSV to Excel keeps them for you: a column with a value like 02134 or 007 stays text, so every zero is kept. Long numbers with more than 15 digits and phone numbers starting with + stay text too.
Will my dates and numbers work in Excel?
Yes. Columns of numbers, dates, percentages and TRUE/FALSE become real Excel values you can add up, sort and filter. Untick the option to keep everything as text.
Can I convert several CSV files into one Excel file?
Yes. Choose up to 20 CSV files together and each becomes its own sheet in one workbook, named after the file.
What if my CSV has more than 1,048,576 rows?
The rest carries on in a second sheet with the header row repeated, so no rows are lost.
Is my CSV uploaded?
No. The Excel file is made in your browser and your data never leaves your device.