CSV to Excel (XLSX)
Double-click a CSV and Excel helpfully drops the zero from 01234, turns a 16-digit order number into 1.23457E+15 and mangles the accents. Convert it to .xlsx here and none of that happens.
How it works
- Drop your file in the box above, or click it to pick one.
- Pick the output format and press Convert.
- Download the result. Nothing was uploaded on the way.
Is it safe?
Shop and bank exports are what usually ends up as a CSV, and that's personal data. This one is turned into a workbook by your own browser without being sent anywhere.
Want to check? Open your browser DevTools, switch to the Network tab and convert a file. Or convert a small file once, because each converter downloads its code the first time, then go offline and convert your real file.
What it gets right that double-clicking doesn't
- Leading zeros stay. 01234, 007 and phone numbers starting with 0 are kept as text, exactly as written.
- Long numbers stay whole. Anything over 15 digits (card numbers, tracking codes, IDs) stays text, so Excel can't round off the last digits.
- Real numbers become numbers. 42, -3.5 and 1e6 are stored as numbers you can sum. That's the "Store numbers as numbers" option, on by default; switch it off and every cell stays text.
- The delimiter is found for you. Comma, semicolon, tab or pipe, read from the first line. Quoted fields with commas or line breaks inside are handled.
- The encoding is checked. UTF-8 (with or without a byte order mark) and UTF-16 are recognised. Anything else is read as Windows-1252, with a warning in case the letters look off.
What it leaves as it found it
Dates stay text, exactly as the file wrote them. 03/04/2024 could be March or April depending on who made the file, and guessing wrong is worse than not guessing. If you need real dates, use Excel's Text to Columns or DATEVALUE on that column afterwards.
Decimal commas (3,5) stay text too, since a comma can't be told apart from a thousands separator for sure. Text that looks like a formula, such as =SUM(A1:A3), goes in as text and doesn't run.
Where CSV files come from
Pretty much every system that has an Export button: online shops, bank statements, mailing list tools, survey sites, accounting software. CSV is the lowest common denominator, which is why it's everywhere and why it carries no formatting, no types and no clue about its own encoding. An .xlsx fixes that for whoever opens it next.
The workbook gets one sheet, named after the file. Files over Excel's 1,048,576 rows continue on a second sheet. Input can be up to 100 MB; roughly 5 million cells is the most the browser can pack into one workbook.
Questions about this format
Will my dates become real Excel dates?
No, they arrive as text, the way they're written in the CSV. Date formats differ by country, so the converter doesn't guess. Excel can turn the column into dates in a few clicks with Data > Text to Columns.
Why did Excel show my order numbers as 1.23E+15?
Excel treats long digit strings as numbers and only keeps 15 significant digits, so the end of the number is lost for good. In the converted file those values are stored as text, every digit intact.
My file is separated by semicolons. Do I need to change anything?
No. The separator is detected from the first line: comma, semicolon, tab and the | character all work.
Can several CSV files go into one workbook?
Not here; each CSV becomes its own workbook. You can copy the sheets into one file in Excel afterwards with Move or Copy.
Last updated: