Excel Repair Utility

Fix Barcode Numbers in Excel (Leading Zeros & Scientific Notation)

Did Microsoft Excel drop your leading zeros or turn your 13-digit EAN into 8.90123E+12? Paste your numbers below to restore missing zeros and download clean, sanitized CSVs.

1Zeros Restored
3Already Valid
1Corrupt Scientific CSVs
Original InputRepaired ValueStatus & Reason
036000291452036000291452Already valid 12-digit UPC-A barcode. Left untouched.
36000291452036000291452Suggested repair: Adding leading 0 passes UPC-A Modulo-10 checksum. Confirm your product originally had a leading zero (random numbers pass ~10% of the time).
89012345678908901234567890Already valid 13-digit EAN-13 barcode. Left untouched.
8.90123E+128.90123E+12Unrecoverable scientific notation from saved CSV. Last 7 digits were irreversibly rounded by Excel.
40063813339314006381333931Already valid 13-digit EAN-13 barcode. Left untouched.

Why Does Excel Ruin Barcodes and How Do You Stop It?

By default, Microsoft Excel assumes any cell containing only digits is an arithmetic number. If a barcode starts with 0 (common in North American UPC-A and GS1 prefixes), Excel drops the leading zero because numbers don't start with zero. Furthermore, for numbers with more than 11 digits, Excel automatically converts them into scientific notation (like 8.90123E+12).

The Proper Excel Fix (Before Saving CSV)
  1. Select the entire barcode column in Excel.
  2. Right-click โ†’ Format Cells.
  3. Under Category, choose Text and click OK.
  4. Or type a leading single quote '036000291452 before the number.
Why CSV Scientific Notation Cannot Be Guessed

If a file has already been saved as a CSV in scientific notation (e.g. 8.90123E+12), the last 7 digits have been permanently overwritten with zeroes. Never trust online tools that claim to "restore" them; they must be re-exported from your original inventory database.