What is a Data Matrix code?
Data Matrix is a 2D barcode made of square cells in a grid, with an L-shaped solid border on two sides and a dotted pattern on the other two. It holds much more data than a linear barcode in a much smaller space: a 10-character serial number fits in a square a few millimetres wide. Error correction (ECC 200, based on Reed–Solomon codes) means it still scans with part of it damaged.
| Capacity | Up to 2,335 letters or 3,116 digits in one symbol |
|---|---|
| Shape | Square (10×10 to 144×144 cells) or rectangular |
| Error correction | ECC 200 (Reed–Solomon), built in |
| Standard | ISO/IEC 16022 |
| Read by | 2D imaging scanners and phone cameras, not laser scanners |
Where Data Matrix is used
- Electronics and parts. Etched or laser-marked onto circuit boards, chips and engine parts, where space is tiny.
- Medicines. GS1 DataMatrix carries the GTIN, expiry, batch and serial number on drug packs, as required in the EU, US and other markets.
- Healthcare. Surgical instruments and medical devices (UDI).
- Postage and logistics. Many postal services print Data Matrix on franked mail.
Plain Data Matrix or GS1 DataMatrix?
Choose Data Matrix for your own serial numbers, URLs or text. Choose GS1 DataMatrix from the type list when a regulator or retailer asks for GS1 data, such as GTIN, expiry and batch on medicines. Type it with Application Identifiers in brackets: (01)09521234543213(17)281231(10)ABC123(21)SN0001.
How to make one
- Type your text or data. Up to 1,500 characters works in this tool.
- Choose the cell size under Bar width: 0.5 mm suits most printed labels; go smaller only for high-resolution printing or marking.
- Download SVG or PDF for sharp printing at any size, or PNG.
