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

Embed the CSV to Excel Converter on your site

Free, no sign-up and no ads. It runs in your visitors' browsers, so their data never leaves their computer.

How to Convert CSV to Excel

  1. Open a .csv or .txt file, or paste the delimited text into the input box.
  2. Check the preview and change the delimiter if commas, semicolons, or tabs were not detected correctly, or the encoding if accented letters look wrong.
  3. Choose a download name, then select Download Excel to create the .xlsx workbook.
  4. 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 CSVOpened directly in ExcelConverted here
00123 (ZIP code, SKU, account number)123 - the leading zeros are gone00123
1234567890123456 (card or account number)1.23457E+15, and every digit after the fifteenth becomes 01234567890123456
1-2 or MARCH1 (part codes, gene names)Converted to dates1-2, MARCH1
Café in a UTF-8 file with no byte order markCafé on Windows, which reads the file in its own code pageCafé
a;b;c from a semicolon exportEverything in column A unless your list separator is a semicolonThree 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

Related Tools