Barcode Types

What Is a Data Matrix Barcode and How Do You Read It?

Learn what a Data Matrix barcode looks like, where it is used, and how to choose a reader and check what a scan returns.

Share
Table of contents

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.

Where might you encounter one?

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.

Data Matrix and QR Code: a quick visual check

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]

What does GS1 DataMatrix mean?

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.

How to scan and check the result

  1. Choose a compatible reader. For GS1 DataMatrix, GS1 specifies a 2D imaging scanner or vision system. Check that the device or app supports Data Matrix and that the feature is enabled; a reader that handles ordinary linear barcodes may not handle this symbol. [5]
  2. Present the actual symbol. Keep it in focus and include the entire code and the clear area around it. For a small or directly marked part, select equipment suitable for that surface and size.
  3. Inspect what came back. Compare the complete decoded value with the label, source record, or expected data. Your software may interpret fields or show a raw string; ask the system owner how its output is formatted.
  4. Complete the separate lookup or workflow. If you need a product record, movement event, or other result, use the authorized system that has that information. A successful decode alone does not prove a match, authenticity, or acceptance by a downstream system.

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]

What if it will not scan?

  • Check the reader first. Confirm Data Matrix support and settings. Try a compatible 2D imager if the current device only reads linear codes.
  • Inspect the mark. Damage to the L-shaped pattern, poor contrast, glare, tiny cells, or printing in the surrounding clear area can make location and decoding harder. Change the lighting or position and follow the equipment instructions. [2]
  • Check the output, not just the beep. If the code scans but the expected record is missing, compare every character and confirm that the correct database and application are in use.
  • Escalate a damaged or questionable label. Use your organization’s identification and replacement procedure; do not guess the missing data. If a formal quality grade is required, use the applicable verification process rather than treating one successful scan as a grade. [2]

References

[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-