CSV to Excel Converter
Convert CSV to an Excel .xlsx workbook: paste CSV text or open a .csv file, check the preview, and download. Leading zeros, long ID numbers and accented characters arrive exactly as written, and nothing is uploaded.
- Runs in your browser
- Free
- No sign-up
How to Convert CSV to Excel
- Open a .csv or .txt file, or paste the delimited text into the input box.
- Check the preview and change the delimiter if commas, semicolons, or tabs were not detected correctly, or the encoding if accented letters look wrong.
- Choose a download name, then select Download Excel to create the .xlsx workbook.
- Open the workbook and convert the columns you need to calculate with to numbers or dates (see below); leave codes and IDs as text.
What Excel Does to a CSV, and What This Converter Does Instead
A CSV is plain text with no cell types. When you double-click one, Excel guesses a type for every field as it opens the file, and some of those guesses change the data before you have seen it. This converter does not guess: every field is written to the .xlsx as a text cell, exactly as it appears in the CSV.
| In the CSV | Opened directly in Excel | Converted here |
|---|---|---|
00123 (ZIP code, SKU, account number) | 123 - the leading zeros are gone | 00123 |
1234567890123456 (card or account number) | 1.23457E+15, and every digit after the fifteenth becomes 0 | 1234567890123456 |
1-2 or MARCH1 (part codes, gene names) | Converted to dates | 1-2, MARCH1 |
Café in a UTF-8 file with no byte order mark | Café on Windows, which reads the file in its own code page | Café |
a;b;c from a semicolon export | Everything in column A unless your list separator is a semicolon | Three columns, found by auto-detect |
Microsoft 365 can switch some of these conversions off under File → Options → Data → Automatic data conversion, but the setting belongs to one copy of Excel; the next person who double-clicks the file gets the guessing back. A converted .xlsx carries its text cells with it.
Numbers Arrive as Text: How to Make a Column Calculate
The price of not guessing is that a column of amounts is text too. Excel marks those cells with a green triangle, and SUM and AVERAGE skip them. Convert only the columns that are really quantities:
- Select the column, open the warning icon beside it and choose Convert to Number.
- Or select the column and use Data → Text to Columns → Finish; in the last step you can also mark a column as a date and pick its order (MDY, DMY).
- Or run the downloaded workbook through Convert Text to Number, which handles currency signs, percentages and decimal commas and leaves zero-padded codes alone.
CSV to XLSX or CSV to XLS?
The download is an .xlsx workbook with one sheet named CSV. That is the format Excel has used since 2007, and Google Sheets, LibreOffice and Numbers all open it. An .xlsx sheet holds 1,048,576 rows and 16,384 columns, and a cell holds 32,767 characters; a CSV longer than that is cut at the last row a sheet can hold, and an oversized field is shortened to fit. If an older system only takes the Excel 97-2003 format, convert the result with XLSX to XLS, which caps a sheet at 65,536 rows.
Converting several files gives you one .xlsx per CSV in a ZIP. To put them in one workbook, one sheet per file, use Excel Merge.
Importing a CSV in Excel Itself
If you would rather stay in Excel, do not double-click the file. Use Data → From Text/CSV, choose the file, then select Transform Data and set the type of each column (Text for codes and IDs) before loading it. That route also lets you pick the file origin when the encoding is not detected. A CSV can hold only one table of values; XLSX adds workbook features such as multiple sheets, formatting, formulas, and explicit cell types.
What's next?
Keep going with one of these tools.
Frequently Asked Questions
Open the .csv file or paste its text into the box above, check the preview, and select Download Excel. The download is an .xlsx workbook with one sheet named CSV, which opens in Excel 2007 or later, Google Sheets, LibreOffice and Numbers.
Double-clicking a .csv lets Excel guess a type for every field, and 00123 looks like the number 123, so the zeros go. The same guessing shows a 16-digit card or account number as 1.23457E+15 and replaces every digit after the fifteenth with 0, and turns text such as 1-2 or MARCH1 into dates. This converter writes every field as a text cell instead, so the workbook holds exactly what the CSV held.
Not straight away. Because every field arrives as text, Excel marks numeric-looking cells with a green triangle and SUM skips them. Select the column, open the warning icon and choose Convert to Number, or run the workbook through the Convert Text to Number tool. Convert only the columns that really are quantities, and leave codes and IDs as text so their zeros stay.
Yes. The converter is free, does not require signup, and runs entirely in your browser.
No. CSV parsing and Excel file generation happen locally in your browser.
Comma, semicolon and tab. Auto-detect is on by default and looks at the first rows, ignoring separators inside quotes, so a quoted "Paris, France" in a semicolon file does not fool it. Semicolon files are what Excel saves in countries that write decimals with a comma. For pipe- or caret-separated text, use TXT to Excel.
Yes. Quoted commas, escaped quotes, and newlines inside quoted cells are supported.
The encoding is worked out from the file's bytes: a byte order mark first, then UTF-16 without one, then UTF-8, then Windows-1252. If names such as Zoë or Café still look garbled in the preview, choose the encoding by hand under File encoding and the file on screen is read again with it. The .xlsx stores text as Unicode, so the characters stay right in whatever program opens it.
Yes. Select more than one file and each becomes its own .xlsx, downloaded together as a ZIP; the delimiter, encoding and trim settings apply to every file. To get them into one workbook as separate sheets, put the results through Excel Merge.
This page writes .xlsx only. If an older system insists on the Excel 97-2003 .xls format, convert the downloaded workbook with XLSX to XLS, and keep in mind that an .xls sheet holds at most 65,536 rows against 1,048,576 in an .xlsx.