Table Tools

CSV to Excel Converter

Paste a CSV, or drop a .csv file, and download an Excel workbook. Quoted fields, UTF-8 text, and long identifiers are handled in your browser. Nothing is uploaded.

Converter

Drop a CSV or TSV file here, or .

How to convert a CSV file to Excel in your browser

A CSV file is a plain-text table: one row per line, fields separated by a comma (or sometimes a semicolon or a tab). It is easy to generate from a database, a script, or an export button, and it is terrible as a format you open by double-clicking in Microsoft Excel. Encoding gets guessed, long identifiers get rounded, and a field that contains a comma can split into the wrong number of columns if the quotes are mishandled.

This page turns that text into a real .xlsx workbook without sending the file anywhere. Paste the CSV, or drop the file on the box above, check the preview, and download Excel. The conversion runs in your browser. After the page has loaded, you can disconnect from the network, except that the Excel engine is fetched from this site the first time you click Download Excel.

  1. Paste or drop the file. You can paste the raw text of a .csv or .tsv file, or choose a file from your computer. A UTF-8 byte order mark at the start, if one is present, is stripped so the first header is not a garbled Order ID.
  2. Check the detected separator. The status line reports whether the tool treated the file as comma, semicolon, or tab separated. Semicolon is common in CSV files that were saved by Excel in European locales, where the comma is already used as a decimal mark.
  3. Read the preview. Confirm that a note such as Leave at the door, side entrance stayed in one column, that Chinese or other non-ASCII text is intact, and that a long order ID still shows every digit.
  4. Download Excel. The .xlsx file stores those long IDs and any leading zeros as text cells, so Excel will not turn them into scientific notation or drop the zero.

Use the button to try a sample with a 18-digit order ID, a quoted city name, and the names 张伟 and Ada Lovelace, without leaving the page.

Why “open the CSV in Excel, then Save As xlsx” is the wrong order

That is the path many people take, and it is how identifiers get destroyed. Excel’s default “open” path for a .csv file does three unhelpful things at once.

First, it guesses a character encoding. CSV has no official place to declare one. UTF-8 is the right choice for Chinese, Japanese, Korean, and mixed-language data, but Excel on Windows often assumes a legacy ANSI code page when you double-click the file. If the guess is wrong, 张伟 becomes mojibake before you have even thought about Save As.

Second, it treats long digit strings as numbers. Excel stores numbers with about 15 digits of precision. An order ID, a parcel tracking number, or a payment reference with 16 or more digits cannot be represented exactly. Excel may display 1.23457E+17 and, worse, silently change the last digits. A value like 00123 becomes 123, because the two are the same number. Once you save the workbook, the original digits are gone. This converter never opens the CSV through Excel’s import guesser. It reads the text as text, then writes identifier-like values into the workbook as text cells on purpose.

Third, locale settings change the separator. A file that is perfectly valid comma-separated text can look like a single column in a German or French Excel, because those editions expect a semicolon. This tool counts separators outside of quoted fields and picks comma, semicolon, or tab accordingly, so the preview you see is the grid the file actually contains.

If a CSV has already been opened and re-saved in Excel, and the IDs are already in scientific notation, do not run it through this converter expecting a miracle. Use the scientific notation fixer, and read the warning there: digits that Excel has already rounded cannot be reconstructed.

How quoted fields and unusual separators are read

The CSV syntax this page follows is the one people actually use, close to RFC 4180. A field may be wrapped in double quotes. Inside a quoted field, a comma is just a comma, a newline can belong to the cell, and a literal quote is written as two quotes in a row. That is why "London, UK" is one city, not a city named London and a stray column named UK.

Tab-separated text is detected when the first lines contain tabs. That usually means the data was copied from a spreadsheet or exported as TSV. Semicolon-separated files are detected when semicolons clearly outnumber commas. If detection ever gets this wrong, you will see it in the preview immediately; the file is not uploaded, so you can adjust the source text and try again.

Empty trailing lines are ignored. Rows that are shorter than the widest row are padded so the grid is rectangular, which is what a spreadsheet expects.

What this page does not do

It does not reach out to a URL you type in, and it does not run Excel macros. Formula-looking cells in the CSV stay as text or as the literal characters that were in the file. If you need to export a table that is already on a web page, without copying it first, the Table to Excel & CSV Chrome extension does that on the page you are viewing. This converter is for a file or a pasted block of text you already have.

Frequently asked questions

Is the CSV uploaded to a server?

No. Parsing, preview, and workbook generation all run locally in your browser.

Will Chinese and other Unicode text survive in the Excel file?

Yes. The .xlsx format stores text as Unicode. You do not need a BOM for the Excel download. (A BOM on the input CSV is honoured by being stripped, not by being copied into the first header.)

What happens to long numbers and leading zeros?

Integer IDs with 16 or more digits, and all-digit values with a leading zero, are written as text cells. Ordinary short numbers such as 42, and a ZIP code like 94043 that does not start with zero, are left as they are.

Can I open the result in Excel for Mac, Numbers, or Google Sheets?

Yes. The file is a standard Office Open XML workbook. Google Sheets and Apple Numbers open it as well.

My European export uses semicolons. Is that supported?

Yes. If the first lines contain more semicolons than commas, the tool treats semicolon as the separator. Check the preview to confirm.

Is there a row limit?

This page does not impose a row cap, but a very large paste can make the browser sluggish. For huge files, a local script may be more comfortable; for a typical export of thousands of rows, the preview shows the first twelve and the download includes every row.

Is this affiliated with Microsoft Excel?

No. “Excel” here refers to the common .xlsx format. This is an independent tool.