In short: a GS1 Digital Link is a product’s GS1 identifier, usually its GTIN, written as a web address in a fixed pattern such as https://id.example.com/01/09506000134352. Put that address in a QR code and the symbol works for shoppers (their phone opens a page) and, once checkouts can read 2D codes, for retail scanners too. Worked examples follow below.

Nearly every retail product carries a GTIN (Global Trade Item Number) — the number behind the EAN-13 or UPC-A barcode scanned at the checkout. A 1D barcode carries only that number. It cannot send a shopper to ingredients or instructions, and it cannot say which batch or which individual unit is in your hand.

GS1 Digital Link fixes that by writing GS1 identifiers as an ordinary HTTPS web address. The GTIN — and optionally the batch, serial number or expiry date — become parts of a URL on the brand’s domain. Store that URL in a QR code and you get a single symbol that:

GS1 Digital Link QR code replacing a traditional 1D barcode on product packaging
GS1 Digital Link puts a product’s GTIN inside a standard, scannable HTTPS web address (ISO/IEC 18975).

The standard is maintained by GS1 as the GS1 Digital Link URI Syntax and is also published internationally as ISO/IEC 18975:2024. A “GS1 Digital Link QR code” (often just called a GS1 QR code or digital link QR code) is simply a regular QR code whose content is a URI written in that syntax.

A GS1 Digital Link QR code on product packaging with a resolver routing diagram showing multiple endpoint destinations
One GS1 Digital Link QR code, routed by a resolver to different destinations.
In one sentence

GS1 Digital Link = your GTIN written as a URL on your domain, inside a normal QR code. The “GS1” part is the URL syntax and the number; the QR code itself is standard.

GTINs and the Role of GS1

Before you can build a Digital Link URI you need a valid GTIN. Here is how the pieces fit together:

The free part is everything after that. The QR code, the URL and the web pages behind it do not need GS1 approval; the number does. If you already have EAN/UPC barcodes on your products, you already have GTINs and can start building Digital Link URIs today. For how QR codes compare with the barcodes you print now, see QR code vs barcode.

GS1 Digital Link URI Syntax: GTIN, Batch, Serial, Expiry

A Digital Link URI is built from GS1 Application Identifiers (AIs) — the numeric codes you see in brackets on logistics labels, such as (01) for the GTIN or (10) for a batch. In the URI, each AI and its value become a pair of path segments.

The minimal form contains only the domain and the GTIN, using AI 01:

https://id.example.com/01/09506000134352

Here id.example.com is a domain the brand controls, /01/ says “a GTIN follows”, and 09506000134352 is the 14-digit GTIN (GS1’s own example number, check digit included).

Key qualifiers narrow the GTIN to a batch or a single unit and are added as further path segments in a fixed order — batch/lot (AI 10) before serial number (AI 21):

https://id.example.com/01/09506000134352/10/AB1234/21/SN00987

Data attributes such as the expiry date (AI 17, in YYMMDD format) are not part of the identifier, so they go in the query string:

https://id.example.com/01/09506000134352/10/AB1234?17=260331

Annotated diagram of a GS1 Digital Link URI showing domain, primary key AI 01 with GTIN, qualifiers AI 10 and AI 21, and AI 17 expiry as a data attribute
Anatomy of a GS1 Digital Link URI — domain, primary key (AI 01 + GTIN), key qualifiers (AI 10, AI 21) and data attributes such as expiry (AI 17).
AI Data element Position in URI Example
AI 01GTIN (14 digits)Primary key — always first/01/09506000134352
AI 10Batch / lot numberKey qualifier (path)/10/AB1234
AI 21Serial numberKey qualifier (path, after AI 10)/21/SN00987
AI 17Expiry date (YYMMDD)Data attribute — query string?17=260331
AI 8013Global Model Number (GMN)Alternative primary key (instead of AI 01)/8013/1234ABC
Common syntax mistakes

Putting the expiry date in the path (/17/260331), putting the serial before the batch, using a 13-digit GTIN without the leading zero, and a wrong check digit. Any of these can make the URI invalid for checkout software even though a phone will still open the page. Check URIs with GS1’s own syntax tools before printing.

GS1 Digital Link Examples: Build a URI Step by Step

All examples below are illustrative: id.example.com is a placeholder domain and 09506000134352 is the sample GTIN GS1 uses in its own documentation, not a real product. Replace both with your own.

The pattern

https://{domain}/01/{GTIN-14}/22/{variant}/10/{lot}/21/{serial}?17={expiry}

Only /01/{GTIN-14} is required. The path segments you add must keep this order: AI 01 (GTIN), then 22 (consumer product variant, CPV), then 10 (batch/lot), then 21 (serial number). Data attributes such as the expiry date (AI 17, format YYMMDD) are not part of the path; they go after the ?.

