
Barcode TypesBarcode Types
Can a Barcode Show an Expiration Date or Lot Number?
Learn when a barcode can carry an expiration date or lot number, and how to check the package and the source of a lookup result.
Compare UPC-A and EAN-13, understand GTIN lengths and leading zeros, and check what your retailer needs before printing a barcode.

For a retail product, start with the GTIN already assigned to the exact item and ask your retailer or marketplace which barcode and data format it accepts. UPC-A commonly carries a 12-digit GTIN-12, while EAN-13 commonly carries a 13-digit GTIN-13. Both are used internationally; a North American or European sales destination alone does not tell you what a particular partner’s system will accept. [1][2]
| UPC-A | EAN-13 | |
|---|---|---|
| Number commonly associated | GTIN-12: 12 digits | GTIN-13: 13 digits |
| Typical retail context | Common in North America | Common across much of the world |
| Practical check | Confirm the retailer’s barcode and data-field requirements | Confirm the retailer’s barcode and data-field requirements |
GTIN is the identification number; UPC-A and EAN-13 are barcode symbols that carry retail identification data. Names are sometimes used loosely for both number and symbol. GS1 also defines UPC-E and EAN-8 for particular applications; do not assume every UPC or EAN label has the lengths in this table. [1][2]
If the product already has a GTIN: Obtain the assigned value and details from the brand owner or your product record. Confirm with your receiving partner which symbol and input representation it expects. Don’t buy a second number merely because the product crosses a border. GS1 US says UPCs and EANs can be used internationally, but the actual partner must still accept the product data and its own system must process it. [1]
If you are launching a new product: Check your planned channels’ requirements first. If a GS1 identifier is needed, contact the relevant GS1 organization about an appropriate identifier and assignment. Different product variations may require distinct identifiers. Generate the barcode image only after you know the assigned value and the required format. [3]
If a partner requests a particular format: Ask whether it means the number entered into a listing, the printed symbol, or both. A scanner’s ability to read a symbol is separate from the retailer having the correct product record and accepting your label.
Some systems represent shorter GTINs in a fixed 14-digit field by adding leading zeros as padding. For example, GS1 shows the GTIN-12 012345000058 represented as 00012345000058 in a 14-digit format. The original leading zero in the 12-digit value is part of that value; the two additional zeros are padding for this representation. [4]
This is GS1’s published illustration, not a number assigned to your product. Do not strip zeros or relabel an arbitrary 13-digit GTIN as a 12-digit UPC. Confirm which digits are padding and which are part of the assigned identifier with your partner or GS1, then preserve the full value in the format the receiving system specifies.
If the retailer’s instruction conflicts with your existing identifier or the equipment cannot read the sample, pause the print run and ask the retailer and GS1 or your print provider how to resolve it.
[1] GS1 US. EAN Numbers and UPCs. https://www.gs1us.org/upcs-barcodes-prefixes/ean-vs-upc
[2] GS1. Which barcodes are used to represent GTINs? https://support.gs1.org/support/solutions/articles/43000734104-which-barcodes-are-used-to-represent-gtins-
[3] GS1 US. Barcode FAQs. https://www.gs1us.org/faqs/gs1-company-prefix-barcodes-and-indentification
[4] 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/
[5] GS1. How can I measure the quality of my printed barcodes? https://support.gs1.org/support/solutions/articles/43000734152-how-can-i-measure-the-quality-of-my-printed-barcodes-