Skip to content
barcoder

Standards/gs1-digital-link

GS1 Digital Link

TypeQR Data Format
Completeness86%high

Overview

GS1 Digital Link is a data format, not a symbology. It is a standardised way of expressing GS1 identifiers — Global Trade Item Numbers (GTINs), Global Location Numbers (GLNs), Serial Shipping Container Codes (SSCCs) — together with their associated data (batch/lot, serial number, expiry date, and any other GS1 Application Identifier) as a web-resolvable HTTP(S) URI 1, 3. The same identifier data that has traditionally been carried as a flat GS1 element string (e.g. (01)09521234543213(10)ABC123) is instead expressed as a URL such as https://example.com/01/09521234543213/10/ABC123, which both a barcode scanner and an ordinary web browser can act on 1, 9.

Because it is a data format and not a carrier, a GS1 Digital Link URI must be encoded into some symbology. In practice the carrier is almost always a GS1 QR Code (a QR Code holding a Digital Link URI), but the URI syntax can equally be placed in a GS1 DataMatrix or printed as plain text. The defining idea is the convergence of two previously separate functions into one code: a single scan can serve point-of-sale data (the GTIN) to a retail till and open consumer-facing web content (product information, instructions, traceability) in a phone browser 3, 5.

The standard is split into two parts: the URI Syntax standard, which defines how to construct and parse the URIs 1, and the GS1-Conformant Resolver standard, which defines the web service that receives the URI and redirects the requester to the appropriate content 2.

History

The concept grew out of work on expressing GS1 identifiers as Web URIs, led by Mark Harrison, Phil Archer and others; according to the standard's own change log, version 1.0 was released in August 2019, originally under the title GS1 Web URI Structure Standard 1. Version 1.1 followed in February 2020 1; Wikipedia dates it 19 February 2020 and says it added updated GS1 branding and new sections covering CORS (Cross-Origin Resource Sharing) and TLS 4. Later releases ran 1.2 (January 2021), 1.2.1, 1.3.0 (November 2022), 1.4.0 (April 2023), 1.5.0 (June 2024), 1.6.0 (February 2025) and 1.7.0 (ratified August 2026) 1, and the work is now published as the separate URI Syntax and GS1-Conformant Resolver standards on the GS1 reference site ref.gs1.org 1, 2.

The work drew heavily on web architecture practice — the design rationale references content negotiation and linked-data principles familiar from the W3C — and GS1 published companion guidance such as the How and Why of GS1 Digital Link to explain the rationale to implementers 1, 4.

Technical specification

URI structure. A GS1 Digital Link URI is built from a domain followed by a sequence of /AI/value path segments, optionally followed by a query string 1, 5. The Application Identifier numeric codes become path keys, and their values follow:

https://example.com/01/09521234543213/10/ABC123/21/SN-001?17=261231

Here 01 is the GTIN (primary key), 10 is the batch/lot number, 21 is the serial number, and 17 (expiry date) is carried as a query parameter 1, 5.

Primary keys, key qualifiers, attributes. The syntax distinguishes three roles for AIs 1, 3:

  • Primary keys — the main identifier, e.g. GTIN (01), GLN (414), SSCC (00).
  • Key qualifiers — values that make the identification more specific and form part of the path: batch/lot (10), serial number (21), and consumer product variant / CPV (22).
  • Attributes (data attributes) — additional data such as expiry date (17), which are placed in the query string rather than the path.

Mnemonic AI names (removed). Early versions of the grammar allowed "convenience alphas" in place of numeric AIs, for example gtin for 01 and gln for 414. They were deprecated in version 1.2 and removed completely in release 1.3.0 (November 2022), so a current URI uses numeric AIs only; only existing infrastructure should keep accepting the legacy forms, and new implementations are not expected to 1. Older tooling can still emit them: with its useShortText option on, the GS1 Digital Link toolkit converts the element string (01)05412345000013(10)ABC&+123(3103)000189(3923)2172 to the legacy form:

https://id.gs1.org/gtin/05412345000013/lot/ABC%26%2B123?3103=000189&3923=2172

— with the GTIN and lot in the path and the remaining AIs as percent-encoded query parameters 9. With the option off it writes the numeric /01/ and /10/ path keys that the current standard requires 9, 1.

Compressed and uncompressed forms. Digital Link URIs exist in an uncompressed (human-readable) form and a compressed form, in which the AI/value pairs are packed into a compact base64url-style string to keep the resulting barcode small; conformant resolvers can automatically decompress these when resolving the identifier 7.

Resolver model. A GS1-Conformant Resolver is a web service that receives a Digital Link URI, extracts the identifier (validating, for example, the GTIN check digit using the GS1 Mod-10 weight-(3,1) algorithm), and redirects the requester to the correct target resource 2, 5. The resolver performs content negotiation on the inbound HTTP request — inspecting the Accept content type, Accept-Language, and a linkType parameter — so that a single QR code can route different audiences to different content 5. GS1 defines a registry of standard link types such as gs1:pip (product information page), gs1:epil (electronic patient information leaflet), and traceability links, so one printed code can serve consumers, regulators, and supply-chain systems from one identifier 5.