What you identifyExample Digital Link URI (illustrative)
A product (GTIN only)https://id.example.com/01/09506000134352
A product variant (GTIN + CPV)https://id.example.com/01/09506000134352/22/2A
A batch (GTIN + lot)https://id.example.com/01/09506000134352/10/AB1234
One unit (GTIN + lot + serial)https://id.example.com/01/09506000134352/10/AB1234/21/SN00987
Everything in order (GTIN + CPV + lot + serial)https://id.example.com/01/09506000134352/22/2A/10/AB1234/21/SN00987
Batch with an expiry date (31 March 2026)https://id.example.com/01/09506000134352/10/AB1234?17=260331

Example: turning an EAN-13 into the URI

  1. Start with the EAN-13 printed under your barcode, for example 9506000134352.
  2. Pad it to 14 digits with a leading zero: 09506000134352.
  3. Add the domain and AI 01: https://id.example.com/01/09506000134352.
  4. Add the batch if you want batch-level links: /10/AB1234.
  5. Add expiry as a query attribute if you use it: ?17=260331.

Example: checking the GTIN check digit

The last digit of a GTIN is a check digit. To verify it, take the digits before it, multiply them alternately by 3 and 1 starting with 3 from the right, add the results, and see how much is needed to reach the next multiple of ten. For 0950600013435 (the GTIN above without its check digit, 2):

(5×3)+(3×1)+(4×3)+(3×1)+(1×3)+(0×1)+(0×3)+(0×1)+(6×3)+(0×1)+(5×3)+(9×1)+(0×3) = 78. The next multiple of ten is 80, so the check digit is 80 − 78 = 2. It matches the final digit of 09506000134352.

Special characters in lot and serial numbers

Batch and serial values can contain letters, digits and some symbols. Characters that have a special meaning in a URL, such as /, ? and #, must be percent-encoded (for example / becomes %2F) or the URI will break. If you control the numbering, avoid them in lot and serial values.

Your own domain or the GS1 resolver?

The domain in the URI decides who answers the scan. You can use your own domain (for example id.yourbrand.com) and run the redirects yourself, or use GS1’s global resolver at id.gs1.org for GS1-registered GTINs. Using your own domain keeps you in control of the destination, but remember that the domain is printed on every pack: keep it short, permanent and under your control.

How to Make a GS1 Digital Link QR Code

Because the content is just a URL, creating the code itself is the easy part. Our free web generator encodes a Digital Link URI exactly like any other link.

From GTIN to print-ready QR code

1

Write the URI. Domain + /01/ + 14-digit GTIN, plus /10/… and /21/… if you need batch or serial, plus query attributes such as ?17=YYMMDD. Keep the domain short — a shorter URI makes a smaller, less dense code.

2

Make sure the URL works. Open it in a browser. It should land on a real product page, not a 404 (see resolvers below).

3

Generate the code. On the generator, choose URL, paste the URI and generate. The code runs in your browser; nothing is uploaded.

4

Download SVG for packaging. The SVG is pure vector, black on white, with a 4-module quiet zone, so your designer can scale it to the exact size the artwork needs. See print resolution and DPI if you must supply a bitmap.

5

Test and verify. Scan a proof with an iPhone and an Android phone. For codes that must scan at the checkout, have the printed code graded with a barcode verifier (2D print quality is graded under ISO/IEC 15415) against the GS1 General Specifications.

A few honest limits. Our web generator creates one code at a time, which suits one code per product (GTIN only) or per batch. If you need a unique code for every serialised unit, that is a job for your packaging line’s variable-data printing system, not a web form. And the generator does not check GS1 syntax for you — validate the URI first.

On a Mac, Gen QR – Code Maker lets you pick the error correction level (L, M, Q or H) and keep each product’s code organised in projects and folders, fully offline. For packaging, keep it plain black on white — skip the colours and logo on anything that must scan at the till. If you are checking your product pages in Safari, Tab to QR turns the open Digital Link URL into a QR code in one click — handy for quick phone tests.

Encode Your Digital Link URI

Paste the URI, choose URL, download SVG. Free, no sign-up, never expires.

Resolvers: What Happens When Someone Scans

When a phone scans a Digital Link QR code, it simply requests the URL. The server that answers — the resolver — decides what to return. That can be as simple or as smart as you need:

The GS1 web vocabulary defines link types, including:

Because the URL is on your domain, you can change where it leads at any time without reprinting — a static QR code with a flexible destination, no subscription needed.

Download

QR Code Apps for Mac & Safari

Prefer generating codes without opening a browser tab? These two native Apple apps cover both habits — a full generator on the desktop, and a one-click share button inside Safari.

Gen QR Fast QR code generator for links, text, Wi-Fi and vCards. Works fully offline, exports PNG and SVG.
Mac App Get
Tab to QR Turn the current tab into a QR code to scan or share, straight from the Safari toolbar.
Safari Extension Get

One Code, Many Uses

