By · Updated

CSV to Excel Converter

Delimiter Detection, Numeric Cells Kept Intact, Dates as ISO and Sheet Export to CSV

No ratings yet

OneTask is free, with no sign-up, and built by one person.
If this tool saved you time, a coffee helps keep new ones coming.

How the CSV To Excel Converter works

This CSV to Excel converter works both ways. Drop a CSV or TSV file to get a real .xlsx workbook, or drop an .xlsx file to export one sheet as CSV. Delimiters are detected, numbers and text keep their types, and the whole conversion happens in your browser.

CSV is the lowest common denominator of data exchange: every database, bank and analytics tool can write it. Excel is where most people actually read it. The trouble is that opening a CSV directly in Excel triggers a series of guesses about encoding, separators and data types, and several of those guesses quietly damage data.

What goes wrong when Excel opens a CSV

How the CSV to Excel converter avoids that

Converting to .xlsx first removes the guessing, because a workbook stores each cell's type explicitly. The converter reads your file as UTF-8, strips any byte order mark and detects the delimiter by checking which of comma, semicolon, tab and pipe splits the first lines most consistently. Files ending in .tsv are always read as tab-separated. Quoted fields follow RFC 4180, so commas, quotes and line breaks inside quotes are kept.

A value is stored as a number only when it is a plain decimal that Excel can hold exactly: an optional minus sign, digits, an optional fraction, no leading zero and at most 15 significant digits. Everything else, including 00742, 1-2, MARCH1, phone numbers with spaces and very long IDs, is stored as text exactly as written. The Cells stored as numbers reading tells you how many cells will add up in a formula.

Excel caps a sheet at 1,048,576 rows and 16,384 columns, and a cell at 32,767 characters. Files over the row or column limit are refused, and longer cells are cut to fit with a note saying how many were affected.

Exporting a sheet as CSV

Drop an .xlsx file and choose which sheet to export by its position, counting from 1. The tool reads the stored cell values rather than what is on screen:

Every row is padded to the same number of columns, and lines end with CRLF as RFC 4180 specifies. The Formulas reading counts how many cells came from formulas, so you know which values will not update if the source data changes.

Delimiter and byte order mark

Comma is the default and suits most software. Pick Semicolon for Excel in much of Europe and South America, where the comma is the decimal mark. Tab produces a .tsv file, which avoids quoting problems when text contains commas.

The UTF-8 byte order mark is three invisible bytes at the start of the file. Excel uses it to recognise UTF-8, so keep it if the CSV will be opened in Excel. Choose No BOM for files headed to scripts, databases or Unix tools, some of which treat the mark as part of the first column name.

Limits

Old .xls files from Excel 2003 and earlier use a different binary format and are not supported; save them as .xlsx first. Password-protected workbooks are encrypted and cannot be read. Only cell values travel between formats, so formatting, charts, comments, merged cells and formulas themselves are not carried over.

Privacy

Spreadsheets often hold payroll, customer lists and financial data. This converter reads and writes files entirely in your browser, so nothing is uploaded, logged or kept on a server.

FAQ

Will my leading zeros survive?

Yes. When converting CSV to Excel, any value with a leading zero, such as a postcode or product code, is stored as text exactly as written. Excel shows it unchanged and does not try to turn it into a number.

Why do my Excel dates export as numbers in another tool?

Excel stores dates as serial day numbers. This converter turns cells formatted as dates into ISO dates such as 2026-10-01. If a date cell uses an unusual custom format, it may export as its serial number instead.

Can I convert an old .xls file?

No. Files from Excel 2003 and earlier use a binary format this tool does not read. Open the file in Excel, LibreOffice or Google Sheets and save it as .xlsx, then convert that copy here.

Which sheet is exported from a workbook with several?

The sheet number you enter, counting from 1 in the tab order. The note under the result lists every sheet in the workbook by name, so you can pick the right number and convert again if needed.

See also: all Data & Encoding tools, Dev Utilities, Formatters & Validators, Security & Identifiers, SEO, Accessibility, AI.

Related tools