Start free
Free tool

GS1 Digital Link checker, validator and decoder

Paste the web address from a GS1 Digital Link QR code. You get a verdict in plain English, a table of every application identifier in it, and a fix for each problem. No account needed.

The link is read as text only. It is never opened, and it is not stored or logged.

What a result looks like

This is the checker's real answer for a link with three mistakes in it:

https://example.com/01/9520000000012/21/12345/10/ABC123?17=270230

Not valid.

This is not a valid GS1 Digital Link yet. 3 problems to fix:

  • The GTIN is written with 13 digits and its check digit is wrong, so the number was probably mistyped. Compare it with the number under your barcode, then pad it with zeros at the front to 14 digits.
  • The key qualifiers are in the wrong order: AI 10 comes after AI 21. After AI 01 the order must be 22, then 10, then 21. Swap them round.
  • AI 17: 270230 is not a real date. February has no day 30. Write the date as year, month, day (YYMMDD).
AIWhat it isValueCheck
01 GTIN (product number)Primary key, in the path 9520000000012 Problem
21 Serial numberKey qualifier, in the path 12345 Passed
10 Batch or lot numberKey qualifier, in the path ABC123 Problem
17 Expiry dateData attribute, in the query string 270230 Problem

Try an example

These use the GS1 demonstration prefix 952 and the domain example.com, so they are not real products.

  • A product on its own https://example.com/01/09520000000011
  • With a batch and an expiry date https://example.com/01/09520000000011/10/ABC123?17=270101
  • With a batch, a serial number and a net weight https://example.com/01/09520000000011/10/ABC123/21/12345?3103=000195
  • One with mistakes in it https://example.com/01/9520000000012/21/12345/10/ABC123?17=270230

What a GS1 Digital Link is

A GS1 Digital Link is a web address with GS1 identifiers in fixed places. Each identifier is announced by a number called an application identifier, or AI. In the address below, 01 says a GTIN follows, 10 says a batch or lot follows, and 17 in the query string is an expiry date.

https://example.com/01/09520000000011/10/ABC123?17=270101
application identifiervalue

The same data can be written as an element string, the form a barcode scanner reports: (01)09520000000011(10)ABC123(17)270101.

To make a link like this from your own GTIN, use the free QR generator. For the wider picture, read how a GS1 Digital Link QR code works.

What the checker checks

  • The address itself. It must start with http or https and a domain name.
  • The primary key. A GTIN must be 14 digits, padded with zeros, with a correct check digit. Other keys, such as an SSCC or a GLN, are checked for length and check digit.
  • Key qualifiers and their order. After a GTIN: consumer product variant (22), then batch or lot (10), then serial number (21).
  • Data attributes in the query string. Dates must be real dates written YYMMDD, numbers must have the right number of digits, and text must use the characters GS1 allows.
  • Percent-encoding. A broken escape such as a lone % sign is reported.
  • Repeats and unknown numbers. An AI used twice, or a number that is not a GS1 application identifier, is reported.

Ten common GS1 Digital Link mistakes, and the fix for each

The checker reports every one of these. Each example uses the demonstration number 09520000000011 and the domain example.com.

1. A GTIN with 13 digits

/01/9520000000011. Inside a link a GTIN is always 14 digits. Put zeros in front: /01/09520000000011.

2. A wrong check digit

/01/09520000000012. The last digit does not fit the others, so the number was mistyped. Compare it with the number under the barcode. How a check digit works.

3. Serial number before batch

/01/…/21/12345/10/ABC123. The order after a GTIN is fixed: variant (22), batch or lot (10), serial number (21). Swap them round.

4. /gtin/ in place of /01/

/gtin/09520000000011. Short names such as gtin, lot and ser are deprecated. Write the number: /01/, /10/, /21/.

5. A date that does not exist

?17=270230 is 30 February 2027. Dates are six digits, year, month, day, and must be real days.

6. A space or a character GS1 does not allow

/10/AB 123. A web address cannot hold a space, and GS1 values use a fixed set of characters. Remove it or pick another batch code.

7. The GTIN in the query string

/product?01=09520000000011. The primary key belongs in the path: /01/09520000000011. Only extra data, such as an expiry date, goes after the question mark.

8. A short link wrapped around the address

A code that holds a link shortener's address has no GTIN in it, so a till reads nothing. Put the GS1 Digital Link itself in the code.

9. A compressed link on a retail pack

The standard has a compressed form, but tills expect the ordinary one. This checker reads the ordinary form only and says so.

10. The same identifier twice

/10/A?10=B. Each application identifier can appear once in a link. Remove the repeat.

A valid link is step one