The promise of GS1 Digital Link is that a single printed code serves different people differently.

One GS1 Digital Link QR code serving consumers, retail checkout, supply chain and serial authentication
One printed code can serve shoppers, checkouts, supply chains and brand protection.
Diagram showing one GS1 Digital Link QR code being scanned by a consumer smartphone, a retail POS terminal, and a logistics API, each receiving different data
Three scan contexts, three different responses, one code.

This is also why GS1 Digital Link comes up in discussions about the EU Digital Product Passport, which relies on a data carrier on the product linking to product information. For general packaging placement and size, see QR codes on product packaging.

Sunrise 2027: What It Means

Sunrise 2027 is the industry goal, led by GS1 US and supported across the GS1 network, for retail point-of-sale scanners to be able to read 2D barcodes — QR codes carrying GS1 Digital Link and GS1 DataMatrix — by the end of 2027.

Sunrise 2027 timeline for GS1 Digital Link QR codes, from grocery pilots to scanner certification to industry-wide readiness
Sunrise 2027 is the industry target for checkouts to read 2D codes such as GS1 Digital Link QR codes.

What it does and does not mean in practice:

For most brands the practical move today is a dual-symbol pack: keep the existing barcode for checkout and add a GS1 Digital Link QR code that already works for shoppers’ phones and will work at more and more tills.

Packaging Implementation Checklist

Checklist for printing a GS1 Digital Link QR code on product packaging, with a 20 x 20 mm size marker and verification step
Prefix and GTINs, resolver, URIs, size, then verify before the print run.
  1. Confirm your GTINs — licensed from GS1, one per product variant, check digits correct.
  2. Choose the domain — short, permanent, and one you control (for example id.yourbrand.com).
  3. Set up resolution — every URI you print must lead to a working page; add link types later if you need them.
  4. Decide the granularity — GTIN only, GTIN + batch, or fully serialised, and whether to add expiry.
  5. Build and validate the URIs — correct order, 14-digit GTIN, attributes in the query string.
  6. Generate the QR codes — black on white, full quiet zone, vector artwork. Error correction M or Q is a sensible choice.
  7. Size and verify — follow the GS1 General Specifications for module size if the code must scan at the checkout, and verify print quality before the run.

GS1 Digital Link is an open standard. Any generator that makes standard URL QR codes can encode a valid URI; the value lies in the number, the syntax and the pages behind it. For deeper QR internals, our QR code technical specifications guide covers versions, capacity and error correction.

Frequently Asked Questions

GS1 Digital Link is a GS1 standard, also published as ISO/IEC 18975, for writing GS1 identifiers — such as the GTIN, batch/lot and serial number — as an ordinary HTTPS web address. Put that address in a QR code and the same symbol can be read by a checkout scanner (which extracts the GTIN) and by a phone camera (which opens the web address).

For a GTIN alone: https://id.example.com/01/09506000134352. Batch and serial are added as further path segments in a fixed order — /01/09506000134352/10/AB1234/21/SN00987 — while data attributes such as the expiry date go in the query string, for example ?17=260331. The GTIN is always written as 14 digits, padded with leading zeros.

Yes. A GS1 Digital Link QR code is a standard QR code that contains a URL, so any URL generator, including ours, can encode it. What a generator cannot do is give you a valid GTIN, host the resolver behind the domain, or certify print quality — those come from GS1, your web server and a barcode verifier.

GTINs are issued through GS1, a neutral, not-for-profit standards organisation, via its member organisation in your country. You license a GS1 Company Prefix (or, in some countries, individual GTINs) and then number your products from it. Fees and options vary by country, so check with your local GS1 office.

Sunrise 2027 is the industry goal, led by GS1 US and supported across the GS1 network, for retail point-of-sale scanners to be able to read 2D barcodes such as QR codes carrying GS1 Digital Link by the end of 2027. It does not ban 1D barcodes; brands are expected to run both side by side during the transition.

No. The Digital Link URI is stored as ordinary text in a regular QR code, with no special mode required, and any phone camera can read it. Keep it black on white, with a full quiet zone, and size it according to the GS1 General Specifications if it has to scan at the checkout.

A normal QR code can hold any text. A GS1 Digital Link QR code holds a web address written in the GS1 Digital Link syntax, with the GTIN and optional batch, serial or expiry in defined positions. The QR symbol itself is identical; the difference is how the address is structured.

No. Sunrise 2027 is an industry goal, led by GS1 US, for retail scanners to be able to read 2D barcodes by the end of 2027. It is not a law, and it does not require brands to add a QR code by a fixed date. Check GS1 guidance for your market before changing your packaging.

After the domain: /01/ and the 14-digit GTIN, then optionally /22/ with the consumer product variant, /10/ with the batch or lot, and /21/ with the serial number, in that order. Data attributes such as the expiry date (?17=YYMMDD) go in the query string.