
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 common barcode types by data, use, and scanner. Learn how to choose a format, identify an existing symbol, and check the result.

The right barcode type depends on what you need to identify or encode, where the symbol will be used, and what the receiving scanner and software accept. For example, a UPC-A is a common starting point for a U.S. retail item, while Code 128 may suit an internal inventory label and a QR Code can carry a web link. Check your retailer’s or trading partner’s requirements before choosing: a barcode that scans successfully is not automatically accepted by their system. [1]
| Your task | A type to investigate | Check before choosing |
|---|---|---|
| Identify a product at retail checkout | UPC-A or EAN-13 | Obtain the appropriate product identifier and confirm the retailer’s requirements. |
| Label an outer case for distribution | ITF-14 | Confirm the packaging level and recipient’s label specification. It is generally used on cases not scanned at retail checkout. |
| Carry a shipping identifier or additional product attributes | GS1-128 | Confirm the required GS1 data fields and the recipient’s label rules. |
| Track assets or stock inside your own system | Code 128 or Code 39 | Check permitted characters, available label space, and the scanners and software you control. |
| Open a webpage with a phone | QR Code | Check the exact URL, the intended phone reader, and whether the destination works. |
| Put more information in a compact 2D symbol | Data Matrix or a suitable QR Code | Confirm the data format, reader compatibility, and any industry or partner rules. |
These are starting points, not interchangeable substitutes. GS1 US describes UPC-A and EAN-13 for retail, ITF-14 for distribution cases, and GS1-128 for logistics and additional attributes. It also describes QR Code and Data Matrix uses. [1] For internal labels, Code 128 and Code 39 are linear symbologies to consider; the receiving application still determines whether either is suitable. [2]
A 1D barcode represents data in a linear pattern of bars and spaces. UPC-A, EAN-13, Code 128, Code 39, and ITF-14 are examples. A 2D barcode represents data in a two-dimensional pattern; QR Code and Data Matrix are examples. A QR Code is itself a barcode, not a separate alternative to all barcodes. [1]
Two-dimensional symbols can carry more information in a compact area, but a smaller-looking symbol does not guarantee that your specific printer and reader can handle it. Check the actual equipment and the application that receives the scan. A scanner may support a format but have its decoder disabled, or the software may not understand the resulting data. For example, Zebra’s DataWedge documentation distinguishes scanner selection, enabled decoders, and data processing; other systems have their own settings. [2]
Is the value a product identifier, an internal asset ID, a shipment identifier, a URL, or several fields such as a product identifier and a lot number? Record the exact value as text, including leading zeros. A barcode is the carrier; the identifier and any database record are separate from the printed pattern.
For a retail product, confirm which identifier the channel requires and how to obtain it. GS1 US explains the distinction between a GTIN, which identifies a trade item, and the barcode that carries it. [3] Creating an image does not assign or license an identifier.
List each destination: your stockroom, a retailer’s checkout, a distributor’s receiving dock, or a customer’s phone. Ask external recipients for their current written specifications. If the same item must work in several places, check all of them before assuming one symbol will satisfy every workflow.
A retail item and its shipping case can have different identification and labeling requirements. A QR Code that opens a website should not be assumed to replace the barcode required at checkout. [1]
Use the table as a shortlist, then check the exact character set and data rules of the chosen format and the application standard, if one applies. GS1-128, for example, is used with structured GS1 data; an ordinary Code 128 label carrying arbitrary text should not be treated as equivalent. GS1 US describes GS1-128 use for logistics and attributes such as batch or date. [1]
Measure the available space on the actual package or label. Follow the applicable recipient and print specifications, including the clear space around the symbol. Do not simply shrink a symbol until it fits. Confirm that the intended scanner can read the selected type and that the receiving software can interpret the data.
A successful scan confirms a read under those conditions. It does not by itself establish identifier ownership, a database match, partner acceptance, or a formal print-quality grade. Ask the recipient whether formal verification is required.
First note where it appears and whether it has vertical bars or a matrix pattern. A 12-digit number beside a retail linear symbol is a useful clue for UPC-A; a 13-digit number may suggest EAN-13. A case label may point you toward ITF-14 or GS1-128. These clues are not proof: different symbologies can carry similar values, and a number’s length alone cannot identify every symbol. [1]
Next, use a reader that reports the symbology as well as the decoded value, or consult the label issuer’s documentation. If the reader shows only a number or text, ask its vendor how to enable the type identifier. Zebra documents configurable barcode-type feedback for its DataWedge software, but the setting and output depend on the device and application. [2] Compare the result with the issuer’s specification before reproducing the label.
Internal asset label. Suppose your system uses the text ASSET-1042, and your organization controls both the scanner and inventory software. Code 128 is a candidate if the software accepts it and the label fits. Create a test label, scan it into the target application, and verify that ASSET-1042 arrives unchanged and opens the intended record. If the reader cannot decode it, check its enabled formats and label quality before changing the data.
Retail product. Suppose you are preparing a package for a U.S. retailer. Ask the retailer which identifier and barcode it requires, obtain the appropriate identifier, and follow its artwork and verification requirements. UPC-A may be the starting point, but successful scanning alone does not establish that the product is listed or that the label meets that retailer’s requirements. [1][3]
These are decision examples, not claims that a particular label or device was tested.
[1] GS1 US. Types of Barcodes. https://www.gs1us.org/upcs-barcodes-prefixes/barcode-types
[2] Zebra Technologies. Barcode Input, DataWedge 15.0. https://techdocs.zebra.com/datawedge/latest/guide/input/barcode/
[3] GS1 US. What Is a GTIN? https://www.gs1us.org/upcs-barcodes-prefixes/what-is-a-gtin