Prevent Excel Data Loss: CSV Value Check
Check CSV and Excel data for values spreadsheet apps might change, then export an XLSX that preserves them.
Quick start
- Upload a file to run the check.
- Review the results and save them as XLSX.
What this tool produces
A three-order CSV checked in this tool, and the value-preserving XLSX it downloaded, opened again.


Example: before and after
A made-up order list with 5 orders.
Before · CSV as written
| Order number | Customer | Phone | Postal code | Product code | Order date | Amount |
|---|---|---|---|---|---|---|
| 1102345678901234 | Minsu Kim | (555) 123-4567 | 04524 | 1E5 | 1-2 | 35000 |
| 1102345678901235 | Seoyeon Lee | (555) 234-5678 | 06234 | 2E7 | 3-4 | 128000 |
| 1102345678901236 | Jihoon Park | (555) 345-6789 | 01186 | 9E1 | 5-6 | 9900 |
| 1102345678901237 | Sua Choi | (555) 456-7890 | 30124 | 4E3 | 7-8 | 45000 |
| 1102345678901238 | Haneul Jung | (555) 567-8901 | 04524 | 1E5 | 9-10 | 35000 |
After · 19 of 35 cells at risk
| Problem | Cells | Example cell | Original value → what Excel does |
|---|---|---|---|
| Precision loss in 16-digit numbers | 5 | A2 order number | 1102345678901234 → the last digit becomes 0, so all five order numbers turn into the same number. |
| Leading zero lost | 4 | D2 postal code | 04524 → 4524 |
| Read as scientific notation | 5 | E2 product code | 1E5 → converted to 100000 |
| Automatic date conversion | 5 | F3 order date | 3-4 → converted to March 4 |
The fix is the same for all of them: save the value as text. The value stays as written, and Excel doesn’t turn it into a number or a date.
Made-up sample data, run through this tool.
See it with example files
The original CSV, the text-value XLSX, and what can’t be recovered
How to use
- Add a file
- Review the check results
- Export as XLSX
A file that looks right until Excel opens it
A CSV can hold exactly the right values and still lose them the moment Excel opens it. A ZIP code written as 02108 comes out as 2108. A product code written as 3-1 comes out as a March date. A long order number comes out rounded, or in scientific notation, and two different orders can end up looking like the same one. Nothing in the file warns about this. The change happens on opening, before anyone has typed a value.
Here is what the tool flags in a three-order CSV. The orders are dated 11/26/2026 and ship to ZIP codes 02108, 10001 and 94105. Their product codes are 3-1, 2E3 and 0012. The check reads a CSV or XLSX file of up to 10 MB and 50,000 rows, the first sheet only for XLSX, and the work happens in the browser. XLS isn't supported, so save it as CSV or XLSX first.
What gets flagged, and why
This file shows At-risk cells 7. The check sorts each one by the way Excel would reshape it, and the preview keeps every original value on screen, each marked "Can be corrected".
Two are leading zeros: ZIP code 02108 and product code 0012. The single date risk is the code 3-1, which Excel reads as 1 March. The single scientific-notation risk is 2E3, which Excel reads as 2000. None of these values is wrong in the CSV. Excel changes them on its own when it opens the file.
Three order numbers that Excel reads as one
Three order numbers, each different in the CSV, all become 2026112700001000 once Excel opens the file. Excel keeps only 15 digits of a number, so 16-digit order numbers that differ only at the end round to the same value, and you can no longer tell the orders apart. The Overlapping codes list shows the value shown in Excel next to the original values and rows.
Long numbers that don't collide still get flagged as long-number risks, with 0 overlapping code groups. Either way, press Download value-preserving XLSX · Recommended to get a file that stores the values as text.

Before the results go into accounting, match the date format
A checked file usually goes on to a second program, and the date format has to match there too. QuickBooks' help on bank-transaction CSV imports says to check that the date format matches the one you chose at the mapping stage, so month-first dates like 11/26/2026 need a month-first setting. See Common errors for importing bank transactions using CSV.
Excel itself offers two different paths into the same file. Double-clicking a CSV lets Excel convert values as it opens, while importing through the text import options and setting the column format to Text keeps the values as written. Excel can also stop these conversions under File > Options > Data > Automatic data conversion, with options such as Remove leading zeros and convert to a number (Data import and analysis options in Excel). The import steps are in Import or export text (.txt or .csv) files. In Google Sheets, formats are set from Format > Number (Format numbers in a spreadsheet), and a value that already changed has to be checked against the original. The tool also offers Download UTF-8 BOM CSV, but Excel may still convert leading zeros, dates and long numbers in that CSV, so use the XLSX when the values must stay as written.
What the check cannot bring back
The check has to run before Excel opens the file. Once Excel has stripped a leading zero or rounded a long number and the file was saved, the original value is gone from that copy. The tool can flag a suspected loss in that file, but it can't restore the value, so get the original CSV again.
Some files stop before the check starts. A quote left open shows "Could not read the file. Check the unclosed quote starting on row 2.", and a damaged workbook shows "Could not read the file. Check that it is a valid CSV or XLSX file." Fix the file itself: close the quote on that row, or export the workbook again. An XLSX file that only has a .csv name gets its own message asking you to change the extension to .xlsx.

After the check, the next file in line
Before a flagged file goes anywhere else, use the value-preserving XLSX or fix the flagged cells and check again. Don't open the original CSV in Excel and trust what you see. If the sheet has merged cells, run it through Unmerge & Fill Cells first so every row has its own value. Excel & CSV lists more tools for spreadsheet files.
Files and personal information
Files and anything you enter are not sent to a server. They are processed only in the browser you are using now, and closing the window clears what you entered.
The problem this tool solves: Opening it in Excel dropped the leading zeros.