What is GS1 Digital Link? A guide for consumer brands
GS1 Digital Link puts your GTIN inside a web address, so one QR code works at the register and on a shopper's phone. Get the syntax or the domain wrong and the fix is a reprint. This guide shows how the address is built, who reads it and how to get it right.
DLCode · Updated · 8 min read
What GS1 Digital Link is
GS1 Digital Link is a GS1 standard for writing GS1 identifiers, such as the GTIN on your UPC, as a web address. The same address can also carry a batch or lot number, a serial number, an expiry date, and other data that GS1 already defines.
GS1 describes two goals for the standard. Scanning software can decode the identifiers from the barcode and pass them to a host system with no online connection. The same identifiers also link to information online. When you print a QR code that follows the standard, you give people a URL to open and you give retail systems the GTIN they already use.
The current version is the GS1 Digital Link Standard: URI Syntax, release 1.7.0, ratified in August 2026. A separate standard, the GS1-Conformant Resolver standard (release 1.2.1, also ratified in August 2026), covers the service that answers when someone opens the link.
How a GS1 Digital Link URI is structured
A GS1 Digital Link URI is an ordinary web URI with the form scheme://hostname/path?query. The path holds the primary identifier and its key qualifiers. The query string holds extra data attributes as key=value pairs. Each element is labeled with its GS1 Application Identifier (AI), the number that GS1 uses to say what a piece of data means.
This example from the standard uses GS1's demonstration GTIN with a lot, a serial number, and an expiry date.
https://id.gs1.org/01/09520123456788/10/ABC1/21/12345?17=180426
| Part | Example | What it means |
|---|---|---|
| Domain | id.gs1.org | The standard says a GS1 Digital Link URI can be built on any domain name, so brands can use their own. |
| AI 01 (GTIN) | /01/09520123456788 | The primary key. Always written as 14 digits. |
| AI 10 (batch or lot) | /10/ABC1 | Optional key qualifier in the path. |
| AI 21 (serial number) | /21/12345 | Optional key qualifier in the path. |
| AI 17 (expiry date) | ?17=180426 | A data attribute, so it goes in the query string as a six-digit date (YYMMDD). |
A few rules from the standard decide whether a URI is valid. You need to know them before you design a label or a database field. Test any link against these rules with the free GS1 Digital Link validator.
- The GTIN is always 14 digits, with leading zeros as filler. A 12-digit UPC-A gets two leading zeros, a 13-digit EAN-13 gets one, and an 8-digit EAN-8 gets six.
- Key qualifiers for a GTIN have a fixed order: consumer product variant (AI 22), then batch or lot (AI 10), then serial number (AI 21). Each one is optional, but the order must be kept. A path with /21/ before /10/ is not valid.
- Everything after the domain name is case-sensitive. A lot code of ABC1 and one of abc1 are different values.
- Use the numeric AI. Short names such as "gtin" were deprecated in version 1.2 and removed in version 1.3.0.
- The canonical form uses https://id.gs1.org. Your printed code does not have to use that domain.
One code, two readers
Two different devices can read the same QR code, and each gets what it needs. The checkout scanner wants the GTIN. The shopper's phone wants a web page.
A point-of-sale scanner does not open the URL. GS1's POS scanner criteria say scanner software must identify QR Codes and Data Matrix symbols that use the GS1 Digital Link URI syntax, and convert the URI to GS1 element string syntax. That is the same data format the store's systems already get from a GS1 barcode. Because the GTIN is in the URI itself, the scanner extracts it from the decoded text with no network lookup.
The criteria describe three scanner modes that a retailer can configure.
- Mode 1. The scanner sends only the GTIN from whichever GS1 barcode it decodes first, with a single beep or visual signal, then waits for the next product.
- Mode 2. The scanner gives priority to the 2D code and sends the GTIN plus extra data, such as lot and expiry, in GS1 element string format. If it cannot find a 2D code, it sends the data from the linear barcode.
- Mode 3. The scanner sends data from all GS1 barcodes on the product, each with the same 8-digit label identification so the store system knows they belong to one item.
The criteria also set speed targets, measured from the moment the barcode enters the scanner's field of view. A high-speed bioptic scanner should send the result in less than 300 milliseconds. A presentation scanner or an activated handheld should send it in less than 500 milliseconds.
A phone camera works the other way. It decodes the QR code, sees an https address, and offers to open it in the browser. The browser sends a request to the domain in the code. A resolver at that domain reads the GTIN and any qualifiers, and redirects the shopper to the page you chose for that product.
How it differs from a marketing QR code and from GS1 DataMatrix
Many brands already print a QR code that goes to a website. That code holds an arbitrary URL with no GS1 identifiers in it, so a checkout scanner cannot get a GTIN from it. GS1's scanner criteria ask that POS scanners can be configured to ignore non-GS1 data carriers. GS1 US asks brands to update existing QR codes to the GS1 Digital Link standard and to include the same GTIN that is in the product's UPC or EAN. If your pack has a SmartLabel code, see GS1 Digital Link vs SmartLabel.
GS1 DataMatrix is a different 2D symbol that carries GS1 data as an element string with no URL. A phone camera app does not open it as a web page. GS1 notes that in healthcare, identifiers are usually encoded in a GS1 DataMatrix, and the scanning software, usually a phone app, may convert them into a GS1 Digital Link URI.
| Plain marketing QR code | QR code with GS1 Digital Link | GS1 DataMatrix | |
|---|---|---|---|
| What it holds | Any URL | A URL with the GTIN and optional qualifiers | GS1 element string (GTIN and other AIs) |
| Checkout scanner gets a GTIN | No | Yes, if the scanner supports GS1 Digital Link | Yes, if the scanner supports GS1 DataMatrix |
| Phone camera opens a web page | Yes | Yes | No, unless an app converts the data |
| Where GS1 points to it | Not a GS1 data carrier | Retail products, one code for the register and the shopper | Healthcare products |
What a resolver does
A resolver is the web service at the domain in your QR code. The GS1-Conformant Resolver standard defines how it takes a GS1 identifier, such as a GTIN, and connects it to one or more online resources about that product.
When a request arrives, the resolver checks that the GS1 keys in the URI are valid and looks up the links for that product. The standard sets these behaviors.
- Each product has one default link. With no other instruction, the resolver redirects to it.
- Every link has a target URL, a link type, and a human-readable title. Link types use the gs1: prefix, for example gs1:pip for a product information page.
- A request can ask for a specific kind of link with the linkType query parameter. If that type does not exist, the resolver returns a 404.
- An optional context attribute separates links of the same type, for example by territory. The standard does not fix the values, and a resolver that supports context should declare the values it uses.
- Links set at the GTIN level are inherited by more specific requests, so a lot-level or serial-level scan still gets the product's links unless you set different ones.
- An invalid request gets a 400 response, and a valid request for an unknown product gets a 404. A resolver must not return a 200 response for an error.
The resolver is what lets you change where a code goes after the package is printed. GS1 states that a brand owner can keep updating digital content without changing the QR code on pack. The URI syntax standard also says that applications must not assume a URL with this syntax points to a resolver. A conformant resolver publishes a description file at /.well-known/gs1resolver, which you can use to check.
Where GS1 says it applies
GS1 places GS1 Digital Link at the center of retail's move to 2D barcodes. Its stated vision is that each product will have a single 2D barcode that works at the retail point of sale and also gives access to product information, certifications, instructions for use, and traceability information.
In the United States, GS1 US calls this transition Sunrise 2027, a move from 1D UPC barcodes to 2D barcodes such as QR codes. GS1 US says retailers should install scanners that can read 2D barcodes and extract the GTIN at the point of sale. Packs you print now will be on shelves while those scanners roll out.
GS1 also says where the standard does not go on pack. In healthcare, the Digital Link URI is not encoded in a 2D barcode. Those products use GS1 DataMatrix or a linear barcode, and phone apps can create the Digital Link URI from the scanned data.
GS1's scanner criteria expect a product to carry more than one barcode. A 2D code and an EAN-13 can be on the same item with the same GTIN, and the scanner must handle that. For a small brand, this means you add the QR code next to your existing UPC or EAN. You do not replace the linear barcode.
Before you print
Check these points against your artwork before you send a file to the printer. To build a link on your own domain, use the free GS1 Digital Link generator.
- Confirm the GTIN in the QR code is the same GTIN as the UPC or EAN on the same package, written as 14 digits.
- If you include a variant, lot, or serial, put them in the order AI 22, AI 10, AI 21, and match the case of the codes your line prints.
- Put the expiry date and other data attributes in the query string. Keep them out of the path.
- Make sure the domain in the code runs a resolver you control or can update, because you cannot change the printed domain later.
- Scan the proof with a phone to check the redirect. If you have access to a 2D-capable retail scanner, scan it there too to check that it sends the GTIN.
Get valid GS1 Digital Link codes with DLCode
DLCode builds GS1 Digital Link QR codes with the syntax right on every product and runs the resolver that answers each scan, so your codes work at the register and on a phone from day one.
- Codes in the form https://dlcode.org/01/{GTIN-14} with an optional /10/{lot}, the GTIN padded to 14 digits and the check digit validated.
- Your own domain on every plan, such as https://qr.yourbrand.com/01/{GTIN-14}, so the printed domain stays yours.
- A resolver that answers /01/{GTIN} paths with 307 redirects, returns GS1 linkset JSON, handles linkType requests and publishes /.well-known/gs1resolver.
- Change any destination at any time with no reprint. Paid packs add all 20 supported GS1 link types and links by lot, country or language.
- One print-ready file per product with your UPC-A, EAN-13 or EAN-8 and the QR code 4 mm apart, at 1:1 scale.
Start free for 10 products with no card. One-time packs start at $249 for 25 products and include hosting and unlimited scans through December 31, 2030. There is no subscription. Every new account also gets lot codes, recalls and country pages free for 30 days.
Print a code you will not have to replace. Start free or See pricing. For the steps, see how to get a GS1 Digital Link.
Sources
Get your QR code
Get a print-ready file with your barcode and a GS1 Digital Link QR code side by side. 10 products free, and pack features free for 30 days. No card. Then pay once from $249.