Barcodes guide
The Shopify Barcodes column: format for multiple barcodes
What you’ll need
Your products export CSV
How to get this: Your products export CSV
- Products › Export › All products › Export products.
- Small exports download; big ones arrive by email.
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.
The format
Shopify’s sample product CSV calls the column “Variant Barcodes”. Each cell holds every barcode for that variant.
- Separate barcodes with a semicolon. Shopify’s sample puts a space after it.
- Put the type and a colon before a value: upc, ean, isbn, gtin, asin or ns-pid. No prefix means Custom; if the digits are a valid GS1 code, the admin labels it “GTIN suggested” but keeps it as Custom.
- Up to 20 barcodes per variant, each up to 255 characters. The same value can’t appear twice on one variant.
- The first barcode is the one channels and older apps read, so put your main barcode first.
- Inside a value, write a backslash as \\, a semicolon as \; and a colon as \:
ean:4006381333931; upc:036000291452
isbn:978-1-4028-9462-6
gtin:00012345678905; upc:012345678905; INTERNAL-123
BIN\:A\;12Barcode and Barcodes in the same file
A file that has both the old singular Barcode column and the Barcodes column fails to import. Shopify’s importer stops with: “Cannot have both Variant Barcode and Variant Barcodes. Remove one of these columns and try importing again.” Old exports used “Variant Barcode”; your next export uses the new column. Merge the two into one Barcodes column and delete the old one. The builder does this for you.
What Shopify checks
When a barcode has a type, Shopify checks it against that standard’s characters, length, prefix and check digit. Untyped barcodes are stored exactly as written.
- UPC: 8 or 12 digits.
- EAN: 8 or 13 digits.
- GTIN: 8, 12, 13 or 14 digits.
- ISBN: 10 or 13 characters; can include X.
- ASIN: 10 letters or digits.
- NS-PID and Custom: anything up to 255 characters.
More guides
Based on Using CSV files to import and export products, Using barcodes for products and Variants now support multiple barcodes (Sept 2026).