Make a GS1 Digital Link QR code

Type your domain and product number, and add a batch, serial number, or dates if you need them. You get a checked GS1 Digital Link as a QR code or Data Matrix, and the same data as element strings.

Free, no sign-up, no credit card. Codes never expire, and nothing you type is sent anywhere.

Web address the code opens

A domain you control, where each product's page lives. https is added for you.

The number under your EAN-13, UPC-A, EAN-8, or ITF-14 barcode, check digit included. It is written as 14 digits.

Up to 20 characters: letters, digits, and common symbols.

Up to 20 characters. Each item gets its own.

Up to 20 characters, for versions of the same product.

Dates, weight, and count

The last day the product is good to use.

The date shown after "best before".

When it was made.

When it was packed.

The last day a shop should sell it.

Such as 0.75, with up to 5 decimals.

Whole number of items in the pack.

Make it as

Type your domain and product number and the code appears here.

No code yet

Colours and error correction

How to make a GS1 Digital Link QR code

  1. Choose your own domain or GS1's id.gs1.org, and type the product number (GTIN) with its check digit.
  2. Add a batch or lot, a serial number, and any dates, weight, or count. Each field says what's wrong if it isn't valid.
  3. Choose QR code or Data Matrix, and check the address and the element strings shown under the code.
  4. Select Test scan, then download the code. Set up the page the address opens before you print.

What to know

How the address is built

  • The product number is written as 14 digits, so an EAN-13 or UPC-A gets zeros in front.
  • Batch or lot, serial number, and consumer product variant go in the path after the product number, in the order variant, batch, serial.
  • Dates, weight, and count go in the query after the question mark, sorted by their identifier numbers.
  • Characters that mean something in a web address, such as / # & + and :, are written as percent codes.

Source: GS1 Digital Link Standard, URI Syntax, Release 1.7.0 (checked 25 November 2026)

What this page can't do for you

  • It does not set up the page a scan opens. Your domain needs a page or resolver for each product, and a scan finds nothing until it does.
  • You need your own GTIN. GS1 gives out company prefixes and product numbers, and we can't issue them.
  • A shop's till may not read 2D codes yet. Keep the barcode your retailer asks for on the pack, and ask what they accept before you replace it.
  • Check GS1's General Specifications for the size and print quality your shops require.

Source: GS1 General Specifications

Common problems

The product number is refused

A GTIN has 8, 12, 13, or 14 digits, and the last digit is a check digit. Check for a typo against the number on your GS1 certificate. A wrong check digit would point a shop's system at the wrong product.

The date is refused

Dates are written as year, month, and day, such as 2027-12-31. Type the date as 2027-12-31, or as six digits, YYMMDD. A day of 00 is allowed only in dates that mean the end of the month.

The code opens a page that doesn't exist

The code only holds the address. Put a page at that address, or use a resolver that redirects it, before you print. With id.gs1.org a scan finds a page only if the brand has registered its links with GS1.

Questions

What is a GS1 Digital Link?

A web address that carries a product number and other GS1 data, such as a batch or an expiry date. A phone opens it as a web page, and software that knows GS1 can read the numbers out of it.

Do I need to use id.gs1.org?

No. Any web domain can carry a GS1 Digital Link, so you can use your own. id.gs1.org is GS1's own resolver, and it only helps if the brand has registered its links with GS1.

Why is the product number 14 digits?

The standard writes every GTIN, whether it's 8, 12, 13, or 14 digits, as 14 digits with zeros in front. A shop still reads it as your EAN or UPC.

Should I choose QR code or Data Matrix?

Both hold the same address. QR code is the most common, and every phone camera reads it. Data Matrix is smaller and is used on small packs, such as medicines. Pick the one your industry or retailer uses.

Do you see my numbers?

No. Your codes are made in your browser. Nothing you type is sent anywhere.