Standards/gs1-qr-code
GS1 QR Code
Overview
GS1 QR Code is an application profile of the QR Code symbology, defined and governed by the GS1 General Specifications 1. It is not a separate symbology: it uses a standard QR Code (Model 2) as standardised in ISO/IEC 18004 2, with the same position-detection patterns, Reed–Solomon error correction, and 40 version sizes as any other QR Code. What distinguishes GS1 QR Code is a single structural rule: a FNC1 function character placed in the first position of the encoded data, flagging that the symbol carries GS1 Application Identifier (AI) element strings rather than free text 1, 3.
This is the same mechanism that turns a generic Code 128 symbol into a GS1-128 symbol, or a generic Data Matrix symbol into a GS1 DataMatrix symbol — the leading FNC1 marker plus the GS1 AI data model — here applied to the QR carrier 1. GS1's consumer-facing retail QR is usually a different thing: a plain QR Code carrying a GS1 Digital Link URI, which the GS1 General Specifications list separately with symbology identifier ]Q1 rather than ]Q3 1, 5.
GS1 QR Code sits in the retail move from 1D UPC/EAN barcodes to 2D barcodes, which GS1 US calls Sunrise 2027: retailers are asked to make point-of-sale systems able to read and process 2D codes 8.
History
Underlying symbology lineage 2, qr-code-ref: The base symbology, QR Code, was invented in 1994 by Masahiro Hara at Denso Wave and standardised internationally as ISO/IEC 18004 (first edition 2000, current edition 2015). Denso Wave holds the patents but does not enforce them, making QR Code royalty-free worldwide. GS1 QR Code inherits all of that and adds only the GS1 data-formatting conventions on top.
GS1 profile 1: GS1 defines the GS1 QR Code profile within the GS1 General Specifications. The profile requires the leading FNC1 marker and constrains the encoded content to the GS1 Application Identifier registry — the same AI registry used by GS1-128, GS1 DataMatrix, and GS1 DataBar. The QR module encoding is unchanged from ISO/IEC 18004; GS1 layers only the data semantics.
GS1 Digital Link and 2D-at-retail 1, 4, 8:
- GS1 Digital Link defines a web-URI structure that embeds GTIN and other AIs so a single QR scan can resolve to product information, authentication, or marketing in addition to being parsed at point of sale.
- Sunrise 2027 — GS1 US describes "a global transition from 1D UPC barcodes to 2D barcodes, like QR codes", in which retailers make their POS systems able to read and process 2D codes; it keeps a continually updated table of the 2D readiness of scanner models from major manufacturers 8.
Technical specification
GS1 QR Code is a structured-data profile of QR Code (Model 2) 1, 2, 3:
| Parameter | Value |
|---|---|
| Base symbology | QR Code Model 2 (ISO/IEC 18004) |
| Symbology family | 2D matrix |
| Distinguishing feature | FNC1 in the first data position |
| Data model | GS1 Application Identifier (AI) element strings (a GS1 Digital Link URI goes in a plain QR Code, ]Q1) |
| Error correction | Reed–Solomon, levels L/M/Q/H (7–30 %) |
| Versions | 40 (sizes 21×21 to 177×177 modules); Micro QR Code not supported |
| Field separator | <GS> or % after variable-length AI fields (section 7.8.4) |
| Symbology identifier | ]Q3 (QR Code with leading FNC1 / GS1 mode) |
| Quiet zone | 4 modules on each side |
| Variable length | Yes — capacity varies with version and EC level |
The FNC1 rule 1, 3: A QR Code becomes a GS1 QR Code when the FNC1 function character is encoded in the first position. Compliant scanners report this as the symbology identifier ]Q3, signalling to the receiving application that the data is GS1-formatted and must be parsed by Application Identifier. (For comparison, GS1-128 uses ]C1 and GS1 DataMatrix uses ]d2 for the same role.)
Element strings, not URIs 1, 5: GS1 QR Code carries bracketless concatenated AI element strings behind the leading FNC1, the same payload style as GS1-128 and GS1 DataMatrix. The same identifiers can instead be written as a GS1 Digital Link URI (e.g. https://id.gs1.org/01/...) in a plain QR Code with no leading FNC1; the GS1 General Specifications give that combination its own symbology identifier, ]Q1, and GS1's 2D-barcode page lists "QR Code [GS1 Digital Link URI]" as a separate carrier from GS1 QR Code. That plain-QR form, not GS1 QR Code, is the one GS1 promotes for on-pack consumer links.
Application Identifiers (AIs) 1, 6: An AI is a numeric prefix (2–4 digits) that defines the meaning and format of the field that follows. The AI registry is shared across all GS1 carriers. Common AIs include:
| AI | Meaning | Format |
|---|---|---|
| (01) | GTIN (trade item number, GTIN-14 form) | 14 digits, fixed |
| (10) | Batch / lot number | up to 20 alphanumeric, variable |
| (17) | Expiration / use-by date | 6 digits YYMMDD, fixed |
| (21) | Serial number | up to 20 alphanumeric, variable |
| (00) | SSCC — Serial Shipping Container Code | 18 digits, fixed |
Concatenation and the separator role of FNC1 1, 3, 6: A single GS1 QR Code can carry multiple AI element strings back-to-back. Fixed-length fields (such as (01) GTIN-14 or (17) date) need no separator; variable-length fields (such as (10) batch or (21) serial) must be terminated by a separator when another AI follows. In GS1 QR Code the separator is the control character <GS> (ASCII 29) or the character % (ASCII 37); GS1-128 uses FNC1 instead 1.
Worked example — the playground default (01)10012345678902 is the example in section 5.7.4.3 of the GS1 General Specifications: a GS1 QR Code encoding AI (01) with GTIN 10012345678902 transmits the string ]Q30110012345678902 1. The parentheses are a human-readable convention only; they are not encoded in the symbol, and the leading FNC1 and the AI registry tell the parser how to read the field.
Use cases
The GS1 General Specifications restrict GS1 QR Code to applications where imaging scanners are used throughout the supply chain, and allow it only where an application standard names it 1. The application standards that do:
- Trade items at retail and elsewhere (section 2.1) — where scanning systems can read 2D as well as linear barcodes, GS1 DataMatrix and GS1 QR Code "may be used in addition to linear symbols", so one 2D code can carry GTIN
(01)with attributes such as batch(10)and expiry(17)beside the EAN/UPC 1. GS1 US's Sunrise 2027 programme is preparing US retail point-of-sale systems to read such 2D codes 8. - Extended packaging (section 2.1.13.2) — the URL AI (8200) is encoded with the GTIN, e.g.
(01)01234567890128(8200)http://example.com, and a reader concatenates the two into the product URLhttp://example.com/01234567890128. For this "direct mode", GS1 DataMatrix and GS1 QR Code are the only approved data carriers; healthcare applications must stop using AI (8200) after 31 December 2026 1. - Logistic units (section 2.2.1) — GS1-128 stays the mandatory carrier on a logistic label, but a GS1 QR Code or GS1 DataMatrix MAY be added if it repeats every element string in the GS1-128 symbol, and MAY be used alone when the unit has no surface larger than an A6 or 4" × 6" label 1.
Consumer-facing QR codes that open a web page are usually not GS1 QR Codes but plain QR Codes holding a GS1 Digital Link URI (]Q1) 1, 5.
Implementations & ecosystem
Because GS1 QR Code is QR Code with GS1 data rules, any QR encoder can draw the modules. GS1 support means three extra things: putting FNC1 in the first position, handling the <GS>/% separator, and (in a reader) reporting the symbology identifier ]Q3 so the host parses the data by Application Identifier 1.
| Repo | Language | Stars | Last push | Role | GS1 QR Code support |
|---|---|---|---|---|---|
| zxing/zxing | Java | 34,170 | Oct 2026 | Decoder | DecodedBitStreamParser sets symbology modifier 3 when FNC1 is in the first position (so ]Q3), 5 for FNC1 in the second position, and 4 when an ECI is also present 7, 12 |
| zxing-cpp/zxing-cpp | C++ | 2,062 | Oct 2026 | Decoder | QRDecoder.cpp sets modifier '3' and a GS1 flag on FNC1 in the first position; in alphanumeric mode it un-doubles %% and turns a single % into <GS> 11, 16 |
| metafloor/bwip-js | JavaScript | 2,424 | v4.11.4, 19 Aug 2026 | Encoder | Translation of Barcode Writer in Pure PostScript; lists gs1qrcode (GS1 QR Code) and gs1dlqrcode (GS1 Digital Link QR Code) as separate types 9 |
| bwipp/postscriptbarcode | PostScript | 504 | Oct 2026 | Encoder | Barcode Writer in Pure PostScript (MIT), the upstream that bwip-js translates 9, 14 |
| zint/zint | C | 820 | Oct 2026 | Encoder | GS1 mode in backend/qr.c treats <GS> as an alphanumeric-mode FNC1 and doubles a literal % 10, 15 |
| gs1/gs1-syntax-engine | C | 52 | Oct 2026 | Parser / validator | GS1's own reference implementation for processing AI element strings and GS1 Digital Link URIs against the GS1 Barcode Syntax Dictionary; Apache-2.0, with C++, C# .NET, Java/Kotlin, Swift and JavaScript/WebAssembly bindings and Android and iOS demo apps that scan with ML Kit 13 |
Stars and push dates were read from the GitHub API on 19 Oct 2026.
This wiki's playground renders the page's default with bwip-js gs1qrcode; the default is the GS1 General Specifications example GTIN (01)10012345678902 1, 9.
Open standards documentation:
- GS1 General Specifications, section 5.7: the GS1 QR Code profile, the
]Q3identifier and the supported QR features. - GS1 Digital Link: the web-URI syntax used in the separate
]Q1QR form. - ISO/IEC 18004:2015: the underlying QR Code symbology.
Fun facts
- The parentheses are never in the symbol. GS1's own example, AI (01) with GTIN 10012345678902, comes out of a scanner as
]Q30110012345678902: identifier, AI and data run together, and the reader splits them using the AI registry 1. - A percent sign costs double. In GS1 QR Code a
%can act as the field separator, so a real%in the data must be written as%%. zxing-cpp un-doubles it when decoding and zint's encoder doubles it when encoding 1, 11, 15. - A stricter QR Code. GS1 QR Code is a subset of ISO/IEC QR Code: Micro QR Code, Kanji mode, Structured Append (one message across up to 16 symbols) and Extended Channel Interpretations are all "not supported for the GS1 system" 1.
- The QR on a GS1 Digital Link pack is not a GS1 QR Code. It is a plain QR Code (
]Q1) holding a URI, which GS1 brands "QR Code powered by GS1"; GS1 QR Code (]Q3) holds raw element strings 1, 4, 5. - One flag across five carriers. GS1-128 (
]C1), GS1 DataBar (]e0), GS1 DataMatrix (]d2), GS1 QR Code (]Q3) and GS1 DotCode (]J1) all mark AI data the same way, so one parser handles them all 1.
Comparison
vs. QR Code (the base symbology) — Plain QR Code can encode arbitrary data (URLs, text, payment payloads such as EMVCo QR). GS1 QR Code is a constrained application of it: same modules, same EC, but a mandatory leading FNC1 and the strict GS1 AI data model 1. Choose plain QR for arbitrary payloads, the national EMVCo-based payment QR standards and GS1 Digital Link URIs (]Q1); choose GS1 QR Code when the data must be GS1 AI element strings (]Q3) 1.
vs. GS1 DataMatrix — Both are 2D GS1 AI carriers using leading FNC1 and the same AI registry. GS1 says GS1 DataMatrix (]d2) is already widely adopted in healthcare, and for consumer-facing retail it promotes QR Code with a GS1 Digital Link URI (]Q1) 5. GS1 QR Code (]Q3) fits where the data must be AI element strings in a QR symbol and imaging scanners are used throughout the supply chain, which the General Specifications require 1.
vs. GS1-128 — Both encode the same AI structure with leading FNC1, but GS1-128 is 1D linear for pallets and outer packaging, while GS1 QR Code is 2D and needs imaging scanners 1.
vs. GS1 DataBar — GS1 DataBar is a compact 1D family carrying GS1 AIs at point of sale (loose produce, coupons). GS1 QR Code carries the same data model in 2D with far higher capacity (up to 3,706 data codewords at version 40) 1.
Status
Active 1:
- The GS1 General Specifications (Release 26.0, ratified January 2026) define GS1 QR Code in section 5.7 1.
- The underlying ISO/IEC 18004:2015 QR Code spec is current and royalty-free.
- GS1 Digital Link URIs ride in a plain QR Code (
]Q1), listed beside GS1 QR Code (]Q3) in the same symbology-identifier table 1. - Sunrise 2027 (GS1 US) is moving retail point of sale from 1D UPC barcodes to 2D barcodes 8.
Strategic context:
- GS1 maintains GS1 QR Code in parallel with GS1-128, GS1 DataMatrix, and GS1 DataBar; all four carry the same AI data model, and the choice is driven by available space, scanner infrastructure, and whether a consumer-scannable / web-resolvable code is wanted.
- GS1's 2D page names QR Code with a GS1 Digital Link URI and GS1 DataMatrix as its two most widely recognised 2D barcodes; GS1 QR Code is the element-string QR option 5.
- No deprecation is planned.
Sources
Deployments
No country reports mention this standard by name.
Regions / aggregations not mapped to a single country
- Universal