
Barcode BasicsBarcode Basics
Do Barcodes Set Off Store Alarms?
Learn what store security gates detect, how a barcode scan can be connected to tag deactivation, and what to do if an alarm sounds.
Learn what a GTIN identifies, how its four lengths relate to UPC and EAN barcodes, and where to check an existing number and its product record.

A GTIN, or Global Trade Item Number, is a GS1 identifier for a trade item: a product or service that can be priced, ordered, or invoiced. A GTIN identifies the item; a barcode is one way to carry that number so a scanner can read it. GTINs come in four structures: GTIN-8, GTIN-12, GTIN-13, and GTIN-14. [1]
If you have a number on a product, start by preserving every digit, including leading zeros. Then check its length and context, and use a GS1 lookup to compare any available company and product information. A valid-looking number alone does not prove that a particular physical item is genuine or that a retailer will accept the listing.
| Format | Digits | Typical context |
|---|---|---|
| GTIN-8 | 8 | Small retail items where space is limited. |
| GTIN-12 | 12 | Common on North American retail products; carried in a UPC-A symbol. |
| GTIN-13 | 13 | Common on retail products in many markets; carried in an EAN-13 symbol. |
| GTIN-14 | 14 | Often used to identify a trade-item grouping, such as a case. |
All four structures are used globally; the retailer’s or trading partner’s requirements determine what to enter or print for a particular item. The lengths include the final check digit. [1][2] A digit count is a useful first clue, not proof of assignment or ownership.
Be careful with leading zeros. Systems may represent a shorter GTIN in a 14-digit data field by padding it on the left with zeros. That representation does not, by itself, create a new case-level identifier. Preserve the source value and follow the receiving system’s instructions rather than deleting or adding digits to guess a different product. [2]
A GTIN is the identifier; UPC-A and EAN-13 are barcode symbologies used to carry particular GTIN structures. In everyday conversation, “UPC” can mean the number or the printed symbol. For a standard UPC-A, the 12-digit number is a GTIN-12. An EAN-13 symbol carries a GTIN-13. [1]
A SKU is a stock-keeping code used within a business’s own inventory system. Two retailers can use different SKUs for the same product while using the same GTIN for the trade item. A GTIN normally identifies a product variant or trade-item grouping, not an individual physical unit. [1]
For example, a single bottle and an orderable case of bottles are different packaging levels. Ask the brand owner for the identifier assigned to each level; do not assume the case number can be made by simply adding a digit to the bottle’s number.
The lookup, a successful scan, and a check digit answer different questions. The lookup checks information available to that service; a scan reads a symbol; and a check digit checks the number’s mathematical composition. None on its own is a guarantee about the physical product.
If you are listing an existing product, first obtain the identifier assigned by its brand owner. If you are the brand owner and need GS1 identifiers, review the options and assignment guidance from your local GS1 organization. GS1 US describes a single GTIN option and a company prefix for businesses that need a capacity of identifiers. Fees and retailer requirements can change, so check the current terms before purchasing. [1]
A barcode image generator can render data you supply; it does not establish that the number is licensed to you or assigned to your product. Once you have the correct identifier, choose the barcode and label format required by your channel and test it in the intended workflow.
[1] GS1 US. What is a GTIN? https://www.gs1us.org/upcs-barcodes-prefixes/what-is-a-gtin
[2] GS1. 2D Barcodes at Retail Point-of-Sale Implementation Guideline, release 1.1, section 4. https://ref.gs1.org/guidelines/2d-in-retail/1.1.0/
[3] GS1. Check digit calculator. https://www.gs1.org/services/check-digit-calculator
[4] GS1. Verified by GS1. https://www.gs1.org/services/verified-by-gs1