Excel to CSV accuracy test

A free test workbook with the values converters most often get wrong, and the exact CSV output you should expect. Use it to check this converter, or any other.

  • 20 tricky values
  • Expected output for each
  • Test any converter
  • Nothing uploaded
No upload. No sign-up. No set size limit.

Your files are converted on your own device. Nothing is uploaded, stored or seen by us.

The test file

Download the test workbook

Download accuracy-test.xlsx

It has 20 tricky values on the first sheet, a second sheet with a merged cell, and a hidden third sheet. Convert it with any tool, open the CSV in a text editor (Notepad, TextEdit), and compare it with the table below. Every value in the right-hand column is what this converter actually produced with its default settings.

Results

What each value should look like

TestExcel showsCommon wrong resultxlsxtocsv.com output
Zip code typed as text021340213402134
Zip code with 00000 format02134213402134
Employee ID with 000000 format00004242000042
Phone number format(555) 123-45675551234567(555) 123-4567
16-digit ID stored as text411111111111111141111111111111114111111111111111
Date, US style03/15/20244536603/15/2024
Date, day first15/03/20244536615/03/2024
Date and time2024-03-15 14:3045366.60416666672024-03-15 14:30
Time only2:30 PM0.6041666666666672:30 PM
Currency$1,250.001250$1,250.00
Negative in brackets(1,250.50)-1250.5(1,250.50)
Euro99.90 €99.999.90 €
Percentage12.5%0.12512.5%
Fraction3/40.753/4
Large number1,234,567.891234567.8911,234,567.89
Accents and emojiJosé Müller, Zoë, Søren, 東京, 😀garbled, e.g. José MüllerJosé Müller, Zoë, Søren, 東京, 😀
Comma and quotes in a cellSmith, "Jr."may split into two columns"Smith, ""Jr."""
Line break in a cellLine one / Line twomay break the row in twokept in one quoted field
Formula result$2,500.002500 or the formula text$2,500.00
TRUE/FALSETRUE1 or trueTRUE

For numbers and dates, the wrong result is the raw value stored inside the .xlsx file, which is what a converter that ignores Excel's formats writes. The last rows show common text problems: the wrong encoding garbles accents, and missing quotes split cells that contain commas or line breaks. If you want raw values on purpose, for a database or code, choose Raw values and ISO dates in the options.

Privacy check

How to check that a converter doesn't upload your file

  1. Turn off Wi-Fi after the page loads

    Open the converter, then disconnect from the internet and convert the test file. A converter that uploads files will fail; this one keeps working, because the conversion happens on your computer.

  2. Or watch the network

    Press F12 in Chrome, Edge or Firefox, open the Network tab and convert a file. With this converter no request carries your file. With an upload site you will see the file being sent.

  3. Read the privacy policy

    Upload sites usually say how long they keep files, for example "deleted after 24 hours". A browser-only tool has nothing to delete. See our privacy policy.

Also check

Multiple sheets and hidden sheets

The test file has three sheets. Many converters only export the first one. Here, Download all sheets (.zip) gives a CSV per sheet, and hidden sheets are left out unless you tick Include hidden sheets. The merged cell on the second sheet stays in its first cell, or fills every cell it covers if you tick Fill merged cells.

More: fix CSV encoding and leading zeros · convert all sheets to CSV · XLSX vs CSV

FAQ

Questions

Why do my dates turn into numbers like 45366 when I convert Excel to CSV?

Excel stores dates as the number of days since 1900; 45366 is March 15, 2024. Excel shows it as a date because of the cell format. A converter that ignores formats writes the number. This converter applies the format, so you get the date as you see it.

Why do leading zeros disappear in CSV files?

Either the converter wrote the stored number instead of the formatted one, or the zeros were there but Excel dropped them when it reopened the CSV. Check the CSV in a text editor: if the zeros are there, the file is right, and you can keep them in Excel by importing the column as Text.

Is this test file safe to open?

Yes. It is a normal .xlsx file with values and one formula, no macros and no links.

Can I get raw values instead of formatted ones?

Yes. In the options, set Numbers to Raw values and Dates to ISO. That is the better choice when the CSV is going into a database or code.

How do I know my file is not uploaded?

Turn off your internet after the page loads and convert a file. It still works, because everything happens in your browser. You can also watch the Network tab in your browser's developer tools.