File tools · CSV

CSV to XLSX, made on your own device.

Turn a CSV into an Excel workbook without sending the file to a converter service. It writes values only: no formulas, no formatting, and an honest list of what that means.

What you get: one sheet with every cell as a number or as text. Codes like 007 and 16-digit IDs stay text so no digit is lost. Nothing is uploaded.

What the workbook contains

An XLSX file is a ZIP archive of XML parts defined by the Office Open XML standard (ECMA-376 and ISO/IEC 29500). This page writes the smallest valid set: a content-types list, the package relationships, a workbook with one named sheet, and the sheet itself. The archive is built with JSZip, which this site already bundles. There is no styles part, so there is no formatting at all: no bold header, no column widths, no frozen panes, no date formats, no formulas.

A cell is stored in one of two ways. A plain number is a value made of digits with an optional minus sign and decimal part, no leading zeros and at most 15 significant digits. Everything else is stored as text. That rule is deliberate. Excel keeps 15 digits of precision, so a 16-digit order number stored as a number would silently change its last digit; a zip code or phone number with a leading zero would lose the zero. Dates stay as the text they were in the CSV, because turning 03/04/2026 into a date needs a guess about day or month order that this tool will not make for you. Choose “every cell as text” if you want nothing converted.

Your file stays on your device

The CSV is read in this tab, the workbook is assembled in memory with JSZip and the download is made locally, all inside a sandboxed frame with no network access. That is the point of converting here rather than on an upload-based service: bank exports and customer lists do not need to visit someone else’s server to become a spreadsheet.

Limits it checks for you

Excel worksheets hold at most 1,048,576 rows and 16,384 columns, and a cell holds at most 32,767 characters. The tool refuses to write a sheet that exceeds the row or column limit, and tells you how many cells it had to cut at the character limit, instead of producing a file that Excel then reports as corrupt. A file with more rows than Excel allows needs splitting first; the CSV splitter does that.

Safe for formulas

Spreadsheet programs can execute text that starts with =, +, - or @ when it is typed or imported from a CSV, which is the basis of CSV injection attacks. In this workbook every non-numeric value is stored as an explicit text string, so a cell containing =1+1 is shown as that text and is never evaluated. A plain number such as -3 is a number, not a formula.

How it was checked

The automated tests unzip the output and check every part and cell type. We also opened generated files in LibreOffice 26.2 and read them with the openpyxl library, with leading zeros, a 16-digit ID, an ampersand, angle brackets and quotes, a multi-line cell, accents and Japanese text; all came through unchanged. We could not test every Excel version on this build, so if Excel reports a problem with a file from this page, please tell us through the contact page.

Common mistakes

What this tool does not do

It does not read XLSX or XLS (it only converts from CSV), write several sheets, apply styles, write formulas or evaluate any. For going the other way, open the workbook in a spreadsheet and save as CSV, then check it with the CSV validator.

Frequently asked questions

Is my CSV uploaded to be converted?

No. The CSV is read in your browser, the workbook is assembled in memory with JSZip, and the download is created locally. The tool runs in a frame without network access.

Will leading zeros and long IDs survive?

Yes. Values with a leading zero, or more than 15 significant digits, are stored as text, so a code like 007 or a 16-digit order number is written exactly as it appears.

Do formulas or formatting carry over?

No. CSV has none and this tool writes values only: no formulas, styles, widths or date formats.

Why are my dates still text?

Because a date such as 03/04/2026 is ambiguous and this tool will not guess the order. Convert the column in Excel once you know it, or reformat the CSV to ISO dates first.

What are the size limits?

Excel allows 1,048,576 rows, 16,384 columns and 32,767 characters per cell. The tool refuses to write more rows or columns than that and reports any cells it had to cut.

Could a cell starting with = run as a formula?

Not in this workbook. Non-numeric values are stored as explicit text strings, so Excel displays them and does not evaluate them.

Does it work in LibreOffice and Google Sheets?

We verified opening generated files in LibreOffice and reading them with openpyxl. The format is standard Office Open XML, which Google Sheets also imports, though we have not tested every version of every program.

Sources

Values only

This converter writes a basic workbook. It is not a replacement for exporting from the original application when you need formulas, formatting or several sheets.

Advertisement
Advertisement