Files tool

Spreadsheet to CSV Converter

Choose an XLSX file and worksheet, or paste CSV data to preview and download it.

Runs in your browser. No upload.

Convert one worksheet from XLSX to CSV, or open a CSV and export an XLSX workbook.

Works in your browser. Your files stay on your device.

About this tool

Spreadsheet to CSV Converter made simple.

CSV contains one plain-text table, so formatting, formulas, multiple sheets, charts and workbook features are not preserved. Formulas are never executed. Keep a copy of your original workbook.

Guide

Using Spreadsheet to CSV Converter

The Spreadsheet Converter turns one worksheet of an Excel XLSX file into a CSV file, or turns a CSV file into a new XLSX workbook. Everything happens in your browser, and it shows a preview of the first 30 rows. CSV is one plain table, so formatting, formulas and extra sheets do not come along. It does not edit your data.

How to use it

  1. Press Choose file and pick an XLSX or CSV file of up to 20 MB. A preview of the first 30 rows appears.
  2. For an XLSX file, pick the worksheet from the Worksheet list. The preview changes with it. A CSV file has no list because it holds only one table.
  3. Press Convert and download. An XLSX file becomes a CSV file, and a CSV file becomes an XLSX file, and your browser saves it.
  4. Open the result and check it against the original before you delete anything. Press Clear to reset the page.

Worked examples

CSV to XLSX with quotes and a leading zero

You enter
File
items.csv
Content
name,qty,note Apple,3,"red, sweet" Pear,007,"say ""hi"""
You get
File
items.xlsx
Rows
name; qty; note; Apple; 3; red, sweet; Pear; 007; say "hi"
Number cells
3 is stored as a number; 007 stays text

The comma inside quotes stays in one cell, and the doubled quote becomes a single quote. A value like 3 is saved as a number, but 007 has a leading zero, so it is kept as text. Worked out by running the tool's own conversion code, not through the file picker.

Not run through the tool. Treat it as an illustration.

XLSX to CSV

You enter
File
stock.xlsx
Worksheet
Sheet1
Cells
name; qty; note; Apple; 3; red, sweet
You get
File
stock.csv
Text
name,qty,note<CRLF>Apple,3,"red, sweet"

Rows end with a carriage return and line feed, and any cell that holds a comma, a quote or a line break is wrapped in double quotes. Worked out from the tool's code, not through the file picker.

Not run through the tool. Treat it as an illustration.

Dates and formulas in an XLSX file

You enter
A2
a date cell stored as 45000
B2
a formula whose saved result is 3
C2
a formula with no saved result
You get
A2
45000
B2
3
C2
(empty)

The tool copies the value stored in each cell and never recalculates. A date shows as its stored serial number, a formula shows its saved result, and a formula without a saved result becomes an empty cell. Checked with a hand-edited test workbook, not through the file picker.

Not run through the tool. Treat it as an illustration.

A CSV with only one row

You enter
File
one-row.csv
Content
only,one,row
You get
Message
The spreadsheet needs readable rows and must contain fewer than 100,000 rows.

Making an XLSX file needs at least two rows. A single row triggers this message, and no file is made. Worked out by running the tool's own conversion code.

Not run through the tool. Treat it as an illustration.

When it helps

  • Pull one table out of an Excel workbook so a database, script or import form can read it as CSV.
  • Open a CSV export in Excel-style software by turning it into an XLSX file first.
  • Peek at the first 30 rows of a file without opening a big spreadsheet program.
  • Convert a quick data file on a device where you cannot install extra software.

Limits to keep in mind

  • The file must be 20 MB or smaller. For XLSX files the tool supports up to 20 worksheets, 2,000 rows per worksheet and 200 columns. CSV files can have up to 100,000 rows and 200 columns.
  • CSV keeps a single plain table. Formatting, formulas, charts, merged cells and the other worksheets are not kept, and formulas are never run.
  • The CSV reader splits on commas only. A file that separates values with semicolons or tabs is read as one column.
  • A new XLSX made from a CSV has one sheet that is named Extracted PDF text, and dates in an XLSX file are read as their stored serial numbers.

Tips

  • Keep your original file. Conversion makes a new file and never changes the one you chose.
  • Check the preview for a worksheet before you convert. It shows what will be in the CSV, up to 30 rows.
  • If a CSV is separated by semicolons, replace them with commas in a text editor first.

Sources

Common questions

About Spreadsheet to CSV Converter.

How do I convert an XLSX file to CSV?

Choose the file, pick the worksheet you want from the list, and press Convert and download. The tool saves that one worksheet as a CSV file with commas between values and quotes around cells that need them.

Does the CSV keep formulas, formatting and other sheets?

No. CSV is plain text for one table. Formatting, formulas, charts and other sheets are not preserved, and formulas are never run. The tool copies the value stored in each cell.

Can I convert all the worksheets at once?

No. Each conversion handles one worksheet. To get several, choose a different worksheet in the list and convert again. The saved file name does not include the sheet name, so rename each download.

Can I turn a CSV file into an Excel file?

Yes. Choose a CSV file and press Convert and download. You get an XLSX file with one sheet. Values that look like plain whole or decimal numbers are saved as numbers, and everything else is saved as text.

Why does a date show as a number like 45000?

The tool reads the stored value of each cell and ignores cell formats. Excel keeps dates as serial numbers, so you see that number instead of a formatted date. Format the column as a date in your spreadsheet program afterwards.

What are the size limits?

Files up to 20 MB. XLSX reading is limited to 20 worksheets, 2,000 rows per worksheet and 200 columns. A CSV can have up to 100,000 rows and 200 columns. Larger files show an error message and no file is made.

Is my file uploaded to a server?

No. The page says your files stay on your device. The reading, the conversion and the download all happen inside your browser.

Can I convert an Excel XLSX file to CSV?

Yes. Choose a worksheet, preview its cell values and download that sheet as CSV.

Does CSV keep formulas, formatting and multiple sheets?

No. CSV is plain text for one table. Formatting, formulas, charts and other sheets are not preserved; formulas are never run.