
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.
Learn what a Data Matrix barcode looks like, where it is used, and how to choose a reader and check what a scan returns.

A Data Matrix barcode is a two-dimensional pattern of light and dark cells that carries data in a compact area. It can be square or rectangular. Look for a solid L-shaped border along two adjacent sides and alternating light and dark cells on the other sides. To read one, use an imaging scanner or app that supports Data Matrix, then check the returned data against the task you are trying to complete. [1][2]
The pattern is a useful visual clue, not proof of what the code contains or which organization issued it. The same type of symbol can carry different data for different applications.
Data Matrix symbols appear on product packaging and small components, including healthcare products and reusable instruments. Some are printed on labels; others are marked directly on a part. GS1 describes uses that include a product identifier together with details such as a batch or expiration date. The requirements depend on the item and the system using it. [1][3]
A code may contain an identifier, structured fields, or other data. It is not necessarily a website link. A reader may display a string of characters rather than a product page, and an application needs the right rules and data source to interpret or look up that string.
| Feature | Data Matrix | QR Code |
|---|---|---|
| Common identifying pattern | Solid L-shaped finder pattern on adjacent sides | Three prominent square finder patterns in the corners |
| Shape | Can be square or rectangular | Usually recognized as a square symbol |
| What a scan means | Depends on the encoded data and the receiving application | Depends on the encoded data and the receiving application |
Use the pattern to guide your choice of reader, not to infer that a code is safe, authentic, or connected to a particular database. GS1’s retail guidance describes the different finder patterns and the clear area around each symbol that helps a reader locate it. [2]
Data Matrix names the barcode symbology. GS1 DataMatrix is a GS1 implementation of Data Matrix ECC 200 that uses GS1 rules to structure the data; its data can include GS1 Application Identifiers that describe fields such as a product identifier or batch. A visually similar Data Matrix is not automatically a GS1 DataMatrix. GS1 also describes a Data Matrix carrying a GS1 Digital Link URI, which uses a different data syntax. [1][4]
If you must meet a retailer, healthcare, manufacturing, or regulatory requirement, ask which symbol and data format that specific workflow accepts. Merely choosing a Data Matrix image does not establish that its data, print quality, or placement meets that requirement.
A phone app may be convenient for a quick check when it explicitly supports Data Matrix, but verify it on the symbol and data you need. A scan on one device does not guarantee that another device or retail checkout will read and process the same mark. [2][5]
[1] GS1. GS1 DataMatrix Guideline, introduction and general structure. https://ref.gs1.org/guidelines/datamatrix/
[2] GS1. 2D Barcodes at Retail Point-of-Sale Implementation Guideline, section 4. https://ref.gs1.org/guidelines/2d-in-retail/
[3] GS1. Will EAN/UPC barcodes be replaced by GS1 DataMatrix at retail POS? https://support.gs1.org/support/solutions/articles/43000734346-will-ean-upc-barcodes-be-replaced-by-gs1-datamatrix-at-retail-pos-
[4] GS1. What is the difference between the 2D barcode options? https://support.gs1.org/support/solutions/articles/43000756000-what-is-the-difference-between-the-2d-barcode-options-gs1-datamatrix-data-matrix-with-gs1-digital-l
[5] GS1. What are scanning requirements for GS1 DataMatrix symbols? https://support.gs1.org/support/solutions/articles/43000734287-what-are-the-scanning-requirements-for-gs1-datamatrix-symbols-