Skip to content

GS1 Digital Link QR Code Generator

Turn a GTIN into the product QR code format that retail checkouts are being upgraded to read, with batch, serial and expiry if you need them.

Built in your browser · No account · SVG or PNG

id.gs1.org is the canonical GS1 domain. Use your own domain if scans should land on your own page.

Your code will appear here.

What a GS1 Digital Link is

A GS1 Digital Link is a normal web address that also carries your product’s identifiers. The GTIN, the same number that is in your barcode, sits in the path after /01/; a batch follows /10/, a serial /21/, and an expiry date goes in the query as ?17=YYMMDD. A phone opens it as a web page, and a retail scanner can read the GTIN out of it.

Why now: Sunrise 2027

GS1 US leads an industry initiative, Sunrise 2027, for retail point-of-sale systems to read 2D barcodes, including QR codes in GS1 Digital Link format, by the end of 2027. It is an industry goal, not a law, and the regular barcode is not being retired: during the transition products are expected to carry both.

How the fields are encoded

GTIN (AI 01)
Padded with leading zeros to 14 digits; the last digit is a check digit
Batch / lot (AI 10)
Path, after the GTIN; up to 20 characters
Serial (AI 21)
Path, after the batch; up to 20 characters
Expiry (AI 17)
Query string, YYMMDD
Error correction
Level M, 4-module quiet zone

Before you print

  • Use a GTIN you own. GTINs are licensed from GS1. Do not invent one or reuse a supplier’s.
  • Decide where scans should go. id.gs1.org is the canonical form. A code on your own domain lets you show your own page; you then need that page to exist.
  • Keep the barcode too. Most checkouts still read only the linear barcode.
  • Test on real scanners. Print a sample and try it with phones and, if you can, your retailer’s scanner.

Frequently asked questions

Is this the same as a normal QR code with a link?

It is a normal QR code; the difference is the link format. Because the GTIN is in a standard place, retail systems can read it as a product identifier.

Do I need a GS1 membership?

You need a licensed GTIN for products sold in retail. Generating the code itself needs nothing.

Can I change where the code points later?

The address is printed into the code, so it always opens that exact link. To keep control, use your own domain above and have your website redirect the /01/… path wherever you want; the printed code never has to change. A regular dynamic short link would lose the GS1 format, so retail scanners could not read the GTIN from it.

Why does it say my check digit is wrong?

The last digit of every GTIN is calculated from the others. A typo almost always breaks it, which is what the check is for.

Start with a free code.

Built in your browser · No account · SVG or PNG

Create your QR code — free →