XLSX to CSV

Excel saves one sheet at a time as CSV, in whatever encoding Windows fancies. This gives you every sheet as a proper UTF-8 CSV in one go.

Options
Options
All sheets: one CSV per sheet in a zip, or one JSON object per sheet. A number picks just that sheet (1 = the first tab).
Text that starts with =, +, -, @ or a tab gets a leading apostrophe, so Excel shows it as text instead of running it. Numbers are never changed.

Your file is converted on your computer. It is not uploaded anywhere.

How it works

  1. Drop your file in the box above, or click it to pick one.
  2. Pick the output format and press Convert.
  3. Download the result. Nothing was uploaded on the way.

Is it safe?

Spreadsheets bound for a CSV import are usually customer or order data. Your browser does the converting here, so the workbook stays on your device.

Want to check? Open your browser DevTools, switch to the Network tab and convert a file. Or convert a small file once, because each converter downloads its code the first time, then go offline and convert your real file.

Why not just use Save As in Excel

You can, and for one sheet it's fine. Three things trip people up, though. Save As CSV only writes the sheet that's open. Plain "CSV (Comma delimited)" uses your Windows code page, so names like Zoë or Łukasz arrive mangled on the other side. And in much of Europe Excel quietly uses semicolons instead of commas. Here every sheet comes out at once, always UTF-8 and always comma-separated.

What's in each CSV

  • The values you see, not the formulas behind them. CSV has no room for formulas.
  • Dates as 2024-03-31 (or 2024-03-31 14:05:00 with a time), whatever the cell format said. ISO dates sort correctly and import without guessing games.
  • Numbers as plain numbers: 1234.5, not "1,234.50 €". Currency signs and thousands separators were formatting, and formatting doesn't travel.
  • TRUE and FALSE for checkboxes and logical cells, error cells as their code (#N/A, #DIV/0!).
  • A UTF-8 byte order mark at the start and Windows line ends, which keeps Excel happy if someone double-clicks the file later.

Charts, images, comments and colours have no place in a CSV and are dropped. Hidden sheets are exported like the others.

Options worth knowing

Sheet to convert (0 = all sheets). Leave it at 0 and you get a zip with one CSV per sheet. Type 2 and you get just the second tab as a single CSV.

Protect against spreadsheet formulas. On by default. A text cell starting with =, +, -, @ or a tab gets an apostrophe in front, so nobody's spreadsheet runs it as a formula when the CSV is opened. Numbers are never changed. Turn it off when the CSV feeds a database and you want the text untouched.

Besides .xlsx, the converter takes .xlsm, .xlsb, old .xls and LibreOffice .ods files, up to 100 MB. Password-protected workbooks are refused; remove the password in Excel first.

Questions about this format

My CSV starts with odd characters in some tools. What are they?

That's the byte order mark, three invisible bytes that tell Excel the file is UTF-8. Most tools skip it. A few older scripts show it as junk before the first column name; strip it there if that happens.

Can I get semicolons instead of commas?

Not on this page; the output is always comma-separated, with values containing commas put in quotes. Most import tools let you set the delimiter, and comma is the one they expect by default.

What happens to merged cells?

The value ends up in the first cell of the merged area, and the cells it covered stay empty. CSV has no way to say "these cells belong together".

Can I convert only the second sheet?

Yes. Set "Sheet to convert" to 2. Sheets are counted from the left, starting at 1, and hidden ones count too.

Last updated: