Barcode Sensei

Make a GS1 DataMatrix code

GS1 DataMatrix holds a GTIN with its batch, expiry date and serial number in a small square, on medicines and packs.

Make many GS1 DataMatrix codes at once, from a list or a CSV file.

Each application identifier in brackets, then its value. Spaces in a number, such as a GTIN or a date, don't count.

Or fill in the fields

Looks right.

About GS1 DataMatrix

For medicines and packs that carry a GTIN with its batch, expiry date and serial number in one small square, the code is GS1 DataMatrix. It's a Data Matrix whose data follows GS1's rules, each value after its application identifier, such as (01) for the GTIN and (17) for the expiry date. The GTIN itself comes from GS1.

Beside the square we print its data in words, a line for each identifier in brackets and its value, such as (01) 09506000134352. GS1 calls this the human readable interpretation, and it lets a person read what the code holds. Our sample prints 46.5 by 11.4 mm with it. If your pack prints the words elsewhere, or has no room, untick the box above the barcode.

We draw it at GS1's size for 2D codes on retail trade items: a module of 0.495 mm and a quiet zone of 1 module all round. As it carries all its data in one code, it refuses an identifier that needs another beside it, such as a count of items without an SSCC.

Its GTIN carries a check digit, which we check as you type, naming the right one if it's wrong, and the square carries error correction, so a worn or scratched code still reads.

Questions people ask

Why is there text beside my GS1 DataMatrix?

That's GS1's human readable interpretation, the data in words, so a person can read what the code holds. To leave it off, untick the box above the barcode.

What can a GS1 DataMatrix hold?

A GTIN with its batch or lot, production, best before and expiry dates and serial number, each after its application identifier. On a logistic unit it can hold an SSCC, the GTIN of the contents and a count.

Should I use GS1 DataMatrix or a GS1 Digital Link QR Code?

Both carry a GTIN with its batch and dates. A Digital Link is a web address too, so a phone can open a page about the product, while a GS1 DataMatrix holds the data alone.

Why won't my GS1 DataMatrix take a count of items?

A count (37) needs the GTIN of the contents (02) and the SSCC (00) beside it, and a GS1 DataMatrix carries all its data in one code. Add what the page names, or use a GS1-128, whose label can hold the SSCC in another barcode.