Excel to CSV converter

Save a sheet from an .xlsx, .xls or .ods file as CSV. It runs in your browser, so the file never leaves your computer, and rows are read one at a time, so large workbooks work too.

or drop it here

The file is converted in your browser. It is never uploaded.

What you get

  • Each cell as Excel shows it: dates, currencies and percentages keep their formatting, and formulas give their results.
  • A UTF-8 file that Excel opens with accents and other scripts intact.
  • Comma, semicolon or tab separators. Many European versions of Excel expect semicolons.
  • Empty rows stay where they were, so row numbers line up with the original sheet.
  • One sheet per file; choose which one if the workbook has several.

Do the same in your own code

This page is built on XlsxFlow, an open-source JavaScript library that reads spreadsheets as a stream in browsers, Node, Bun, Deno and Cloudflare Workers:

import { SheetReader, createBlobReader } from '@xlsxflow/core';

const rows = await new SheetReader().parse(createBlobReader(file), { formatted: true });
for await (const row of rows) {
  console.log(row.formatted); // each cell's text as Excel shows it
}

npm install @xlsxflow/core. MIT licence, no dependencies.