UPC, EAN and GTIN: the barcodes Walmart, Amazon and eBay ask for

Sooner or later every marketplace asks for a barcode. Walmart wants a GTIN, Amazon wants a UPC or an EAN, eBay asks for an EAN or says "does not apply". They are mostly asking for the same number written different ways, and once you see how the formats fit together, most barcode errors fix themselves.
One number, four lengths
GTIN, the Global Trade Item Number, is the family name. UPC and EAN are members of it, named after the barcodes they were printed in. GS1, the body that issues them, describes four lengths:
| Format | Digits | Also called | Mostly used for |
|---|---|---|---|
| GTIN-12 | 12 | UPC, UPC-A | Products sold in North America |
| GTIN-13 | 13 | EAN, EAN-13 | Products sold in Europe and most of the world |
| GTIN-14 | 14 | ITF-14 when printed | Cases and outer packs, and as a common 14-digit form |
| GTIN-8 | 8 | EAN-8 | Very small packs |
Padding: why 012345678905 and 00012345678905 are the same product
A shorter GTIN becomes a longer one by adding zeros in front. A UPC with a 0 in front is the EAN of the same product, and with two zeros it is its 14-digit GTIN. The check digit at the end does not change, because zeros in front do not change the calculation.
This is the single most common barcode bug. Open a list of UPCs in a spreadsheet and it drops the zero in front, so 012345678905 becomes 12345678905, eleven digits that no marketplace accepts. Keep barcode columns formatted as text, always.
The check digit
The last digit of every GTIN is calculated from the others, so a typo is almost always caught. Starting from the digit next to the check digit and moving left, multiply the digits alternately by 3 and by 1, add them up, and the check digit is whatever takes the total to the next multiple of 10. A barcode that fails the check was mistyped, and a marketplace that refuses it is right to.
What each marketplace asks for
- Walmart accepts a GTIN of 14 digits, a UPC of 12, an EAN, or an ISBN for books, with a shorter number padded with zeros in front to fit. It matches your offer to its existing item by that number, so the barcode decides which product you are selling against. Each product needs its own number; reusing one across different items is not allowed.
- Amazon matches offers to existing products by UPC, EAN or ISBN in the same way, and checks new products against GS1's records.
- eBay asks for an EAN or UPC on branded new items and lets you say "does not apply" where there truly is none.
- OnBuy lists your offer on its own product page for that barcode.
Products without a barcode
Handmade goods, private-label items and one-offs often have no GTIN. Walmart has an exemption for this, requested per category and product type with your brand and a reason; it is not available for branded goods from other makers, which must carry their real numbers. If you make your own products and plan to sell them widely, buying a licence from GS1 in your country gives you a block of numbers that are yours, which every marketplace accepts.
What does not work is a barcode bought cheaply from a reseller, recycled from someone else's licence. Amazon, for one, checks numbers against GS1's records, and a number registered to another company is a listing that can be removed without warning.
A clean barcode column
- Stored as text, never as a number.
- 12, 13 or 14 digits, nothing else: no spaces, no dashes.
- The check digit verified once, on import, rather than discovered by a marketplace.
- One number per variant: the medium blue shirt and the large blue shirt are different products.
Where Channekt fits
Channekt keeps one barcode per variant in your catalogue and sends each marketplace the form it reads. On Walmart, a UPC or an EAN goes out as the 14-digit GTIN Walmart expects, and your offer is placed on the item Walmart already carries for that number, with your SKU, price, condition and stock. More on the Walmart integration page.
Sources: GS1, "What is the difference between a GTIN, a barcode, an EAN and a UPC?"; Walmart Marketplace Learn, "Choose a product identifier" and "Request a GTIN exemption".


