GS1 DataMatrix vs. QR code

A phone camera sees two small black-and-white squares. A hospital, pharmacy, or grocery POS scanner looks for a hidden FNC1 codeword at position one—without it, your GTIN, expiry date, and lot number are ignored as plain text.

CZCrane ZhouVerified November 14, 2026 4 min read

Finder patterns, FNC1, and Application Identifiers

Visually, a QR code has three bullseye squares in its corners, whereas an ECC 200 DataMatrix has a solid L-shaped black border on two adjacent sides and an alternating dashed 'clock track' on the opposite two sides.

Data-wise, pasting '(01)00036000291452(17)271231(10)LOT42' into a generic QR generator encodes literal parentheses as plain text. A true GS1 DataMatrix omits the human-readable parentheses in the binary stream, begins with Function 1 (FNC1, ASCII 232), and packs fixed-length Application Identifiers cleanly:

FeatureGS1 DataMatrixStandard QR CodeGS1 Digital Link QR
Visual borderSolid L-shape + dashed clock edge3 corner finder squares3 corner finder squares
Smallest grid size10 × 10 modules (fits tiny vials)21 × 21 modules minimum29 × 29+ modules (URL overhead)
Starts with FNC1?Yes (mandatory)NoEncodes https://id.gs1.org/01/... URI
Primary useMedical UDI, pharma, food lot/expiry, logisticsMarketing URLs, Wi-Fi, paymentsConsumer + POS dual-purpose Sunrise 2027

Formatting (01) GTIN-14, (17) Expiry, and (10) Batch/Lot

Inside AI (01), GS1 DataMatrix always requires a 14-digit GTIN-14. If your retail product has a 12-digit UPC-A (like 036000291452), pad two leading zeros ('00036000291452'); if it has a 13-digit EAN-13, pad one leading zero. AI (17) is always 6 numeric digits in YYMMDD order (for example, 271231 for December 31, 2027), and AI (10) holds up to 20 alphanumeric characters for your batch or lot code.

GS1 DataMatrix 2D Label Maker

Single PNG or SVG free. Full sheets: 3 free on sign-up.

Make GS1 DataMatrix label

Questions

No. Sunrise 2027 is the target date for retail POS optical scanners to read 2D GS1 barcodes alongside 1D symbols. During transition, retail packages carry both the 1D UPC/EAN and the 2D symbol unless the retailer confirms 2D-only readiness.