Excel to CSV
Convert .xlsx or .xls to CSV in your browser — the file is never uploaded (30 MB limit).
What is Excel to CSV
Excel to CSV conversion flattens one worksheet into plain comma-separated text: one row per line, one field per comma, with quotes only where a value contains a comma, quote or line break. Values and their order survive; formulas collapse to their calculated values, and cell formatting, merged cells and extra worksheets are dropped. CSV is the least fragile format to hand data to a database, a script or another spreadsheet app, which is why it is worth converting before any import step.
File
🔒 Everything runs in your browser. Nothing is uploaded.
What this tool actually does with your file
- Where it runs
- In your browser, on this page
- Upload
- None — the file never leaves your device
- Offline
- Works with the network disconnected
What actually happens to your workbook
The file is read with SheetJS inside this page. Nothing is uploaded: the browser opens the .xlsx as a ZIP container, parses the shared-strings table and each worksheet's cell records, and rebuilds a grid in memory. That is why the tool works with no network connection once the page has loaded, and why a 25 MB workbook is limited by your device's memory rather than by an upload timeout.
Only one worksheet becomes one CSV file, because CSV has no concept of sheets. Multi-sheet workbooks therefore lose every sheet you did not select. If the workbook has a summary sheet plus twelve monthly sheets, run the conversion twelve times with the sheet selector, or use Excel to JSON, which keeps every sheet in a single structured file.
Formulas are not converted. The cell value that Excel last calculated is written out, which is what you want for reporting but not what you want if you are migrating a model. A cell containing =B2*1.2 becomes 240, and the dependency disappears. Copy the formulas as text first if you need to keep them.
What survives the conversion and what does not
Values, row order and column order survive exactly. Number formatting does not: a cell displayed as $1,234.00 becomes 1234, and a date displayed as 20/11/2026 becomes either 20/11/2026 or a five-digit serial number depending on how the cell was stored. That difference is the single most common reason a converted CSV looks wrong when reopened.
Merged cells are the second trap. A merged range keeps its value only in the top-left cell; every other cell in the range is empty in the file itself, so the CSV shows blanks. If you need the value repeated on every row, unmerge and fill down in Excel before converting, or the receiving system will see missing data.
Everything visual is gone by design: colours, borders, column widths, conditional formatting, comments, data validation, pivot tables and charts. CSV is a transport format for values, not a copy of the sheet. If the appearance matters, export to PDF instead.
Encoding, delimiters and the commas inside your data
The output is UTF-8 without a byte-order mark. Excel on Windows assumes the system codepage for a .csv double-clicked from Explorer, so accented characters and CJK text can look like mojibake even though the file is correct. Import it through Data → From Text/CSV and choose UTF-8, or open it in Google Sheets, which sniffs the encoding.
Fields containing a comma, a quote or a line break are wrapped in double quotes, and inner quotes are doubled. That is RFC 4180 and it is what any serious parser expects. If your downstream tool splits on commas without honouring quotes, the file is fine and the tool is wrong — fix the reader, not the export.
Excel's regional settings decide the list separator. A machine set to a comma-decimal locale may write semicolons when you use Save As; this converter always writes commas, so the result is portable. Numbers are written with a dot decimal separator for the same reason.
When this is the wrong tool
If the table has more than roughly a million rows, the browser will struggle before the format does — CSV has no row limit but your memory does. Split the workbook first.
If you need typed columns, nested structures or several sheets in one file, CSV cannot express them. Use Excel to JSON, which keeps sheet names, headers and cell types.
If the goal is to paste the table into a document or a chat, CSV is the wrong output; Markdown or the Markdown table converter will be readable without importing anything.
How to use it
- 1.Choose your .xlsx / .xls file
- 2.Pick the worksheet and delimiter
- 3.Run it, then download the .csv
How Excel to CSV works under the hood
An .xlsx file is not a table — it is a ZIP archive of XML parts. Everything you see as a grid is rebuilt from cell references on this page, in memory, without a round trip to a server.
- 1
Read the file as bytes
The file is read into an ArrayBuffer with the File API. This is a local read, not a request — nothing leaves the tab.
- 2
Unzip and parse the workbook
SheetJS inflates the archive, reads workbook.xml for sheet order, sharedStrings.xml for text, and each sheet's XML for cells and types.
- 3
Rebuild rows in memory
Cells are placed by their A1 reference, gaps become empty cells, and the sheet is materialised as a two-dimensional array.
- 4
Write the output locally
The result is serialised to CSV text or a new workbook and handed to the browser as a Blob download.
Processing pipeline
Why formulas arrive as values
A spreadsheet stores two things per formula cell: the formula text, and the value Excel last computed and cached. A browser parser reads the cached value. Making the formula itself run would mean reimplementing Excel's calculation engine — including volatile functions, circular-reference detection and locale-specific parsing. So the exported CSV contains what you last saw on screen, not a live formula.
What has no CSV equivalent
Merged cells, cell fills, fonts, conditional formatting, comments and pivot tables have no representation in a comma-separated file. A merged cell becomes its value in the top-left position and empty cells elsewhere. Dates are written as dates only when the cell is typed as a date; a date stored as text stays text. These are format limits, not bugs.
Where it gets slow
Parsing is linear in cell count, and the browser holds the whole workbook in memory. A 30 MB file with a million populated cells can take several seconds and a few hundred MB of RAM; the tab may feel frozen while SheetJS works. Splitting the file by sheet, or exporting only the range you need, is faster than retrying with a bigger limit.
Verify it yourself
You do not have to take this on faith. Run the tool once with DevTools open.
- 1.Open DevTools on this page and switch to the Network tab
- 2.Keep the filter on Fetch/XHR and run the tool
- 3.Confirm no request carries your file — you should see only page assets and fonts
Frequently asked questions
Is my file uploaded anywhere?
No. The workbook is read by JavaScript on this page and the CSV is assembled in memory. Nothing is sent over the network, and the tool keeps working offline.
Which formats are supported?
.xlsx, .xlsm and .xls up to 30 MB. Password-protected workbooks and very old .xls variants (BIFF5 and earlier) may not be readable.
I have several sheets — why do I only get one?
CSV has no concept of worksheets, so one file equals one sheet. Pick the first to fourth sheet above; for anything beyond that, export the sheet separately or use the Excel to JSON converter with the sheet index you need.
What happens to formulas and dates?
Formulas come out as their last calculated value, not the formula text. Dates may be emitted as Excel serial numbers, so set the date column type when you import the CSV elsewhere.
What this kind of conversion cannot keep
Spreadsheet conversion is lossy by nature: a workbook carries formulas, styles, merged cells and multiple sheets, while CSV carries rows of text. This tool keeps values and order, recalculates nothing, and drops presentation on purpose. That is why it can run without a server — and why a converted file will not look like the original.
More in Spreadsheets & Docs
On this page
- What is Excel to CSV
- What this tool actually does with your file
- How it actually behaves
- How to use it
- How it works inside
- Frequently asked questions
Excel formula reference
29 functions with syntax, arguments and a table you can retype.
Browse the list →