Files never leave your device

Converter

CSV to Excel Converter

Turn a CSV file into an Excel (.xlsx) file. Zip codes keep their leading zeros, long ids stay exact, and ISO dates become real Excel dates. It runs in your browser.

Loading the tool…

.csv · .tsv · .txt → .xlsx

How to use it

  1. Add your CSVOpen a .csv, .tsv or text file. The separator is detected, and you can change it.
  2. Check the previewSee which columns will be numbers, dates or text, and choose the options: sheet name, bold first row, filter buttons, column widths.
  3. DownloadSave the .xlsx file and open it in Excel, Numbers, Google Sheets or LibreOffice.
The CSV to Excel tool with a small CSV loaded: the counts of rows and columns, the type found for each column, a preview of the first rows and the options.
The tool with sample data loaded. The names and numbers are made up.

Good to know

Double-clicking a CSV in Excel guesses a type for every cell on its own: zip codes lose their leading zeros, long ids are rounded to 15 digits, and text that starts with = can be run as a formula. This page decides one type for each column instead. A column becomes numbers only when every value in it is a plain number that Excel can keep exactly, and dates only when every value is a real ISO date. Everything else is written as text, exactly as it is in the CSV. Text is never run as a formula. The file holds one sheet, and the page tells you when Excel's own limits (1,048,576 rows, 16,384 columns, 32,767 characters in a cell) get in the way.

Worked example: what lands in the Excel file

This is the CSV we used in our tests. It has the awkward things real files have: a zip code with a leading zero, a 20-digit id, prices with trailing zeros, a date, TRUE and FALSE, a quote mark, an accent, a cell that looks like a formula and an empty cell.

people.csv

id,name,zip,joined,amount,active,note
1,Ana O'Neil,01234,2026-11-17,12.50,TRUE,=1+1
2,Zoë Müller,90210,2026-03-02,3.00,FALSE,
12345678901234567890,Sam Lee,007,2026-12-31,-4.25,TRUE,"say ""hi"""

What to notice in the Excel file:

How each kind of value is handled

In the CSVIn the Excel file
12, -3, 4.50 (whole column)Numbers. Two decimals shown when every value has two.
01234, +5, 1e5, 1,234Text, as written
A number with more than 15 digitsText, so no digit is lost
2026-11-17, 2026-11-17 08:30 (whole column)Dates, or dates with time
11/17/2026, 17.11.2026Text. The same digits mean different days in different countries.
TRUE, false (whole column)Excel true/false values
=SUM(A1:A9), @nameText. Never run as a formula.
A column with one odd value, such as N/AThe whole column stays text
Empty cellEmpty cell

If you would rather keep every cell as text, choose Everything as text under Cell types. If your CSV is the other way round, XLSX to CSV turns a sheet into a CSV.

How we tested this

On 17 November 2026 we ran the page in headless Chromium on a Linux cloud server, driving it the way a person would (adding files, clicking the buttons, saving the download). Every file it produced was then opened by programs that are not part of this site: LibreOffice and the Python library openpyxl, and the cells were compared with the CSV.

What we checkedResult
The worked example above: types, zeros, dates, bold frozen header, filter, and what LibreOffice displays18 of 18 checks
Every option switched on and off11 of 11 checks
120 generated CSV files (quotes, line breaks, accents, emoji, empty cells, odd values, ragged rows, 4 separators, 3 line endings), every cell compared with a separately written checker120 of 120 files identical
Decimal-comma files (30 files, converted with the comma setting and with the point setting)30 of 30 files identical
UTF-8, UTF-8 with BOM, UTF-16 both ways, Windows-1252, and three line-ending styles9 of 9
Sheet names with forbidden characters, 40 characters, History, apostrophes, empty9 of 9
An Excel file, an empty file and a binary file refused; a header-only file; a one-cell file5 of 5
Excel's limits: 1,048,576 rows converted and every row read back; 1,048,577 rows refused; 16,384 columns converted; 16,385 refused; a 40,000-character cell cut at 32,767 with a note5 of 5
Big files: 200,000 and 300,000 rows by 10 columns, every row read back2 of 2; 300,000 rows took about 7 to 11 seconds
Typing or changing an option and clicking Download straight away, 200,000 rows, delays from 0 to 700 ms; two quick clicks59 of 59 downloads correct, none lost or old
Same files opened by SheetJS and ExcelJS (the libraries this site uses), cell counts compared with openpyxl121 of 121 files
Browser rules enforced (the site's Content-Security-Policy), offline use through the service worker, phone width and dark theme10 of 10
Network requests to other websites while convertingNone
TotalAll checks passed in the final run

Not tested: Microsoft Excel itself (it was not available), so the files were checked with LibreOffice, openpyxl, SheetJS and ExcelJS instead. Only Chromium was used, not Firefox or Safari, and no real phone. Files with more than 1,048,576 rows are refused, not converted. Speeds were measured on a cloud server, and very large files need a lot of memory on a small device.

Frequently asked questions

Is my data uploaded?

No. The Excel file is built in your browser. Your CSV and the .xlsx file are not sent anywhere or saved; only your option choices are remembered.

Why do my zip codes and ids keep their zeros?

A column is turned into numbers only when every value in it is a plain number. Values with a leading zero (01234, 007), a plus sign, an exponent, thousands commas, spaces around them, or more than 15 digits stay text, and so does a column with even one other value. Opening a CSV directly in Excel would drop those zeros or round long ids.

Will a cell that starts with = run as a formula?

No. Text is written to the Excel file as text. A cell such as =1+1 shows as =1+1 and is not calculated, and the same goes for cells that start with +, - or @.

Which dates become Excel dates?

Only ISO dates such as 2026-11-17, or with a time such as 2026-11-17 08:30:15, and only when every value in the column is a real date from 1 March 1900 on. Dates like 11/17/2026 or 17.11.2026 stay text, because the same digits can mean different days in different countries.

My file uses semicolons and a decimal comma. Does that work?

Yes. The separator is detected, or you can choose it. Under Decimal mark in your numbers, choose Comma (1,5) and values such as 1,5 become the number 1.5. In that mode 1.5 and 1.234,5 stay text.

How many rows can I convert?

An Excel sheet holds at most 1,048,576 rows, 16,384 columns and 32,767 characters in one cell. A file over the row or column limit is not converted and the page tells you why; a longer cell is cut at the limit and the page says so. The page was tested up to the size given in How we tested; very large files need a lot of memory in the browser.

Can I get an .xls file, or several sheets?

No. The page writes one .xlsx file with one sheet. To combine several CSV files first, use Merge CSV files, then convert the result here.

Accented letters look wrong in Excel. What do I do?

The page reads UTF-8 and UTF-16 files, and reads any other file as Windows-1252 and tells you so. Check the preview. If it looks wrong, re-save the CSV as UTF-8 and add it again.

Where to go next

When people use it