GS1 DataMatrix with FNC1

Free GS1 DataMatrix Generator

Encode GTIN, batch, serial number, and dates in a GS1 DataMatrix. Application identifiers are checked against GS1 rules before the code is drawn, so the output is ready for healthcare, pharma, and industrial marking.

Generate a GS1 DataMatrix
Enter a GS1 element string with application identifiers in brackets.

Use (01) for the GTIN, (17) for the expiry date as YYMMDD, (10) for the batch or lot, and (21) for the serial number.

Codes are generated in your browser. Nothing you enter is uploaded or stored.

Selling to consumers? Create a GS1 Digital Link QR code

Use cases

Where GS1 DataMatrix Is Used

Pharmaceutical serialisation

Medicine packs carry GTIN, serial number, batch, and expiry for verification in many markets.

Medical device UDI

Unique Device Identification labels commonly use GS1 DataMatrix to carry device identifiers.

Direct part marking

Small, high-density codes can be laser etched or dot peened onto parts and tools.

Formatting data

Writing a GS1 Element String

Each piece of data starts with an application identifier in brackets followed by its value. For example (01)09506000134352(17)271231(10)ABC123 encodes a GTIN, an expiry date of 31 December 2027, and batch ABC123. Fixed-length values such as GTIN and dates should come first. The generator inserts the FNC1 separators that GS1 requires, so you do not need to add them yourself.

Choosing a 2D barcode

GS1 DataMatrix or GS1 Digital Link QR Code?

GS1 DataMatrix is compact and suited to regulated and industrial use. When shoppers should scan the code with a phone, a GS1 Digital Link QR code opens a web page as well as carrying the product data. Compare both in our GS1 2D barcode guide.

GS1 DataMatrix FAQs

Rolling out 2D barcodes across regulated products?

Talk to our enterprise team about GS1 Digital Link, resolvers, and Digital Product Passports.

Talk to Our Enterprise Team