# Data Matrix

> Source: https://docs.barcoder.ai/docs/standards/data-matrix
> research date 2026-05-29 · extracted at 2026-10-03
> Publisher: Barcoder — encyclopedia of QR, barcode and payment-code standards

Specifications:
- [ISO/IEC 16022:2024 — Data Matrix bar code symbology specification (3rd edition)](https://www.iso.org/standard/80926.html)
- [Data Matrix — Wikipedia](https://en.wikipedia.org/wiki/Data_Matrix)

## Overview

**Data Matrix** is a 2D matrix barcode symbology, invented in **1987 by International Data Matrix Inc.** (later RVSI/Acuity CiMatrix, acquired by Siemens 2005 → Microscan 2008 → Omron 2017) <sup>[1][1], [2][2]</sup>. It is the canonical 2D symbology for **very-small-footprint industrial marking** — direct-part-marking on automotive components, pharmaceutical serialisation, electronic components, surgical instruments. Standardised as **ISO/IEC 16022** (first published 2000, current edition 2024) <sup>[3][3]</sup>. **Public domain — no licensing fees** <sup>[1][1]</sup>.

The current variant **ECC 200** uses Reed–Solomon error correction and can be decoded reliably with **up to 30 % damage** — the structural feature that makes it survive industrial wear, etching, and weathering where QR codes or PDF417 would not <sup>[1][1]</sup>.

## History

**1987 — Invention** <sup>[1][1], [2][2]</sup>: International Data Matrix Inc. (ID Matrix) developed the Data Matrix symbology for industrial part-tracking applications where small footprint and damage tolerance were critical.

**Corporate lineage of the inventor** <sup>[1][1]</sup>:
- 1987 — International Data Matrix Inc. (ID Matrix)
- Merged into RVSI / Acuity CiMatrix
- October 2005 — Acquired by **Siemens AG**
- September 2008 — Acquired by **Microscan Systems**
- 2017 — Acquired by **Omron** (current owner of the original IP heritage)

**Standardisation** <sup>[3][3], [4][4]</sup>:
- **ISO/IEC 16022:2000** (Edition 1) — first international standard publication
- **ISO/IEC 16022:2006** (Edition 2) — revised
- **ISO/IEC 16022:2024** (Edition 3) — current, latest revision

**Public-domain status**: Despite the corporate ownership chain, Data Matrix has been **placed in the public domain for most applications** since the standardisation in 2000, similar to QR Code's open-licensing model <sup>[1][1]</sup>. This removed the royalty barrier that would have prevented Data Matrix from becoming the dominant industrial 2D symbology.

**ECC 200 evolution**: The current "ECC 200" variant is the only Data Matrix version recommended for new implementations — earlier ECC 000–140 variants used a different (less robust) error correction algorithm and are deprecated <sup>[1][1], [5][5]</sup>.

## Technical specification

Data Matrix is a **2D matrix symbology** (square or rectangular cell grid) with these structural properties <sup>[1][1], [5][5]</sup>:

| Parameter | Value |
|---|---|
| Symbol shape | Square or rectangular |
| Cell ("module") values | Binary — dark or light |
| Smallest square size | 10 × 10 cells |
| Largest square size | 144 × 144 cells (ECC 200) |
| Largest rectangular size | 16 × 48 cells (ECC 200) |
| Capacity (ECC 200, max numeric) | 3 116 digits |
| Capacity (ECC 200, max alphanumeric) | 2 335 chars |
| Capacity (ECC 200, max binary) | 1 556 bytes |
| Error correction | Reed–Solomon, fixed per symbol size |
| Damage tolerance (ECC 200) | Up to ~30 % at typical sizes |
| Encoding modes | ASCII, C40 (alphanumeric), Text, X12 (EDI), Edifact, Base 256 (binary) |

**Structural features** <sup>[1][1], [5][5]</sup>:
- **Finder pattern** — two solid edges (the "L-pattern") on adjacent sides of the symbol, providing orientation reference.
- **Timing pattern** — alternating dark/light cells on the opposite two edges, providing cell-size calibration.
- **Data region** — the interior cells encoding the payload.

**Comparison with [QR Code](https://docs.barcoder.ai/docs/standards/qr-code) in structural design** <sup>[1][1], [6][6]</sup>:
- Data Matrix's L-pattern finder is asymmetric and requires only two sides; QR has three corner finder squares.
- Data Matrix has no quiet-zone requirement around the L-pattern (only minimal); QR requires a 4-module quiet zone on all sides.
- Data Matrix scales to much smaller printable sizes (typically down to ~2.5 mm; QR practical minimum is larger).

**Variants and related symbologies**:
- **ECC 200** — current version with Reed–Solomon EC; the only variant recommended for new use.
- **ECC 000–140** — older variants with convolutional EC; deprecated.
- **GS1 DataMatrix** — Data Matrix carrying GS1-formatted data (application identifiers + values), used in healthcare and pharmaceutical serialisation.

## Use cases

Data Matrix dominates **small-footprint industrial and regulated marking** <sup>[1][1], [7][7]</sup>:

- **Pharmaceutical serialisation** — every prescription drug carton sold in the EU (since the Falsified Medicines Directive 2019) and US (since the Drug Supply Chain Security Act phased rollout) carries a **GS1 DataMatrix** with GTIN + serial number + batch + expiry. This is structurally the largest single use case by deployed-symbol count.
- **Automotive direct-part-marking (DPM)** — engine components, brake parts, transmission housings are laser-etched or dot-peened with Data Matrix codes for warranty traceability and recall management.
- **Aerospace** — every safety-critical part on a commercial airliner is Data Matrix-marked per IAS / SAE standards.
- **Electronic components** — printed circuit boards, surface-mount components, microchips carry Data Matrix for assembly-line tracking.
- **Surgical instruments** — Data Matrix marking enables sterilisation cycle tracking and individual instrument identification in hospital sterilisation workflows.
- **Postal services** — postal mark labels, customs declarations (UPU S10 format inside Data Matrix).
- **Defence and military** — UID (Unique Item Identifier) requirements for the US Department of Defense use Data Matrix for asset marking.
- **Food and beverage traceability** — increasingly used on cans, bottles, packaging for batch and date tracking.

**Why Data Matrix beats alternatives in these contexts** <sup>[1][1]</sup>:
- Smaller printable footprint than QR Code or PDF417 — fits on a 2 × 2 mm laser etch.
- More damage-tolerant than QR Code at small sizes (30 % vs 30 % nominal but Data Matrix's smaller cells survive sub-pixel damage better).
- No royalty-bearing alternatives at this size class.

## Implementations

Data Matrix has **comprehensive open-source and commercial library support** across all major languages, reflecting its industrial-marking ubiquity <sup>[8][8]</sup>:

- **Java + many ports** — [zxing/zxing][8] — 34 000★, active 2025. Decodes (and encodes) Data Matrix alongside QR, PDF417, Aztec, and 1D symbologies. The de-facto open-source 2D barcode reader.
- **C / C++** — **`libdmtx`** — long-standing GNU-licensed encoder/decoder; foundational library for industrial Linux deployments.
- **Python** — **`pylibdmtx`** wraps libdmtx; **`treepoem`** wraps Barcode Writer in Pure Postscript.
- **C# / .NET** — **ZXing.Net**, **Aspose.BarCode**, **Dynamsoft Barcode Reader** (commercial).
- **Industrial scanners** — every commercial 2D scanner (Cognex, Datalogic, Honeywell, Keyence, Omron, SICK, Zebra) supports Data Matrix natively; many were designed primarily for Data Matrix decoding (industrial heritage).
- **Mobile SDKs** — Scanbot, Scandit, Anyline, Dynamsoft offer commercial mobile SDKs with Data Matrix as a core supported format.

**Open standards documentation**:
- [ISO/IEC 16022:2024][3] — the canonical specification.
- **GS1 General Specifications** — define GS1 DataMatrix application data encoding for retail, healthcare, logistics.

## Comparison

**vs. [QR Code](https://docs.barcoder.ai/docs/standards/qr-code)** — Different design philosophy.

| Dimension | Data Matrix | QR Code |
|---|---|---|
| Primary use | Industrial marking, regulated | Consumer-facing, marketing, payments |
| Smallest practical size | ~2.5 mm side | ~10 mm side |
| Finder pattern | L-pattern (two solid edges) | 3 corner squares |
| Damage tolerance | Up to 30 % | Up to 30 % (high EC mode) |
| Max numeric capacity | 3 116 digits | 7 089 digits |
| Royalty status | Public domain | Public domain |
| Standard | ISO/IEC 16022 | ISO/IEC 18004 |
| Inventor | International Data Matrix Inc. (1987) | Denso Wave (1994) |

Data Matrix's smaller size wins industrial marking; QR Code's bigger capacity + omnidirectional matrix structure wins consumer-facing applications including all the [Pix](https://docs.barcoder.ai/docs/standards/pix) / [SGQR](https://docs.barcoder.ai/docs/standards/sgqr) / [DuitNow QR](https://docs.barcoder.ai/docs/standards/duitnow-qr) / etc. payment standards.

**vs. [PDF417](https://docs.barcoder.ai/docs/standards/pdf417)** — PDF417 is rectangular stacked-linear; Data Matrix is matrix. PDF417 fits document layouts (driver's licenses, boarding passes) where Data Matrix fits part-marking layouts (engine components, drug cartons). Different shape, different application niche [[pdf417-ref]].

**vs. [Aztec](https://docs.barcoder.ai/docs/standards/aztec)** — Both 2D matrix; both ~30 % damage-tolerant; both in transit-ticket / industrial use. Aztec has a distinctive bullseye finder pattern and **no quiet zone requirement**, giving it a slight footprint advantage on cluttered backgrounds; Data Matrix dominates pure industrial marking by historical entrenchment [[aztec-ref]].

## Fun facts

**Every prescription-drug carton sold in the EU since 2019 has a Data Matrix on it** <sup>[1][1], [7][7]</sup> — the Falsified Medicines Directive (2011/62/EU) requires GS1 DataMatrix with serial number + batch + expiry on every prescription package. This is structurally the **largest single deployment of any 2D barcode by number of physical symbols printed annually**: billions of drug cartons per year across the EU alone, each with a Data Matrix.

Data Matrix predates QR Code by **7 years** (1987 vs 1994) but never broke out of the industrial niche the way QR did. The structural reason: Data Matrix was always **optimised for tiny printable sizes** (laser-etched on parts) where consumer phones couldn't reliably decode them; QR Code was optimised for **consumer scanning at human-readable sizes** (printed on posters and packaging). The decade-long head-start didn't translate into consumer adoption because the design priorities were wrong for that market <sup>[1][1]</sup>.

The **30 % damage-tolerance claim** is structural to Reed–Solomon ECC 200 <sup>[1][1]</sup> — surgical instruments going through autoclave sterilisation cycles get etched Data Matrix codes that survive thousands of high-temperature steam cycles plus mechanical wear. The same damage tolerance keeps engine-component traceability codes readable after decades of use. This is the property that justifies the cost of laser-etching versus printing.

## Status

**Active, foundational, and growing** in regulated and industrial marking <sup>[1][1], [3][3]</sup>:

- **ISO/IEC 16022:2024** (Edition 3) is the current spec
- **Public domain** — no licensing barriers
- **GS1 DataMatrix** is mandatory in EU pharmaceutical packaging since 2019
- **US DSCSA** rollout continues to expand US pharmaceutical Data Matrix mandate
- **DoD UID requirements** continue to drive defence-sector deployment
- **Pharmaceutical serialisation worldwide** expanding (China, Brazil, India, Russia all have Data Matrix-based serialisation regimes coming online 2024–2027)

**Strategic context**:
- Industrial 2D barcode market continues steady growth alongside Industry 4.0 / smart manufacturing.
- Data Matrix is the **default** 2D choice for any application where (a) the printed size needs to be < 10 mm, (b) the symbol will be damaged during use, or (c) regulated traceability requires structured data (GS1 application identifiers).
- No deprecation planned; ISO continues to maintain the standard.

## Sources

[1]: https://en.wikipedia.org/wiki/Data_Matrix
[2]: https://bytescout.com/blog/2013/10/data-matrix.html
[3]: https://www.iso.org/standard/80926.html
[4]: https://www.iso.org/standard/44230.html
[5]: https://www.barcodefaq.com/2d/data-matrix/
[6]: https://www.dynamsoft.com/blog/insights/qr-vs-pdf-417-vs-datamatrix/
[7]: https://www.crossco.com/resources/articles/the-advantages-of-using-2-dimensional-datamatrix-barcodes/
[8]: https://github.com/zxing/zxing
[9]: https://www.dapramarking.com/part-id-traceability/data-matrix-codes
[pdf417-ref]: https://docs.barcoder.ai/source/standards/pdf417
[aztec-ref]: https://docs.barcoder.ai/source/standards/aztec

1. [Data Matrix — Wikipedia][1]
2. [Data Matrix history, advantages, limitations — ByteScout][2]
3. [ISO/IEC 16022:2024 — Data Matrix specification][3]
4. [ISO/IEC 16022:2006 (Edition 2)][4]
5. [Data Matrix 2D Barcode FAQ — BarcodeFAQ][5]
6. [QR vs PDF417 vs Data Matrix — Dynamsoft][6]
7. [Data Matrix in part identification — Daprà Marking][7]
8. [zxing/zxing — GitHub][8]
9. [Data Matrix code read/verify — Daprà Marking][9]

## Deployments

_No country reports mention this standard by name._

## Regions / aggregations not mapped to a single country

- Universal
