Retail identification

UPC vs EAN: GTIN-12 vs GTIN-13

Both are numeric retail barcode formats, but the product identifier and trading-partner requirements come before the choice of artwork.

Quick answer: UPC-A carries a 12-digit GTIN commonly used in North America. EAN-13 carries a 13-digit GTIN commonly used internationally. Choose the symbol required for your assigned identifier and sales channel—not by deleting or adding digits until a generator accepts the value.

UPC-A vs EAN-13 at a glance

PropertyUPC-AEAN-13
Encoded digits12, including the check digit13, including the check digit
Common identifier nameGTIN-12GTIN-13
Common marketUnited States and CanadaEurope and many international markets
Primary jobIdentify a retail trade item at point of saleIdentify a retail trade item at point of sale
Input to QRacade11 digits to calculate the last digit, or 12 to validate12 digits to calculate the last digit, or 13 to validate
Real browser-generated UPC-A, EAN-13, CODE 128 and CODE 128C symbols
Real generated symbols: EAN-13 appears at lower left and UPC-A at lower right. Their human-readable digits are part of the identifier; the bars are the machine-readable representation.

GTIN is the identifier; UPC or EAN is the data carrier

A Global Trade Item Number (GTIN) identifies a product or trade item. A barcode symbol carries that number so a scanner can read it. UPC-A and EAN-13 are two EAN/UPC symbologies used for retail items.

The number is not a description of the product's country of manufacture. It also does not become an official retail identifier merely because its check digit is valid. Read how to get a barcode for a product before creating packaging for a new retail item.

Both use a final check digit

UPC-A and EAN-13 use a GS1 Modulo-10 check digit calculated from the preceding digits. Its purpose is to catch common data-entry errors. It does not prove product ownership, authenticity or registration.

Use the UPC-A generator for 11- or 12-digit input and the EAN-13 generator for 12- or 13-digit input. The tools calculate or verify the final digit before enabling downloads. To check numbers without creating artwork, use the barcode check digit calculator.

How to choose for a real product

  1. Start with the GTIN assigned to the item. Do not create a new number just because a different barcode shape looks more international.
  2. Check the retailer or marketplace specification. It may define accepted identifier types, product data and artwork rules.
  3. Confirm the scanning environment. Modern systems often support both, but the complete product workflow—not the scanner alone—determines acceptance.
  4. Generate the appropriate symbol. Keep its required dimensions and quiet zones, then test the final print.

Zero-padding a database value is not casual artwork editing

A GTIN-12 can be represented within a 13-digit data field by adding a leading zero in systems that normalise GTIN lengths. That does not mean you should arbitrarily add a zero to printed numbers or change the symbol on packaging without checking the identifier and receiving system.

Likewise, removing a leading zero from a 13-digit value does not automatically produce a valid UPC-A assignment. Preserve the authoritative product identifier and generate the symbology required by the application.

UPC and EAN are not the same as an internal SKU

A SKU is controlled by a business for its own inventory. It can contain letters and a company-specific structure. A GTIN supports identification across trading partners. If you only need an internal warehouse label, CODE 128 may be appropriate; if you need a retail trade-item identifier, follow the GS1 and retailer process.

Frequently asked questions

Is EAN-13 better than UPC-A?

Neither format is inherently better. They represent different GTIN lengths and label conventions. Choose according to the identifier you were assigned and the retailer, marketplace and scanning workflow requirements.

Can a UPC barcode be scanned outside North America?

Many modern retail systems can process UPC and EAN identifiers, but compatibility is determined by the retailer's software, scanner configuration and product-data requirements. Confirm with the trading partner rather than assuming.

Can I turn any 12-digit number into a valid UPC product code?

A generator can calculate a check digit and draw the bars, but that does not allocate a legitimate retail GTIN or register a product. Retail identifiers must come from an authorised allocation process or brand owner.

Does replacing UPC with a QR code preserve checkout scanning?

Not automatically. A QR code can carry a product link or other data, but a point-of-sale system must support the specific 2D format and encoded GS1 data. Follow the retailer's migration and artwork requirements.

Create retail artwork

Generate UPC-A or EAN-13

Use your assigned product identifier, validate the check digit and download print-ready artwork.

Open UPC-A generator Open EAN-13 generator

Related guides