Skip to main content
Online Tool

GS1 Digital Link Decoder

Paste a GS1 Digital Link URL, a (AI)value element string, or a raw FNC1-separated payload. We'll extract the GTIN, batch, expiry, serial and any other recognised Application Identifiers — all in your browser. Dates in YYMMDD form are shown as calendar dates, and every decoded value has its own copy button.

The decoder runs locally. Nothing is uploaded.

Result

Paste a GS1 Digital Link URL or element string and press Decode. The detected Application Identifiers will appear here as cards.

Supported Application Identifiers

The most commonly scanned GS1 AIs are recognised by AI number or by Digital Link short name (e.g. /gtin/, /lot/, /expiry/).

AIMeaningNotes
(01)GTIN14-digit Global Trade Item Number.
(10)Batch / LotVariable, up to 20 characters.
(17)ExpiryYYMMDD, formatted to YYYY-MM-DD.
(21)Serial numberVariable, up to 20 characters.
(11/13/15)Production / packaging / best-before datesYYMMDD.
(00)SSCC18-digit Serial Shipping Container Code.
(414)GLN13-digit Global Location Number.
(240/22/30/37)Variants & countsVariant codes and count fields.
(8003/8004/8006/8010/8017/8018)Asset & service identifiersGRAI, GIAI, ITIP, CPID, GSRN.

What Is GS1 Digital Link?

GS1 Digital Link is a syntax that turns GS1 identifiers into a regular https:// URL. The path encodes Application Identifiers as key/value pairs: a GTIN sits under /01/, a batch under /10/, and data such as an expiry date goes in the query string as ?17=. That URL is then encoded into a 2D barcode — usually a QR code or a Data Matrix.

The result is one barcode that does two jobs: a shopper's phone resolves the URL to a web page, while a retail or hospital scanner uses the same payload to extract the GTIN, batch and serial for inventory and traceability. No more separate marketing QR plus EAN-13.

https://id.gs1.org/01/07640156790000/10/ABC123?17=260131&21=42 │ │ │ │ │ │ │ │ │ └─ serial (21) │ │ │ │ │ │ │ └──────── expiry (17), 2026-01-31 │ │ │ │ │ └──────────────── batch / lot (10) │ │ │ └──────────────────────────────── GTIN value │ │ └──────────────────────────────────── GTIN AI (01) │ └────────────────────────────────────────────────── GS1 resolver host └─────────────────────────────────────────────────────────── any https:// host works

About This GS1 Digital Link Decoder