Use cases

  • Convergent consumer engagement + POS. A single on-pack QR code carrying a Digital Link URI lets a shopper open product information, recipes, allergen data, or sustainability claims in a browser, while the same code yields the GTIN at the checkout — the core promise behind the retail 2D transition (see GS1 Sunrise 2027) 3, 5.
  • Traceability and recalls. Because the URI can carry batch/lot and serial, a scan can resolve to batch-specific recall notices or provenance data, making targeted recalls possible at the item level 5.
  • Healthcare / regulated information. Link types such as gs1:epil let a medicine pack point to the current digital patient leaflet, kept up to date independently of the printed carton 5.
  • Digital twins and dynamic content. Because resolution happens server-side, the destination behind a printed code can change over a product's life without reprinting the packaging 2, 5.

Implementations

  • GS1_DigitalLink_Resolver_CE — the GS1 DigitalLink Resolver Community Edition, the official free/open-source reference resolver. Version 3.0 features a revised architecture with multi-link support and a unified database; codebase includes Python 3.10 and JavaScript. ~57 stars, active through 2026 6, 7.
  • GS1DigitalLinkToolkit.js — official JavaScript toolkit for translating between GS1 element strings and Digital Link URIs (and back). ~20 stars, active 2026 9.
  • GS1DL-resolver-testsuite — official conformance test suite for checking a resolver against the Digital Link spec 6.

Comparison

Digital Link vs a plain GTIN barcode. A conventional EAN/UPC barcode encodes only the GTIN as digits — it identifies the product but carries no machine-actionable link and no batch/serial granularity. A GS1 Digital Link URI carries the same GTIN plus optional key qualifiers (lot, serial, CPV) and attributes (expiry), and — critically — is itself a web address, so the same scan can both feed POS and open web content 3, 5. The trade-off is size: a URI is far longer than 13 digits, so it needs a 2D carrier (GS1 QR Code or GS1 DataMatrix) rather than a 1D linear symbol, and benefits from the compressed URI form 1, 7.

Digital Link vs GS1 element strings (FNC1 syntax). Both encode the same AI data model. Element strings (used by GS1-128 and GS1 DataMatrix) are compact and optimized for supply-chain scanners but are opaque to web infrastructure. Digital Link URIs are slightly larger but are natively resolvable by browsers and HTTP services; the two are losslessly interconvertible by toolkits like GS1DigitalLinkToolkit.js 9.

Fun facts

  • It started life with a different name. The change log of the URI Syntax standard (release 1.7.0, ratified August 2026) records that its first release was "originally published under the title GS1 Web URI Structure Standard" 1.
  • The developer-friendly shortcuts backfired. Early versions let gtin, gln and similar "convenience alphas" stand in for numeric AIs to make URIs friendlier to developers; GS1 later wrote that "experience has shown that the opposite is true", and release 1.3.0 (November 2022) removed them; release 1.4.0 (April 2023) went on to require every GTIN as 14 digits 1. Only existing infrastructure should still accept those legacy forms; new implementations are not expected to 1.
  • The canonical form sorts by text, not number. Any domain may host a Digital Link URI, but the canonical one always starts https://id.gs1.org, keeps only GS1-defined data attributes in the query string, and sorts them "in lexical, not numeric order" of the AI 1.
  • It can point at an invoice. AI 415, the GLN of the invoicing party, is a primary key in the URI grammar, and the AI 8020 payment reference is a mandatory qualifier after it; release 1.3.0 reinstated AI 415 1.

Status

GS1 Digital Link is a published, maintained GS1 standard (URI Syntax release 1.7.0, ratified August 2026, plus the Resolver standard) and is the data-format backbone of GS1's global push to migrate retail point-of-sale from 1D to 2D barcodes by the end of 2027 — see GS1 Sunrise 2027 1, 3. It is one of the two carriers (alongside GS1 DataMatrix) sanctioned for that transition, in the form of a QR Code carrying GS1 Digital Link URI syntax 3.

Sources

1 GS1 Digital Link Standard: URI Syntax — GS1, 2022 2 GS1-Conformant Resolver Standard — GS1 3 GS1 Digital Link — GS1 4 GS1 Digital Link — Wikipedia 5 GS1 Digital Link: Complete Guide to the Standard (2026) — Linkode, 2026 6 GS1_DigitalLink_Resolver_CE — GS1 / GitHub 7 GS1_DigitalLink_Resolver_CE README — GS1 / GitHub 9 GS1DigitalLinkToolkit.js — GS1 / GitHub

Deployments

No country reports mention this standard by name.

Regions / aggregations not mapped to a single country

  • Universal
source · content/standards/gs1-digital-link/index.md