What Is GS1 Digital Link?
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:
- a phone camera opens as a web page (product information, instructions, recalls), and
- a 2D-capable checkout scanner parses to extract the GTIN and ring up the sale.
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.
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:
- GS1 is a neutral, not-for-profit global standards organisation, best known for the barcode numbering system used in retail. It works through member organisations in individual countries.
- GS1 Company Prefix. Brands license a company prefix (or, in some countries, individual GTINs) from their local GS1 office. Fees depend on the country and the number of products.
- GTIN. Each product variant gets its own number from that prefix — 8, 12, 13 or 14 digits, the last of which is a check digit calculated from the others. In a Digital Link URI it is always written as 14 digits, padded with leading zeros (a 13-digit EAN becomes
0+ EAN).
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
| AI | Data element | Position in URI | Example |
|---|---|---|---|
| AI 01 | GTIN (14 digits) | Primary key — always first | /01/09506000134352 |
| AI 10 | Batch / lot number | Key qualifier (path) | /10/AB1234 |
| AI 21 | Serial number | Key qualifier (path, after AI 10) | /21/SN00987 |
| AI 17 | Expiry date (YYMMDD) | Data attribute — query string | ?17=260331 |
| AI 8013 | Global Model Number (GMN) | Alternative primary key (instead of AI 01) | /8013/1234ABC |
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 identify | Example 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
- Start with the EAN-13 printed under your barcode, for example
9506000134352. - Pad it to 14 digits with a leading zero:
09506000134352. - Add the domain and AI 01:
https://id.example.com/01/09506000134352. - Add the batch if you want batch-level links:
/10/AB1234. - 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
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.
Make sure the URL works. Open it in a browser. It should land on a real product page, not a 404 (see resolvers below).
Generate the code. On the generator, choose URL, paste the URI and generate. The code runs in your browser; nothing is uploaded.
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.
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:
- Simplest: your own web server maps
/01/{GTIN}to the right product page with a redirect or rewrite rule. If you add batch or serial segments, make sure those paths resolve too, or shoppers get a 404. - Standards-based: a resolver that follows the GS1 conformant-resolver rules can serve different link types for the same product and advertise them in an HTTP
Linkheader. - GS1’s resolver: GS1 also runs a global resolver at
id.gs1.orgthat can redirect GS1-registered GTINs to the brand’s chosen destination.
The GS1 web vocabulary defines link types, including:
- gs1:pip — product information page (the default for shoppers)
- gs1:allergenInfo — allergen information
- gs1:certificationInfo — certifications and sustainability records
- gs1:traceability and gs1:epcis — batch-level traceability data
- gs1:verificationService — authenticity checks
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.
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.
One Code, Many Uses
The promise of GS1 Digital Link is that a single printed code serves different people differently.
- Shopper with a phone — opens the product page: ingredients, allergens, how-to videos, recycling advice.
- Checkout scanner — a 2D-capable POS system extracts the GTIN from the URI and processes the sale as it would an EAN-13; no web request is needed.
- Supply chain and recalls — with a batch in the URI, systems can link the item to its lot; with an expiry date, stores can manage date-sensitive stock.
- Authentication — with serialised URIs, a brand can check whether a specific unit is genuine.
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.
What it does and does not mean in practice:
- It is about scanner readiness, not a deadline for brands. Nothing forces you to add a QR code by 2027.
- It does not retire the 1D barcode overnight. During the transition, products are expected to carry both the EAN/UPC barcode and a 2D code; check GS1 guidance for your market before dropping the 1D barcode.
- Many checkouts already use image-based scanners that can read 2D codes; older laser scanners cannot, which is why the transition takes time.
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
- Confirm your GTINs — licensed from GS1, one per product variant, check digits correct.
- Choose the domain — short, permanent, and one you control (for example
id.yourbrand.com). - Set up resolution — every URI you print must lead to a working page; add link types later if you need them.
- Decide the granularity — GTIN only, GTIN + batch, or fully serialised, and whether to add expiry.
- Build and validate the URIs — correct order, 14-digit GTIN, attributes in the query string.
- Generate the QR codes — black on white, full quiet zone, vector artwork. Error correction M or Q is a sensible choice.
- 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.