Skip to main content
EZQR
Technical·

GS1 QR Codes for Retail, Pharma, and Supply Chain: GTIN, Serialization, and Compliance

TL;DR

A GS1 QR code is a standard [ISO/IEC 18004 QR](https://www.iso.org/standard/62021.html) where the data follows GS1 Application Identifier syntax (`(01)` for GTIN, `(10)` for batch, `(17)` for expiry, `(21)` for serial number) prefixed by an FNC1 escape character. **GS1 DataMatrix dominates pharmaceutical serialization; GS1 QR is winning the consumer-facing retail and food traceability lanes** because phones decode QR natively and consumers recognize the shape. The 2024–2026 transition is GS1 Digital Link — a URI format that embeds the same AI data in a URL so one code serves both supply-chain scanners and consumer phones. Generating one requires a GS1-allocated GTIN (GS1 membership starts around $250/yr for the smallest companies) and a generator that emits FNC1 correctly. See our [Data Matrix vs QR breakdown](/blog/data-matrix-vs-qr-code) for the format-choice logic.

Key Takeaways

  • GS1 QR is not a distinct symbology. It is a standard ISO/IEC 18004 QR whose first codeword is FNC1, signaling that the payload follows GS1 Application Identifier syntax. Visually indistinguishable from any other QR.
  • Application Identifiers are the structured prefixes that give the data meaning: (01) GTIN, (10) batch/lot, (17) expiry YYMMDD, (21) serial number. Over 100 AIs are defined; a serialized pharma pack typically uses four to six of them.
  • GS1 Digital Link is the 2024–2026 strategic shift. The same AI data gets encoded as a resolvable URL (`https://id.gs1.org/01/09506000134352/21/XYZ987`) so one printed QR serves the warehouse scanner and the consumer phone simultaneously.
  • Format choice splits cleanly by industry: GS1 DataMatrix is mandated for prescription pharmaceutical serialization under DSCSA and EU FMD. GS1 QR is the format winning consumer-retail and food traceability, including the FSMA Section 204 records lane.
  • You cannot generate a real GS1 QR without a GTIN, and a GTIN requires GS1 membership. Fees range from roughly $250/yr for the smallest tier up to $10,500/yr for large enterprises. Plan that step before you spec the printer.

What "GS1 QR code" actually means

You searched for GS1 QR because a retail buyer, a pharma packaging engineer, or a compliance auditor told you to put one on a product. Here is the framing most posts skip.

There is no separate GS1 QR symbology. A GS1 QR code is a standard ISO/IEC 18004 QR whose first data codeword is the FNC1 function character. FNC1 tells a GS1-aware scanner that the payload follows GS1 Application Identifier syntax — structured prefixes that name each data field. Same finder patterns, same Reed-Solomon error correction, same smartphone decode. The difference is the data convention, not the symbol.

Vendor marketing implies GS1 QR is a separate thing you buy from a specialized generator. The symbology is open. What is gated is the data: the GTIN has to be allocated by GS1, the AI syntax has to be emitted with the correct FNC1 escape, and downstream scanners have to be GS1-aware. Get any of those wrong and you have printed a QR that points at nothing meaningful.

This post is the engineering reference for what GS1 QR is, when it wins over GS1 DataMatrix, and what the 2024–2026 GS1 Digital Link transition changes. Format decision logic lives in our Data Matrix vs QR comparison. For pharma serialization at scale, specialized GS1-compliant labeling systems are the right tools; we are an opinionated QR code generator and our domain is the URL-QR consumer side.

The Application Identifier syntax

Application Identifiers (AIs) are the structured prefixes that identify what each piece of data means. The GS1 General Specifications define over 100 AIs covering product identifiers, weights, dates, locations, and supply-chain events.

The pattern. Every AI is a 2-to-4-digit prefix followed by its data value. Fixed-length fields (GTIN under AI 01, always 14 digits) need no terminator. Variable-length fields (batch under AI 10, up to 20 characters) are terminated by FNC1 when followed by another AI. The parentheses you see in human-readable representations are decoration, never part of the encoded data.

A concrete example. A serialized pharmaceutical pack might carry (01)09506000134352(17)260315(10)A1B2C3(21)XYZ987654321:

  • (01) GTIN — 09506000134352 is the Global Trade Item Number.
  • (17) Expiry YYMMDD — 260315 is March 15, 2026.
  • (10) Batch or lot — A1B2C3 is the manufacturer's lot code.
  • (21) Serial — XYZ987654321 is the unit-level unique identifier.

Inside the symbol, the encoded data is [FNC1]010950600013435217260315[FNC1]10A1B2C3[FNC1]21XYZ987654321. A standard QR scanner returns the raw string. A GS1-aware scanner parses it into named fields.

Why FNC1 is non-negotiable. Without FNC1 in position 1, the scanner has no signal that the content is GS1-structured. Many cheap consumer QR generators do not support FNC1 at all. Verify before printing — decode a test code with the GS1 Verified by GS1 mobile app and confirm the AIs parse correctly.

GS1 QR vs GS1 DataMatrix vs regular QR — when each wins

Three formats, three jobs.

GS1 DataMatrix dominates pharmaceutical secondary packaging — GS1-mandated under US DSCSA and EU FMD. The density advantage matters at the typical 8–15mm pack-surface footprint, and pharmacy and wholesaler scanners are built around it. See our Data Matrix vs QR breakdown for the density math.

GS1 QR wins where the same code needs to be scannable by both supply-chain readers and consumer phones. CPG retail, food traceability under FSMA 204, cosmetics anti-counterfeit, beverage and wine engagement, OTC pharma. POS scanners and warehouse handhelds decode QR fine; consumer phones treat QR as a first-class citizen in a way they do not treat DataMatrix. That asymmetry is why GS1 QR is winning the consumer-facing lanes.

Standard (non-GS1) QR covers everything outside a regulated supply chain. Marketing posters, restaurant menus, URL QR codes on business cards, event tickets, payments. No FNC1, no AIs, no GTIN. Most QR codes printed in the world fall here.

The trap: putting a regular URL QR on a product pack and calling it GS1 QR. Without FNC1 and AI structure, it is a QR — fine for engagement, but not parseable by retail or pharma scanners as structured data.

FormatSymbologyCarries AI dataSmartphone-nativeDominant use
GS1 QRISO/IEC 18004 QR + FNC1Yes — GS1 Application IdentifiersYes — universalRetail CPG, food traceability, OTC pharma, GS1 Digital Link
GS1 DataMatrixISO/IEC 16022 ECC200 + FNC1Yes — GS1 Application IdentifiersYes, but consumer recognition is lowPrescription pharma (DSCSA, FMD), medical devices, regulated industrial
Standard QRISO/IEC 18004 QR (no FNC1)NoYes — universalMarketing, hospitality, payments, consumer URL scans
Standard DataMatrixISO/IEC 16022 ECC200 (no FNC1)NoLimitedDirect part marking, industrial traceability outside GS1

GS1 Digital Link — the 2024–2026 transition

The most consequential shift in GS1 land is GS1 Digital Link, a URI specification that encodes Application Identifier data inside a web URL. Instead of a scanner-only AI payload, the code carries a resolvable address.

The URI structure. Digital Link follows a defined pattern: https://[domain]/01/[GTIN]/21/[serial]?17=[expiry]&10=[lot]. Path segments map to AIs — 01 is GTIN, 21 is serial — and query parameters carry variable-length attributes. The canonical resolver is id.gs1.org, but brands can self-host (Walmart on walmart.com, Tesco on tesco.com).

Why it matters. A consumer scans the QR with a phone. The phone treats it as a URL and opens a product page — provenance, allergen data, recall notices, age-gating. The same QR scanned by a retail POS or warehouse handheld is parsed for the GTIN and lot as structured supply-chain data. One code, two audiences.

The pilots. Coca-Cola has tested Digital Link on European cans. Nestle rolled it across selected SKUs in 2025. PepsiCo, P&G, and Unilever have announced pilots feeding into GS1 Sunrise 2027. The GS1 US Retail Grocery Initiative published implementation guidance through 2025 and 2026.

The catch. Digital Link requires GTIN allocation and a resolver mapping the URL to structured product data. The QR generation is straightforward — any URL QR generator emits a working code. The work is the resolver behind it. EZQR carries Digital Link URIs cleanly via standard URL QR codes; the resolver is your PIM system or a specialized vendor.

Pharma serialization — DSCSA, EU FMD, and where GS1 QR fits

Pharmaceutical serialization is the longest-running deployment of GS1 AI syntax. Two regimes drive most of the volume.

US DSCSA requires unit-level traceability across the US prescription drug chain. The November 2023 deadline triggered the FDA's one-year stabilization period through November 2024, and electronic interoperable tracing has rolled through 2025 and 2026 with phased deadlines for distributor and dispenser categories. The mandated symbology is GS1 DataMatrix carrying (01) GTIN, (17) expiry, (10) lot, and (21) serial. GS1 QR is not an approved alternative under DSCSA.

EU FMD (Falsified Medicines Directive, EU 2016/161) has been live since February 2019 across most EU member states. Same requirements — GS1 DataMatrix with GTIN, batch, expiry, and serial — verified against the European Medicines Verification System at dispense.

Where GS1 QR fits in pharma. OTC and non-prescription products outside DSCSA and FMD can use GS1 QR, and several OTC brands are doing exactly this for the consumer-facing case. Patient leaflets, adherence enrollment, recall notification, and post-purchase support benefit from native phone decode. A GS1-aware pharmacy scanner can still extract structured AI data from the same QR.

For pharma packaging, blister-pack space constrains symbol size, ECC Q is the minimum for serialized lots, and verification grade per ISO/IEC 15415 should target grade B or better. Details in our packaging labels guide and error correction levels guide.

Retail — the GS1 Sunrise 2027 transition

The biggest commercial change coming is the retail POS transition. GS1 Sunrise 2027 targets January 2027 as the date when retail POS systems should be able to scan 2D codes — GS1 DataMatrix or GS1 QR — alongside or instead of linear UPC and EAN.

Why retailers are moving. The linear UPC carries the GTIN and nothing else. A 2D code with GS1 syntax carries GTIN plus batch plus expiry plus optional attributes. Benefits: expiry-based markdowns (POS flags near-expiry items automatically), recall management at lot level instead of SKU level, freshness tracking on perishables, and consumer engagement from the same scan.

The pilots. Walmart's GS1 US 2D barcode program has run since 2023 on selected categories. Tesco has piloted GS1 QR on UK fresh-produce. Carrefour has rolled it on private-label SKUs across European markets. Kroger, Albertsons, and Loblaws have participated in GS1 US grocery pilots through 2024 and 2025.

The split. GS1 QR wins when the same code also needs to be consumer-scannable — CPG packaging, beverage, household, beauty. GS1 DataMatrix wins when shelf real estate is tight (small SKUs, blister packs, single-serve). For most CPG brands shipping into mainstream grocery, plan GS1 QR as the consumer-facing format with GS1 DataMatrix for footprint-constrained SKUs. Our retail QR codes guide and the retail industry page cover deployment.

Food traceability — FSMA Section 204 and the structured-data lane

The FDA FSMA Section 204 traceability rule took effect on January 20, 2026, for the Food Traceability List — leafy greens, fresh-cut produce, soft cheeses, shell eggs, certain seafood, and other higher-risk foods. Anyone who manufactures, processes, packs, or holds these must keep Key Data Elements at Critical Tracking Events and produce a sortable spreadsheet within 24 hours of an FDA request.

The rule does not mandate a barcode format. It mandates the records. A QR on a case label is a label; compliance is the records system behind it.

Where GS1 QR fits. The AI payload matches the data the rule requires: GTIN for product identity, batch/lot for the traceability unit, harvest or pack date for temporal context, optional serial. A GS1 QR on a produce case label encodes lot identity in a format downstream packers, shippers, and distributors can parse directly.

The retail-distribution split. GS1's 2D-in-retail roadmap pulls food traceability toward GS1 Digital Link for retail-distributed produce — the same QR serves both the records lane and the consumer scan at home for provenance or recall lookup. For mainstream grocery, plan GS1 QR with Digital Link URI structure. For wholesale and foodservice lanes, raw AI-payload GS1 QR is fine.

Our agriculture complete guide covers farm-side implementation. When in doubt, dual-label GS1 QR plus GS1 DataMatrix is cheap insurance until Sunrise 2027 capability is widely deployed.

How to generate a GS1-compliant QR — the concrete workflow

Most consumer QR generators do not support GS1 syntax directly. Five steps end-to-end.

Step 1 — Allocate a GTIN. Membership at GS1 US runs from $250/yr for the smallest tier up to $10,500/yr for the largest. Assign GTINs from your prefix range and register them in GS1 Verified by GS1. No GTIN means no real GS1 QR.

Step 2 — Construct the AI payload. Most retail cases need only (01) GTIN, possibly (10) batch and (17) expiry. Pharma adds (21) serial. Food traceability may add (13) packaging date. Concatenate per the GS1 General Specifications — fixed-length AIs first, variable-length last, FNC1 separators between variable-length fields.

Step 3 — Pick the carrier. GS1 QR if the code needs to be consumer-scannable. GS1 DataMatrix if print real estate is tight or the use case is pharma serialization.

Step 4 — Generate with a GS1-aware tool. For production labeling, your MES module or a specialized system (NiceLabel, Loftware, BarTender, Esko). A URL QR generator like EZQR handles the GS1 Digital Link URI variant — construct the resolvable URL and generate from that. For raw AI-structured GS1 QR, use a labeling tool that emits FNC1.

Step 5 — Verify before printing. Decode a sample with a GS1-aware scanner — the GS1 Verified by GS1 app or a 2D handheld. Confirm the AIs parse, the GTIN resolves, and print quality per ISO/IEC 15415 hits grade B or better. A grade C symbol reads 95% of the time and fails on the other 5% — enough to break compliance.

The best QR code generators 2026 comparison covers consumer-side options.

GS1 Application Identifier reference table

The AIs most retail, food, and pharma packaging teams need. The full list runs over 100 entries; this is the working subset.

AINameFormatCommon use
(01)GTIN — Global Trade Item Number14 digits, fixedProduct identifier. Required in nearly every GS1 code.
(10)Batch / lot number1–20 alphanumeric, variableManufacturing lot. Required for traceability and recall.
(11)Production date6 digits, YYMMDD, fixedWhen the product was manufactured.
(13)Packaging date6 digits, YYMMDD, fixedWhen the product was packed.
(15)Best before date6 digits, YYMMDD, fixedQuality-window date for food.
(17)Expiration date6 digits, YYMMDD, fixedSafety expiry. Required for pharma and many foods.
(21)Serial number1–20 alphanumeric, variableUnit-level unique identifier. Required for pharma serialization.
(30)Variable count of items1–8 digits, variableQuantity in a variable-count container.
(310n)Net weight, kg6 digits, decimal-encodedNet weight for variable-weight retail items.
(400)Customer purchase order number1–30 alphanumeric, variableB2B order reference.
(414)GLN — Global Location Number13 digits, fixedPhysical location identifier.
(710–714)National healthcare reimbursement numberVariableCountry-specific reimbursement codes.
(8200)Extended product info URL1–70 ASCII, variableDirect URL link, predecessor to GS1 Digital Link.

Tips

  • Fixed-length AIs (01, 11, 17) need no FNC1 terminator. Variable-length AIs (10, 21) need FNC1 before the next AI.
  • Date AIs use YYMMDD with the year as the last two digits — 2026 is "26."
  • For GTIN (AI 01), the 14-digit value is the EAN/UPC/ITF-14 with a leading padding zero if shorter — never strip it.

GS1 membership and GTIN allocation — what to budget

You cannot generate a real GS1 QR without a GTIN, and you cannot allocate a GTIN without GS1 membership. The cost matters before you spec a packaging program.

Single-GTIN tier. GS1 US offers a single-GTIN purchase at roughly $30 one-time plus a low-hundreds annual renewal. For a small brand with one to ten SKUs, this is the right entry point.

Company Prefix tiers. For larger SKU counts, GS1 US allocates a Company Prefix that lets you self-allocate GTINs within a numeric range. Tiers run by revenue — roughly $250/yr for the smallest (under $500K revenue, 10 GTIN range) up to $10,500/yr for the largest (over $5B revenue, 100,000+ GTIN range). Outside the US, GS1 national member organizations run similar schedules.

The honest take. A consumer brand with a few hundred SKUs runs $1,500–$3,000/yr. An enterprise CPG with thousands of SKUs approaches the $10,500 ceiling. The fee is for allocation infrastructure, not the symbol — symbology is open.

If your QR codes do not need retail POS or supply-chain scanning — marketing posters, restaurant menus, business cards, event tickets — none of this applies.

Print and substrate considerations

Print quality determines whether a GS1 QR survives the supply chain.

Verification grade. ISO/IEC 15415 defines the grading system — grade A through F across contrast, modulation, and several other parameters. GS1 recommends grade C or better for retail and grade B or better for pharma. A grade D symbol reads on a calibrated scanner but fails on tired warehouse handhelds. Print to grade B and inspect samples before production.

Error correction. GS1 QR supports the standard ECC levels — L, M, Q, H (7/15/25/30% recovery). Most retail programs use M as baseline; pharma and food traceability typically use Q. Level H is reserved for embedded logos or expected damage. Logic in our error correction levels guide.

Substrate. Coated stock with thermal-transfer at 600 dpi or better delivers consistent grade B output. Direct thermal on receipt paper fades within six to twelve months. Pharma blister packs require specialized foil and laminate presses. Our packaging labels guide covers substrate decisions.

Symbol size. GS1 recommends a minimum module X-dimension of 0.495mm for consumer retail POS and 0.396mm for distribution-only. Pharma serialized codes print at 0.300mm on blister packs. For smartphone decode, overall symbol size should be at least 2cm × 2cm.

Quiet zone. Four modules of clear space on all sides. POS scanners reject violations.

The compliance-deadline timeline

The dates that matter for GS1 QR and GS1 DataMatrix planning through 2026 and beyond. Verify current status with each regulator before committing — phased deadlines have moved before.

Regulation / ProgramRegionEffective dateSymbology
EU Falsified Medicines Directive (FMD)EU + UK + Norway + SwitzerlandFebruary 2019 — activeGS1 DataMatrix
US DSCSA full enforcementUnited StatesNovember 2024 — phased through 2025 and 2026GS1 DataMatrix
FSMA Section 204 (Food Traceability)United StatesJanuary 20, 2026 — activeFormat unspecified; GS1 QR or DataMatrix common
GS1 Sunrise 2027 — retail POS 2D capabilityGlobalJanuary 2027 targetGS1 QR or GS1 DataMatrix
EU Digital Product Passport (DPP) — textiles, batteriesEUPhased from 2027Likely GS1 Digital Link via QR
India Track and Trace pharma exportIndiaActive for exportsGS1 DataMatrix
Turkey ITS pharma serializationTurkeyActive since 2010GS1 DataMatrix
Brazil ANVISA pharma serializationBrazilActiveGS1 DataMatrix

Tips

  • DSCSA enforcement deadlines are tied to category (manufacturer, wholesaler, dispenser) — verify your specific phase with the FDA.
  • FSMA Section 204 specifies records, not the barcode. Most food traceability vendors have standardized on GS1-structured QR for the dual scan.
  • GS1 Sunrise 2027 is a target, not a hard deadline. Walmart and Tesco are ahead; many regional grocers are years behind.

Where EZQR fits — honest positioning

We built EZQR for the URL-QR consumer side. For GS1, the lane we serve well is Digital Link URI-based QR. Construct the URL (https://id.gs1.org/01/[GTIN]/21/[serial] or your brand-hosted equivalent), pass it to our generator, get a QR that phones decode instantly and GS1-aware scanners parse for the AI structure. Our Pro tier at $10/mo handles bulk CSV generation and analytics across hundreds of SKUs.

What we do not do: raw GS1 AI payload generation with FNC1 emission for pharma-scale serialization. That belongs in your MES module, a specialized labeling system, or a GS1-certified solution provider.

For in-between cases — small CPG piloting Digital Link, food traceability encoding farm-side lot QRs, beverage brands rolling consumer-facing structured QR — EZQR works and the cancellation policy matters more than most generators admit. Codes redirect indefinitely even if you stop paying us, which matters because a GS1 QR printed on 50,000 product cases should not silently break when accounts payable misses a renewal. The permanent QR code generator breakdown covers cancellation policy across the major vendors.

If the use case is non-GS1 — marketing, hospitality, payments, URL QR codes on business cards — none of this applies. Generate a standard QR with whatever URL you want.

FAQ

Is GS1 QR a different barcode format from a regular QR code?

No. GS1 QR is a standard ISO/IEC 18004 QR whose first data codeword is the FNC1 function character, signaling that the encoded payload follows GS1 Application Identifier syntax. The visual symbol is indistinguishable from any other QR — same finder patterns, same Reed-Solomon error correction, same smartphone decode. The difference is the data convention inside the symbol, not the symbology. See our [QR vs barcode breakdown](/blog/qr-code-vs-barcode) for the broader format context.

What is the difference between GS1 QR and GS1 DataMatrix?

Both carry GS1 AI data via the FNC1 escape. GS1 DataMatrix uses ECC200 Data Matrix and is mandated for prescription pharmaceutical serialization under DSCSA and EU FMD. GS1 QR uses standard QR and is winning consumer-facing retail and food traceability because phones decode QR natively. Same data, different carrier.

Do I need GS1 membership to create a GS1 QR code?

Yes, if the code carries a real GTIN. GS1 allocates GTINs through national member organizations like GS1 US or GS1 UK. Fees range from about $30 one-time for a single GTIN up to roughly $10,500/yr for the largest enterprise tier. Without a GS1-allocated GTIN, you can generate a visually GS1-styled QR but it will not resolve in GS1 Verified by GS1. The [static vs dynamic QR decision guide](/blog/static-vs-dynamic-qr-code) covers the related vendor-stability question.

What is GS1 Digital Link and why does it matter?

GS1 Digital Link is a URI format that encodes Application Identifier data inside a resolvable web URL (for example `https://id.gs1.org/01/09506000134352/21/XYZ987`). One printed QR serves both supply-chain scanners (which parse the URL path as structured GS1 data) and consumer phones (which open it as a product page). Driven by GS1 Sunrise 2027 and live pilots from Walmart, Tesco, Nestle, and Coca-Cola.

Can I use GS1 QR for pharmaceutical serialization under DSCSA?

Not for prescription drugs. US DSCSA and EU FMD both specify GS1 DataMatrix as the mandated symbology. GS1 QR is acceptable for OTC and non-prescription packaging, where the consumer-scanning advantage matters and the regulatory mandate does not bind.

What Application Identifiers does a typical CPG retail QR need?

Most consumer-packaged-goods retail GS1 QR codes carry only (01) GTIN. Perishables add (17) expiry and often (10) batch or lot. Pharmaceutical serialization adds (21) serial number. Food traceability under FSMA Section 204 typically adds (13) packaging date or (11) production date. The full AI list runs over 100 entries; most retail programs use four to six.

Does EZQR support GS1 QR code generation?

EZQR supports GS1 Digital Link URI-based QR generation — encode the resolvable URL like `https://id.gs1.org/01/[GTIN]/...` and generate the QR. For raw GS1 QR with FNC1 emission for pharma-scale serialization, use a specialized GS1-compliant labeling system or your MES module. EZQR is built for the URL-QR consumer side.

What is the GS1 Sunrise 2027 program?

GS1 Sunrise 2027 targets January 2027 as the date when retail POS systems worldwide should support 2D codes — GS1 QR or GS1 DataMatrix — alongside or instead of linear UPC and EAN. Benefits include structured data at POS for expiry-based markdowns, lot-level recall, and consumer engagement. Walmart, Tesco, Carrefour, Kroger, and Loblaws have all participated in pilots through 2024 and 2025.

More From This Category

Related Industries

Related Guides

Related Tools

Written by

EZQR Editorial Team
EZQR Editorial Team

The EZQR editorial team writes practical guides on QR code strategy, print workflows, and how small businesses use scan-based technology. Posts are fact-checked against the ISO/IEC 18004 standard and updated when specs or market conditions change.

Ready to create your QR code?

No signup for static codes. Dynamic codes start at $5/mo. No watermarks, no expiry.

Generate a free QR code with EZQR