Barcodes guide

Barcodes turned into scientific notation or lost leading zeros in Excel

What you’ll need

  • Your products export CSV

    How to get this: Your products export CSV
    1. Products › Export › All products › Export products.
    2. Small exports download; big ones arrive by email.

    Step-by-step guide (opens in a new tab)

  • Your barcodes (a list, a supplier sheet, or a USB scanner)

  • Shopify’s product importer, to load the result

    How to get this: Shopify’s product importer, to load the result

    It’s in Products › Import. Export a backup first: an import can’t be cancelled once it starts.

    Step-by-step guide (opens in a new tab)

Repair barcodes

Restore from the original export

The builder matches each variant by handle and option values (or SKU) and restores only barcode cells that show Excel damage. Edits you made on purpose are kept.

  1. Load the edited file.
  2. Open the “Repair Excel damage” tab and load the original export.
  3. Check the list of restored barcodes, then download.

No original export?

Dropped leading zeros can be put back safely, because zeros at the front never change a barcode’s check digit: the builder offers the padded code only when its check digit is valid. Scientific notation is different: the last digits are gone. Export from Shopify again, or rescan those items.

Stop it happening

In Excel, import the CSV with Data › From Text/CSV and set the barcode and SKU columns to Text. Or edit in Google Sheets, which keeps them as text when you format the column as Plain text first.

More guides

Based on Using CSV files to import and export products, Using barcodes for products and Variants now support multiple barcodes (Sept 2026).