Excel type-conversion problem
Preserve Leading Zeros When Converting CSV to Excel
Keep ZIP codes, phone numbers, SKUs and account identifiers as text during CSV-to-Excel conversion.
Use the matching tool
CSV to Excel
What the error actually means
Spreadsheet software infers cell types. A CSV value such as 00127 may be converted to numeric 127 unless the output column is treated as text. Long identifiers can also appear in scientific notation or lose precision.
Likely causes
- Identifier columns were inferred as numbers.
- The source zeros were already lost.
- Long numeric strings exceed spreadsheet precision.
- The workbook was resaved after automatic conversion.
Identifier as text
Problem
00127 becomes 127Correct pattern
00127 stored and displayed as textA safe repair workflow
- 1Inspect the original CSV text first.
- 2Identify all non-arithmetic numeric-looking columns.
- 3Convert and verify those columns in the workbook.
- 4Re-export a sample to confirm the values remain exact.
How to verify the result
A file that downloads successfully is not automatically a correct file. Check the result at both the structural and business-data levels:
- Leading zeros remain.
- Long IDs match character for character.
- Phone plus signs survive.
- Arithmetic columns still behave numerically.
Read the deeper guides
Stop Excel Changing Numbers in CSV FilesPrevent Excel from removing leading zeros, rounding long IDs, and turning codes into dates when you open or import a CSV.Convert Excel to CSV (Without Losing Data)Learn how to convert Excel files to CSV format without losing formatting, formulas, or data. Step-by-step guide with common problem fixes.