QR code with GS1 Digital Link · GS1 DataMatrix

GS1 2D Barcodes: QR Code or DataMatrix?

GS1 approves two 2D barcodes for trade items: QR codes carrying GS1 Digital Link and GS1 DataMatrix. Compare what each carries, where each is used, and which one fits your products.

GS1 & Digital Product Passport Generator
Generate GS1 Digital Link QR codes, 2D DataMatrix, 1D retail barcodes, or calculate check digits.
Loading QR code generator...

Side by side

QR Code with GS1 Digital Link vs GS1 DataMatrix

QR code with GS1 Digital Link

Carries GS1 data as a web address. Phone cameras open it as a link, and compatible checkouts read the GTIN. Best for consumer products.

GS1 DataMatrix

Carries GS1 element strings in a very compact square. Common in healthcare, pharma, and industrial marking. Phones usually show raw data.

What they carry

Data You Can Encode

Both barcodes can carry the GTIN plus qualifiers and attributes such as batch or lot (10), serial number (21), and expiry date (17). In a GS1 Digital Link QR code this data is written as a URI path and query string. In a GS1 DataMatrix it is written as an element string with FNC1 separators.

Free tools

Create GS1 2D Barcodes

Validate your GTIN with the [GS1 check digit calculator](/gs1-check-digit-calculator), then choose the barcode that fits your product.

GS1 Digital Link generator

Create consumer-facing QR codes that carry GS1 Digital Link.

GS1 DataMatrix generator

Create compact codes for regulated and industrial marking.

GS1 2D Barcode FAQs

Choose your GS1 2D barcode

Start with a GS1 Digital Link QR code for consumer products.

Open the GS1 Digital Link Generator