Skip to content
Products
Developers & lookup

GS1 Digital Link generator

Turn a GTIN into the web address that goes in a 2D barcode: one QR code a till can read as a barcode and a phone can open as a page.

Free. Nothing is stored.

What a GS1 Digital Link is

An ordinary barcode holds a number and nothing else. A GS1 Digital Link puts the same number into a web address with a fixed layout, so that one QR code does both jobs: a till reads the GTIN out of it, and a phone opens the address. The layout is always the same:

https://example.com/01/09506000134352/10/ABC123/21/000042?17=271231

  • /01/ is followed by the GTIN, written with 14 digits.
  • /10/ is the batch or lot and /21/ the serial number. Both are optional and always come in that order.
  • ?17= is the expiry date and ?15= the best before date, as YYMMDD.

Why it matters now

Retailers have set themselves the end of 2027 to have tills that can read 2D codes, an effort GS1 calls Sunrise 2027. The UPC and EAN are not being switched off: both codes will sit on packs for years. What changes is that a pack can carry a batch, an expiry date and a link to product information in the same symbol the till scans.

Use your own domain on packaging

A code printed on a pack lives as long as the product does, so the address inside it should belong to you. Whoever owns the domain decides what a shopper sees, today and in five years. Our domain is here so that you can try a link out, and for labels that never leave your building.

Every valid GTIN already has an address on this site. https://barcodereport.com/01/ followed by the 14-digit GTIN opens the product's page, and software that adds ?linkType=all gets the list of links as JSON.

Check the number first

A Digital Link is only as good as the GTIN in it. Verify the check digit with the check digit calculator, check a whole catalogue with the GTIN checker for product feeds, or print the ordinary barcode with the barcode generator.

Questions

What is a GS1 Digital Link?

A web address that carries a product's GTIN in a fixed layout, for example https://example.com/01/09506000134352. Put in a QR code, the same symbol can be read by a till as a barcode number and opened by a phone as a web page.

Why is the GTIN 14 digits long?

A Digital Link always writes the GTIN with 14 digits, padded with zeros at the front. A 12-digit UPC, a 13-digit EAN and their 14-digit form are the same number and end in the same check digit.

Which domain should I use?

Your own, if the code is going on packaging: the address is printed for the life of the product, so it should point somewhere you control. You then decide what a visitor sees. Our domain is offered for testing and for internal labels.

What happens when someone opens the link on barcodereport.com?

They are sent to the product page for that GTIN on Barcode Report. Software that asks for the list of links, with ?linkType=all, gets it as JSON instead.

Where do the batch, serial number and dates go?

The batch or lot (10) and the serial number (21) follow the GTIN in the path, in that order. Dates such as the expiry date (17) go in the query string as YYMMDD.

Do I still need a UPC or EAN barcode on the pack?

For now, yes. Retailers are preparing their tills to read 2D codes by the end of 2027, and until they have, the ordinary barcode stays on the pack next to the QR code.

Does this make the QR code image?

Not yet. Copy the address into any QR code generator. Use the address exactly as shown, including the zeros at the front of the GTIN.