GS1 Digital Link Validator
Paste a GS1 Digital Link URI — or drop in a photo of the code on your packaging — and see exactly what a scanner reads from it. Every identifier decoded, every check digit recomputed, and every deviation from the standard called out. Free, instant, and it never leaves your browser.
Or drop a QR image here —
Photograph or screenshot a code on packaging. Decoding happens on your device; the image is never uploaded.
Seven checks
What This Validator Actually Verifies
A GS1 Digital Link fails quietly. The URL opens fine in a browser, so a broken one can reach print before anyone notices the point-of-sale scanner won't read it. These are the checks that catch it first.
The primary key is real
The first AI in the path has to be one of the sixteen GS1 primary keys. A URL that just looks like a Digital Link — /product/12345 — is reported, not waved through.
Check digits recomputed
The mod-10 check digit is recalculated from scratch on GTIN, SSCC, GLN, GSIN and GSRN keys. A single mistyped digit is the most common way a Digital Link points at the wrong product.
Qualifiers belong, and are in order
AI 22, 10 and 21 qualify a GTIN; 8011 qualifies a CPID and nothing else. The standard also fixes their order in the path — we check both, because resolvers can silently mismatch otherwise.
Values fit GS1 character set 82
Batch and serial values are limited to 20 characters from a specific 82-character set. A space or a bracket that slipped in from a spreadsheet is caught here.
Dates are real dates
AI 17 and the other date attributes are YYMMDD, where DD=00 legitimately means end of month. 270230 is not a date; 270200 is. We check the calendar, including leap years.
Link types match the vocabulary
A ?linkType= that isn't in the GS1 Web Vocabulary won't resolve to anything. All 60 published types are checked by name, deprecated ones point you at their replacement, and a custom link type given as a full IRI passes untouched.
Everything else is surfaced
Unrecognised AIs, data attributes sitting in the path instead of the query string, http instead of https, an uppercase host, or a compressed link we can't expand — each is reported rather than quietly passed.
Reference
GS1 Application Identifiers This Tool Recognises
Primary keys go first in the path. Key qualifiers follow, in the order listed. Data attributes belong in the query string. Anything not on this list is reported as unrecognised rather than assumed valid.
Primary keys
| AI | Meaning | Path alias |
|---|---|---|
| 253 | GDTI | /gdti/ |
| 255 | GCN | /gcn/ |
| 401 | GINC | /ginc/ |
| 402 | GSIN | /gsin/ |
| 414 | GLN (physical location) | /gln/ |
| 415 | GLN (invoicing party) | /payTo/ |
| 417 | Party GLN | /party/ |
| 8003 | GRAI | /grai/ |
| 8004 | GIAI | /giai/ |
| 8006 | ITIP | /itip/ |
| 8010 | CPID | /cpid/ |
| 8013 | GMN | /gmn/ |
| 8017 | GSRN (provider) | /gsrnp/ |
| 8018 | GSRN (recipient) | /gsrn/ |
| 01 | GTIN | /gtin/ |
| 00 | SSCC | /sscc/ |
Key qualifiers
| AI | Meaning | Path alias |
|---|---|---|
| 10 | Batch / lot number | /lot/ |
| 21 | Serial number | /ser/ |
| 22 | Consumer product variant | /cpv/ |
| 254 | GLN extension | /glnx/ |
| 8011 | CPID serial number | /cpsn/ |
| 8019 | Service relation instance number | /srin/ |
| 8020 | Payment slip reference | /refno/ |
Data attributes
| AI | Meaning | Path alias |
|---|---|---|
| 11 | Production date | — |
| 13 | Packaging date | — |
| 15 | Best before date | — |
| 16 | Sell by date | — |
| 17 | Expiration date | — |
| 20 | Internal product variant | — |
| 30 | Variable count | — |
| 235 | Third party controlled serial (TPX) | — |
| 240 | Additional product identification | — |
| 241 | Customer part number | — |
| 242 | Made-to-order variation | — |
| 243 | Packaging component number | — |
| 422 | Country of origin | — |
| 710 | NHRN — Germany (PZN) | — |
| 711 | NHRN — France (CIP) | — |
| 712 | NHRN — Spain (CN) | — |
| 713 | NHRN — Brazil (DRN) | — |
| 714 | NHRN — Portugal (AIM) | — |
| 3103 | Net weight (kg, 3 decimals) | — |
| 7003 | Expiration date and time | — |
| 8005 | Price per unit of measure | — |
Link Checks Out? Turn It Into a QR Code
The GS1 Digital Link QR code generator builds the URI for you from a GTIN plus optional batch, serial, variant and expiry — in the canonical order, with the check digit validated — and renders it as a PNG with a free account, or as print-ready SVG and PDF on any paid plan or the one-time Download Pack. For a full catalogue, the bulk generator takes a CSV with one row per SKU and returns every code in a single download.
