What is GS1 Digital Link? The barcode that became a URL

2026-05-04 · Updated 2026-08-05 · Onpack

GS1 Digital Link is a GS1 standard that writes a product's barcode identity as a web address. The same GTIN that sits under the stripes of an EAN or UPC barcode becomes a URL such as https://onpack.link/01/09506000134352, usually printed as a QR code. Scan it with a phone and it opens a page. Scan it with a checkout or warehouse system and it returns structured product data. One printed code, every audience.

The anatomy of a Digital Link URI

A Digital Link URI is ordinary web syntax carrying GS1 Application Identifiers as path segments. The building blocks:

SegmentGS1 AIMeaning
/01/0950600013435201The GTIN, the product's global trade item number
/10/LOT4210Batch or lot number
/21/SER12321Serial number of the individual item
/17/27063017Expiry date, YYMMDD

So onpack.link/01/09506000134352/10/LOT42/21/SER123 identifies one specific serialized unit from one specific batch of one product. The full grammar is defined in the GS1 Digital Link URI syntax standard. The deeper you go, the more precise the answers a scan can give: batch-level recalls, item-level authenticity checks, expiry warnings.

Why the industry is doing this

The linear barcode, standardized in 1974, carries one fact: a number. Everything else, the price, the name, the recall status, lives in someone else's database that the shopper cannot reach. GS1, the standards body that manages the numbering system behind virtually every retail barcode on earth, designed Digital Link so the same identity can travel the web. Three pressures converged:

Retail wants richer data at the till. Expiry-aware checkouts, automatic markdowns and precise recalls all need more than a GTIN. The industry initiative called Sunrise 2027 aims to have retail point-of-sale systems worldwide able to scan 2D barcodes by the end of 2027.

Regulators want product data on the product. The EU's Digital Product Passport rules, its battery passport starting February 2027, and traceability rules such as FSMA 204 in the United States all assume a machine-readable data carrier on the pack.

Brands want the scan. A barcode is the most scanned object a brand owns, and with a plain linear code the brand learns nothing from any of those scans. When the code is a URL the brand controls, every scan is an interaction: a page view, a data point, a chance to sell, warn or explain.

What actually happens when a Digital Link is scanned

The URL in the code points at a resolver: a web service that inspects who is asking and answers accordingly. The GS1-Conformant Resolver standard specifies the behaviour precisely. A shopper's phone, which asks for HTML, gets a product page or a redirect to the brand's site. Software that asks for JSON-LD gets structured product data. A client that asks for the linkset gets the complete list of every link the code offers, in the format defined by RFC 9264. The pack never changes; the resolver decides.

This separation is the point. The printed code is permanent, but everything behind it is a setting. A brand can repoint the destination after printing, add a recall notice to one batch, serve a different page per country, or switch website providers, all without touching the artwork.

Digital Link and ordinary QR codes are not the same thing

A marketing QR code pointing at a campaign URL looks identical to the eye. The differences are structural: a Digital Link URI carries the GTIN in standard syntax, so checkout systems can extract the product identity and price the item, and any conformant resolver can answer for it. A random shortlink cannot do either. The full comparison is in GS1 Digital Link vs a regular QR code.

What it costs to adopt

Less than the era it replaces suggests. The GTINs a brand already licenses from GS1 are the identity; nothing about the numbering changes. What a brand needs is a QR code containing the Digital Link URI, artwork space for it next to the existing linear code during the transition (the 50 mm dual marking guidance covers the layout), and a resolver to answer the scans. Onpack provides the code generation and the resolving free at any volume, which removes the last infrastructure excuse.

Common questions

Is GS1 Digital Link replacing the barcode?

The identity stays the same GTIN. What changes is the carrier and the syntax: a 2D code holding a URL instead of stripes holding only a number. Linear barcodes will remain on packs alongside 2D codes for years during the transition.

Do I need GS1 membership to use Digital Link?

You need a GS1-licensed GTIN, which nearly every retail product already has. The Digital Link URI simply spells that same GTIN as a web address. Your GS1 licence and prefixes stay exactly as they are.

Can one QR code work for both checkout and shoppers?

Yes, that is the core design goal. A conformant resolver answers each scanner in its own format: HTML pages for people, JSON-LD and linksets for machines, from one printed code.

What happens to the code if I change website or resolver?

A Digital Link is an ordinary URL, so moving resolvers is a DNS change, not a packaging reprint. Onpack additionally exports your configuration as JSON so nothing is locked in.

Print a code that stays alive

Generate a conformant GS1 Digital Link for any GTIN, check it fits your label, and host the page behind it. Free at any volume.

Create a code