This GS1 Digital Link decoder parses GS1-formatted URLs and element strings into their underlying Application Identifiers. Paste a scanned QR code value (often something like https://id.gs1.org/01/…), a bracketed element string from a Data Matrix, or a raw FNC1-separated payload — the decoder figures out which shape you gave it and breaks it down.

It's the fastest way to inspect a GS1 QR code without spinning up a full supply-chain stack. Everything is parsed locally; nothing is sent to a server.

When to Use It

  • Inspecting a GS1 QR code on a product to confirm the GTIN, batch and expiry match the printed label.
  • Debugging why a Digital Link URL isn't routing correctly in your e-commerce stack.
  • Comparing a supplier's GS1 DataMatrix payload against the spec they sent you.
  • Teaching colleagues how GS1 Application Identifiers map to Digital Link path segments.
  • Preparing for Sunrise 2027 by validating that your brand's 2D codes parse cleanly.

How It Works

  1. Paste a payload Drop in a Digital Link URL, an (AI)value element string, or a raw GS1 payload using ^ / {GS} as separators.
  2. Auto-detect the shape URLs are parsed via the Digital Link path/query syntax; bracketed strings via element-string rules; raw strings via the AI tables.
  3. Resolve each AI Each segment is matched against the known Application Identifier table — fixed-length AIs are split deterministically, variable ones end at the GS separator.
  4. Render result cards Each AI becomes a card with its number, label, raw value and human-friendly formatting (e.g. 260131 → 2026-01-31).
  5. Copy what you need Copy any individual value, or grab the whole normalised element string to pass to another tool.

What to Avoid

  • Treating this as an official GS1 verifier — it parses structure, it does not certify compliance.
  • Pasting an arbitrary URL and expecting Digital Link semantics. The path must follow /AI/value/AI/value/… or the GS1 shortName equivalents.
  • Assuming every (01) value is a registered GTIN — only that the digits are present.
  • Stripping the GS / FNC1 separators from a raw GS1 payload — variable-length AIs need them to know where to stop.
  • Relying on the date formatter for partial dates (DD = 00 means 'last day of month' in GS1).

Tips & Tricks

  • If a date looks wrong, remember GS1 uses YYMMDD with the GS1 century rule (YY ≤ 50 → 20YY, else 19YY).
  • Variable-length AIs like (10) batch and (21) serial cap at 20 characters per the GS1 General Specifications.
  • Need to validate the GTIN inside a Digital Link? Copy the (01) value into the GTIN Validator.
  • Some scanners deliver GS1 payloads with the GS group separator replaced by ']' or '^' — both are handled here.
  • Brands often expose multiple Digital Link redirects per GTIN (consumer page, technical product info). The decoder shows the structured data regardless of where the URL routes.

Preparing for Sunrise 2027

Sunrise 2027 is GS1's global initiative for retail point-of-sale systems to accept 2D codes carrying GS1 Digital Link by the end of 2027. If you're auditing your supplier feeds or your own packaging artwork, this decoder is the fastest way to confirm a code parses cleanly. Read the Sunrise 2027 guide.

How to Decode a GS1 Digital Link URL

Paste the full URL, including https://, into the box above and press Decode. Each Application Identifier becomes its own card; this parser checks structure and is not a GS1 Digital Link verifier.

  1. Copy the URL as text from your scanner app, without opening it.
  2. Paste it into the box and press Decode.
  3. Compare the GTIN, lot and expiry cards with the label, then check Other fields.

GS1 Digital Link Syntax

The decoder reads the path as key and value pairs from the first segment after the host, and reads query parameters the same way. Keys can be AI numbers or short names such as gtin, lot and ser. If a resolver adds its own folder, as in /p/01/…, delete it before decoding. The GS1 Digital Link guide explains the full format and syntax rules.

GS1 Digital Link vs GS1-128 Element Strings

Both carry the same Application Identifiers and values: a Digital Link as a web address, an element string as AI and value pairs for GS1-128.

FeatureDigital Link URLElement string
Field separator/ in the path, & in the queryFNC1, sent by scanners as GS (ASCII 29)
Paste here asThe full URL(AI)value pairs, or raw with ^ or {GS}

To encode AIs into a URL, use the GS1 Digital Link Generator, then paste its output here. Its net weight (AI 3103) appears under Other fields.

Frequently Asked Questions

What Is GS1 Digital Link?

GS1 Digital Link is a standardized way to express GS1 Application Identifiers (GTIN, batch, expiry, serial, GLN…) inside a regular https:// URL. The same QR code becomes a web link for shoppers, a traceability key for retailers, and a data carrier for supply-chain systems — replacing single-purpose barcodes with one consumer-friendly URL.

What's the Difference Between a GS1 Digital Link and a Plain QR Code?

A plain QR code can encode anything. A GS1 Digital Link QR code encodes a URL whose path follows the GS1 syntax, e.g. https://id.gs1.org/01/07640156790000/10/ABC123. That structure lets any compliant scanner extract the GTIN and batch deterministically — no proprietary parsing required.

Which Application Identifiers Does This Decoder Support?

It recognises the most common AIs: (00) SSCC, (01) GTIN, (10) batch/lot, (11/13/15/17) production/packaging/best-before/expiry dates, (21) serial, (22) CPV, (240) additional product id, (30/37) counts, (414) GLN, (8003) GRAI, (8004) GIAI, (8006) ITIP, (8010) CPID, (8017/8018) GSRN. Unknown AIs are still listed but flagged as unrecognised.

Is This an Official GS1 Verifier?

No. ReadBarcode is independent from GS1. This tool performs structural parsing only — it does not verify that a GTIN is officially registered to a brand owner, nor does it confirm certification against the GS1 Digital Link Standard. For authoritative verification use the official GS1 Verified by GS1 service.

Why Does Sunrise 2027 Matter for This Tool?

From 2027, GS1 expects retail point-of-sale systems worldwide to accept 2D codes (QR / Data Matrix) carrying GS1 Digital Link in addition to traditional EAN/UPC. Brands are migrating now, which is why a Digital Link decoder is a daily-driver tool, not a niche one.

Can I Paste a Payload Scanned From a Data Matrix?

Yes. Paste it as an element string with parentheses, e.g. (01)07640156790000(17)260131(10)ABC123(21)42, or as a raw FNC1-separated payload using ^ or {GS} as the group separator. The decoder auto-detects the shape.

Is There a GS1 Digital Link App?

You do not need to install one. Any phone camera that reads QR codes opens a GS1 Digital Link as a web page, but it does not show the GTIN, lot or expiry as separate fields. To see them, copy the URL and paste it into this decoder, which runs in the browser on phones and desktops.

Can I Decode a GS1 Digital Link From a Photo?

Not on this page, which decodes text only. Read the code first with the QR Code Reader or the Data Matrix Reader, which both accept an uploaded photo, then paste the decoded text here. A sharp photo in which the code fills most of the frame reads most reliably.

Related Tools