Convert XLSX to CSV Online

Convert an .xlsx workbook to CSV without uploading it. The file is opened by JavaScript on this page, converted, and never sent anywhere.

From

The only part of this site that uses a server. The address is sent to it so the page can be fetched, because a browser is not allowed to fetch someone else's page itself. Your own files are never involved.

Nothing here is uploaded. The parsing happens on this page.
Edit
Paste or upload something above and it will appear here.
ToDataMarkupDocumentsCodeSchemasImages

The output will appear here once there is a table to convert.

What changes when you convert XLSX to CSV

.xlsx is a zip archive of XML parts, which is why the file is larger than the data in it and why unzipping one shows you a folder of sheets, styles and shared strings. Reading it means unpacking that archive and walking the sheet XML, which is what happens here.

The conversion keeps values and drops everything that describes how they look. Styles live in a separate part of the archive from the cell data, so leaving them behind is not a compromise, it is the natural result of reading only the sheet.

A workbook can hold many sheets and a CSV cannot. The first sheet is used.

What carries over from XLSX to CSV

Excel records 3 things about a table that CSV has no way to hold.

Excel distinguishes a number from the text of a number; CSV does not, so every value arrives as text and has to be re-parsed by whatever reads it next.

An empty cell and a missing one are the same thing in CSV, so a null and an empty string in the Excel both come out blank and can no longer be told apart.

Anything visual in the Excel - weight, alignment, colour, column widths - has no counterpart in CSV and is dropped. The values are what survives.

The result can be read a record at a time, and appended to by adding to the end of it. That is worth having for a table too large to hold in memory, and it means a CSV file that is cut off part way through still gives you every record before the cut.

A worked example

Three rows of staff data, with an identifier that has a leading zero, a value containing a comma, a value containing quotes and one blank cell. Those are the four places formats disagree, so they are the four places to look.

The sheet's three rows, as the reader sees them
id,name,role,started,hours
007,Halima Yusuf,"Analyst, data",2024-03-15,38.5
012,"Jonah ""Jo"" Pryce",Engineer,2025-11-02,
104,Wei Chen,Manager,2023-06-30,40
CSV out
id,name,role,started,hours
007,Halima Yusuf,"Analyst, data",2024-03-15,38.5
012,"Jonah ""Jo"" Pryce",Engineer,2025-11-02,
104,Wei Chen,Manager,2023-06-30,40

Questions

How do I convert XLSX to CSV?

Drop your XLSX file onto the box above. Check the table in the grid, then copy or download the CSV from the output panel. It takes one step and the file never leaves your browser.

What is the difference between .xlsx and .xls?

Excel 2007 replaced the old binary .xls with .xlsx, a zip of XML files. The new format handles more than 65,536 rows, compresses better and can be read by tools that do not know anything about Excel internals. Both are read here.

Will my numbers still be numbers?

They will read the same, but CSV stores them as text. Anything that sorts or sums the result will need to parse them first, and a leading zero or a currency symbol is the usual place that goes wrong.

Is there a limit on file size?

No. The work happens on your own machine, so the limit is your machine's memory rather than an upload cap. A file with tens of thousands of rows converts in a second or two.

Is my data uploaded anywhere?

No. The parsing and generating are done by JavaScript running on this page. You can watch the network tab while you convert and see that nothing is sent.

Advertisement

Related conversions