ToolWeb Logo
Menu
Home Tools Developer Tools CSV to Excel

CSV to Excel Converter (CSV to XLSX)

Turn CSV files into an Excel workbook without losing leading zeros, long ID numbers or accented letters. Drop one file or many, check the preview and download the .xlsx.

Drop CSV files here or click to choose

.csv, .tsv or .txt. Several files become one workbook with a sheet each. Nothing is uploaded.

How to use CSV to Excel

  1. 1

    Add your CSV. Drop one or more .csv, .tsv or .txt files on the upload area, click it to choose files, or paste CSV text. Try the sample file to see how it works.

  2. 2

    Check the preview. The first 100 rows appear as a grid. The delimiter and encoding are detected automatically and shown under Options, where you can change them if the columns look wrong.

  3. 3

    Pick the options. Keep "First row is a header" on to get a bold, frozen header with filter buttons. Keep "Numbers and dates as Excel values" on so Excel can add up amounts and sort dates, or turn it off to keep every cell as text.

  4. 4

    Download the Excel file. Click Download Excel. One CSV becomes one .xlsx with the same name. Several CSVs become one workbook with a sheet per file.

By · Last updated

Learn more about CSV to Excel

How to Convert CSV to Excel Without Losing Data

Double-clicking a CSV opens it in Excel, but Excel guesses each value's type as it reads. Zip codes and phone numbers lose their leading zeros, long ID numbers are rounded to 15 digits and shown as 4.11111E+15, and some text that looks like a date is changed into one. A semicolon-separated file from a European system can also land in a single column.

This converter writes a real .xlsx file instead. Each value goes into the workbook exactly as it is in the CSV. A column becomes numbers only when every value in it is a plain number such as 1249.50 or -3, so Excel can still add up an amount column while a zip code column stays text. A column of ISO dates such as 2026-11-02 or 2026-11-02 14:30 becomes real Excel dates. Dates written as 02/11/2026 stay text, because they could mean 2 November or 11 February.

CSV and Excel: What Is the Difference?

A CSV (comma-separated values) file is plain text: one line per row, with a separator between the values. It has no formatting, no types, no formulas and only one sheet, which is why almost every app can export it. An Excel .xlsx file is a zipped set of XML files that stores types, styles, several sheets, frozen panes and filters.

CSVExcel (.xlsx)
FormatPlain textZipped XML
SheetsOneMany
Number or textNot stored, guessed when openedStored per cell
Formatting, filters, frozen headerNoYes
Size limitNone1,048,576 rows × 16,384 columns per sheet
Why Is My CSV All in One Column?

The file uses a different separator from the one your Excel expects. Many European systems write semicolons because the comma is their decimal mark, and some exports use tabs or pipes. This tool checks the first lines of the file and picks the separator that splits them into the same number of columns. If the preview still looks wrong, open Options and choose the delimiter yourself.

Why Do Accented Letters Show as é or ?

The file was saved in one text encoding and opened as another. Files from older Windows apps are often Windows-1252, while most web apps write UTF-8. The converter tries UTF-8 first and falls back to Windows-1252 when the bytes don't fit, and it reads the byte-order mark that marks UTF-8 and UTF-16 files. If names still look garbled in the preview, pick another encoding under Options.

Converting Several CSV Files at Once

Drop all the files together, or add more later. Each file becomes its own sheet in one workbook, named after the file (Excel allows 31 characters and no [ ] : * ? / \ in a sheet name, so longer or unusual names are shortened). The download is named after the first file, for example january-and-2-more.xlsx. Use the sheet buttons above the preview to check each file before you download.

To go the other way, the Excel to JSON converter reads .xlsx and CSV files and turns them into JSON, and the Excel to XML converter exports a sheet as XML.

Frequently Asked Questions

How do I convert a CSV file to Excel?
Drop the CSV file on the upload area, check the preview and click Download Excel. You get an .xlsx file with the same name. The conversion runs in your browser, so the file is never uploaded.
Why does Excel remove the leading zeros from my CSV?
When Excel opens a CSV directly it guesses that 00501 is the number 501. This converter writes a real .xlsx where such values are stored as text, so zip codes, phone numbers and ID codes keep their leading zeros.
Why is my CSV in one column when I open it?
The file uses a separator your Excel doesn't expect, often a semicolon or a tab. The converter detects comma, semicolon, tab and pipe separators automatically, and you can choose one yourself under Options.
Can I combine several CSV files into one Excel workbook?
Yes. Drop several CSV files at once and the download is one .xlsx workbook with a sheet for each file, named after the file.
Is there a size limit?
Excel holds up to 1,048,576 rows and 16,384 columns per sheet, and the converter stops with a message if a file is larger. How big a file your browser can handle depends on your device's memory; files of tens of megabytes work on most computers.
Will numbers still work in formulas?
Yes. A column where every value is a plain number, such as 1249.50 or -3, is stored as numbers, so SUM and sorting work. Columns of ISO dates such as 2026-11-02 become real Excel dates. Turn off "Numbers and dates as Excel values" under Options to keep every cell as text.