A valid link means the text inside the code is right. Three other things decide whether the printed code works in a shop, and each is a separate job.

  • Print size. GS1 sets a range for the small squares of a retail code. Downloading a print-ready QR code.
  • Placement. GS1's testing found the QR code needs to be within 50 mm of the centre of the striped barcode to scan well at the till.
  • The scanner. The scanner test shows whether a till scanner reads 2D codes and what it passes on.

For developers

The checker follows the GS1 Digital Link URI syntax, release 1.7, and takes the format of every application identifier from the GS1 Barcode Syntax Dictionary, release 2026-01-27. Both are linked under Sources. The same rules run in the API and in the resolver, whose conformance results are on the Standards page.

For batch, serial number and expiry in practice, see batch and expiry in a 2D barcode, and what conforming to GS1 means.

What it does not check

  • Whether the link resolves. The checker never opens the link, so it cannot tell you whether a resolver answers or where it sends a visitor.
  • Whether a till will scan the printed code. That depends on the printed symbol and the scanner. The scanner test covers the scanner side.
  • Whether the numbers are yours. A correct check digit shows a number is well formed, not that GS1 issued it to you.
  • Compressed links. Only the ordinary, uncompressed form is read.
  • Some codes inside values. Country codes, currency codes and a few similar fields are checked for length and characters only. The result says so on the row.

Questions about checking a GS1 Digital Link

What is a GS1 Digital Link?

A web address that carries GS1 identifiers in a standard structure. The identifier, such as a product's GTIN, goes in the path after its application identifier (01 for a GTIN). Extra data, such as an expiry date, goes in the query string. Put the address in a QR code and a phone can open it, while a scanner that supports GS1 Digital Link can read the identifiers from it.

What makes a GS1 Digital Link valid?

It starts with http or https and a domain name. Its path holds a primary key, such as 01 and a 14 digit GTIN with a correct check digit, followed by any key qualifiers in their fixed order. Other data sits in the query string under its application identifier, and every value has the length and the characters GS1 defines for it.

Does the checker open the link I paste?

No. It reads the text of the address and nothing else. It does not visit the link or look up the domain name, so it cannot tell you whether the link leads anywhere.

Is the link I paste stored?

No. The link is checked and the result is shown to you. It is not saved and it is not written to a log.

Does a valid result mean a till will scan my printed code?

No. This checks the address inside the code, not the printed symbol. Print size, contrast, the quiet zone and the scanner's own software all affect whether a code scans. Our free scanner test shows how a scanner handles 2D codes.

Which identifiers can it check?

Every application identifier in the GS1 Barcode Syntax Dictionary. Links built on a GTIN, with consumer product variant, batch or lot and serial number, are checked the way PaqLink checks its own codes. Links built on other primary keys, such as an SSCC (00), a GLN (414), a GRAI (8003) or a GIAI (8004), are checked for length, characters, check digit and key qualifiers. Compressed GS1 Digital Links are not read.

Why is my GS1 Digital Link invalid?

The usual causes are a GTIN written with 13 digits and not padded to 14, a wrong check digit, a serial number placed before the batch, an old short name such as gtin in place of 01, or a date that does not exist. The checker names each problem and the fix, and the list of common mistakes on this page shows an example of each.

Can I write /gtin/ in place of /01/?

No. Early releases of the standard allowed short names such as gtin, lot and ser. They are deprecated. Write the application identifier as a number: 01 for a GTIN, 10 for a batch or lot, 21 for a serial number.

In what order do batch and serial number go?

After the GTIN the order is fixed: consumer product variant (22), then batch or lot (10), then serial number (21). You can leave any of them out, but you cannot swap them.

Is this an official GS1 tool?

No. PaqLink is an independent product built on the GS1 Digital Link standard. It is not endorsed by or affiliated with GS1. The checker follows the GS1 Digital Link URI syntax and takes the format of each application identifier from the syntax dictionary that GS1 publishes.

Sources

Last reviewed by the PaqLink team. Each source below was opened and read on the date shown. Rules and fees change, so check the source before you rely on a figure.

  1. GS1 Digital Link standard: URI syntax, release 1.7.0 (August 2026). Checked 18 November 2026.
  2. GS1 Barcode Syntax Dictionary, release 2026-01-27 (AI 15 is best before, AI 17 is use by or expiry). Checked 18 November 2026.
  3. GS1, 2D Barcodes at Retail Point-of-Sale Implementation Guideline, release 1.1.0 (December 2025). Checked 18 November 2026.

Want links that are right from the start?

PaqLink builds the GS1 Digital Link QR code from your GTIN and hosts the resolver behind it. One product is free.

Start free