
Barcode TypesBarcode Types
What Is the 5-Digit Add-On on a Book Barcode?
Learn how the five-digit book barcode supplement relates to the ISBN and US cover price, and when to ask a retailer about its requirements.
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.

Sometimes. A standard retail UPC or EAN typically identifies the product; it does not itself contain the expiration date of your particular package. Other barcodes, including GS1 DataMatrix and GS1-128, can carry an expiration date or lot number alongside a product identifier when those fields are included. A barcode’s shape alone does not tell you which data is present. [1]
Start with the date printed on the package. If a scanner or app shows a date, find out whether it decoded that date from the symbol, read printed text, or looked it up in a separate record. Confirm that the information refers to your specific package or lot before relying on it.
| What you see | Where the information comes from | What to check |
|---|---|---|
| Data decoded from a barcode | A field actually encoded in that symbol | Which field is it, and does it identify the right product and lot? |
| A date printed on the package | Text placed on the physical item or its packaging | Read the label and check what the date is called. |
| A date shown after a lookup | A database or a record associated with a scan | Ask who supplied it, how it was matched to this lot, and when it was updated. |
An app can identify a product from a UPC and still need a date entered separately or obtained from another source. A product-level match alone does not establish the date of an individual package. A barcode scan also does not establish that a product is authentic, has been stored correctly, or is safe to use.
GS1 defines Application Identifiers (AIs) that label the meaning of data in compatible barcode formats. These are three useful fields: [2][3][4]
| AI shown in human-readable text | Meaning | Example data format |
|---|---|---|
| (10) | Batch or lot number | Variable-length text |
| (15) | Best-before date | YYMMDD |
| (17) | Expiration date | YYMMDD |
A lot number identifies a batch; it is not automatically a date. A best-before date and an expiration date are different data fields. For example, GS1’s retail guideline illustrates a GS1 DataMatrix containing (17)271231 and (10)7654321D: in that example, the first field denotes an expiration date of December 31, 2027, and the second denotes the lot. The fields shown here are an excerpt of GS1’s illustrative data, not a barcode we generated or scanned. [5]
A GS1-aware scanner or application may display the fields in a different format from the text above. Parentheses help people read the AIs; do not assume that every raw scanner output will display them. If the result is unclear, use the system’s documentation or ask the organization responsible for the label. Avoid guessing field boundaries from an unparsed string.
No barcode or date alone proves that an item was stored and handled safely. Date labels also have different meanings. For example, USDA explains that a “best if used by” date on the foods it discusses concerns best flavor or quality; storage and handling matter, and infant formula has a specific exception. Follow the manufacturer’s instructions and the relevant official guidance for the product in question. [6]
[1] GS1. Which barcodes are used to represent GTINs? https://support.gs1.org/support/solutions/articles/43000734104-which-barcodes-are-used-to-represent-gtins-
[2] GS1. GS1 Application Identifier 10: Batch or lot number. https://ref.gs1.org/ai/10
[3] GS1. GS1 Application Identifier 15: Best before date. https://ref.gs1.org/ai/15
[4] GS1. GS1 Application Identifier 17: Expiration date. https://ref.gs1.org/ai/17
[5] GS1. 2D Barcodes at Retail Point-of-Sale Implementation Guideline, examples of GS1 DataMatrix data. https://ref.gs1.org/guidelines/2d-in-retail/1.0.0/
[6] USDA Food Safety and Inspection Service. Can I keep meat or poultry that has a use by date in my refrigerator until the use by date? https://ask.fsis.usda.gov/article/Can-I-keep-meat-or-poultry-that-has-a-use-by-date-in-my-refrigerator-until-the-use-by-date