Founding offer The Founding Partner Program is open — 1,000 companies, 6 months free. Start free →
Free tool

Free QR code generator for GS1 Digital Link

Enter your domain and the GTIN you already license. You get a link built to the GS1 Digital Link syntax, a print-ready QR code and a check of every part.

  • No signup
  • Nothing leaves your browser
  • Commercial use allowed

Where scans should go. Use a domain you own, such as id.yourbrand.com.

8, 12, 13 or 14 digits, as printed under your barcode.

Batch, serial number and expiry date (optional)

Up to 20 characters: letters without accents, digits and a few symbols such as - . / _

GS1 does not require a level. M is the usual choice. L gives the smallest code, for clean and flat surfaces; Q and H tolerate more damage but make the code bigger.

Your GS1 Digital Link

https://id.example.com/01/09520123456788

QR Code version 3: 29 × 29 modules plus a 4-module quiet zone, error correction level M.

  • Retail packaging: at least 14.7 mm wide, 18.3 mm recommended, quiet zone included.
  • Also scanned in warehouses: at least 27.5 mm, 36.6 mm recommended.

Text to print under the code

(01)09520123456788

GS1 requires this text next to the code when the code is the only barcode for the product.

  • Warning This is a placeholder domain. Codes that point to it will not work, so replace it with yours before you print.
  • Note Prefix 952 is reserved for demonstrations. Use it to try the tool, never on a real product.

What each part means

Your domainhttps://id.example.com
01 GTIN09520123456788

Check a link you already have

Paste a GS1 Digital Link to see each part and anything that is wrong with it. This works for links made with any tool.

Your code needs a page to open

A QR code only helps when the link leads somewhere. Passmith's free plan publishes the product passport page behind it: 25 passports a month, in several languages.

Create a free account

What this generator does

It builds a GS1 Digital Link from what you enter: your domain, your GTIN, and optionally a batch or lot, a serial number and an expiry date. It then draws that link as a QR code you can download as SVG for print or PNG for screens.

Everything runs in your browser. Nothing you type is sent to Passmith or anyone else. There is no account, no limit on the number of codes, and you may use the codes on products you sell.

How to read the result

The link starts with your domain, the address that will answer when someone scans the code. Then comes /01/ and the GTIN, always with 14 digits: the standard requires shorter GTINs to be padded with leading zeros, which does not change the number. A batch or lot follows as /10/ and a serial number as /21/, always in that order. An expiry date goes after a question mark as ?17= followed by the date as YYMMDD.

Characters other than letters, digits, hyphen, dot and underscore are percent-encoded, so a slash in a batch number becomes %2F. The table under the code shows each part with its meaning, and the checker further down explains the same for any link you paste.

What is free and what is not

The GS1 Digital Link syntax is a public standard, and this tool is free. The GTIN is not: it is licensed to your company through your national GS1 organisation, usually for a yearly fee. A correct check digit only shows that the number is well formed, not that it is licensed to you. The generator never invents or suggests numbers.

A QR code needs a page to open

The link works only if your domain answers it. Something at that address, called a resolver, has to send each scan to the right place: a product page, a passport, an instruction leaflet. A code printed before the domain is set up leads nowhere.

GS1 recommends a domain you own, because the codes then stay yours if you change provider. Read more in our guide to GS1 Digital Link. If you need the page itself, Passmith's free plan publishes 25 product passports a month.

Before you print

Keep a clear margin, the quiet zone, of four modules on every side; the SVG and PNG files include it. For retail packaging GS1 sets the module size at 0.396 mm minimum and 0.495 mm as the target, and at 0.743 mm minimum if the item is also scanned in warehouses. The tool shows what that means in millimetres for your link, and the SVG is drawn at 0.495 mm per module. A short domain gives a smaller code, and so does leaving out data you do not need on the pack.

Print black on white or another high-contrast pair, and do not put a logo inside the code or round its modules: GS1 treats both as damage. Where the code is the only barcode for the product, print (01) and the 14-digit GTIN as text next to it. Test-print on the real packaging, scan with several phones, and have a sample checked with a barcode verifier. This tool does not grade print quality.

What this tool does not do

It does not host pages or run a resolver, and it does not check who owns a GTIN. A QR code is not a Digital Product Passport on its own and does not make a product compliant; the passport is the record the code leads to. This version handles GTIN links (AI 01) only, not SSCC, GLN or other keys.

Read next

Is this generator really free?
Yes. There is no account, no limit on the number of codes and no watermark, and you may use the codes commercially. The only cost involved is the GTIN itself, which you license from your GS1 organisation.
Which domain should I use?
One your company owns and controls, for example a subdomain such as id.yourbrand.com. The codes then keep working if you change provider. GS1's own id.gs1.org also works, but GS1 recommends printing codes on a domain you own.
Why does the link show 14 digits when my barcode has 13?
Since version 1.4 the GS1 Digital Link standard requires the GTIN to be written with 14 digits, so shorter GTINs get leading zeros. It is the same number.
Can this QR code replace the EAN barcode at the checkout?
Not yet. For retail checkouts GS1 rules require the QR code in addition to the EAN or UPC barcode, carrying the same GTIN, until 2D scanning is widespread. GS1 Sunrise 2027 is the industry target for that, not a law.
Is my data stored anywhere?
No. The link and the QR code are built in your browser. The shareable result link keeps your entries after the # sign, which browsers do not send to any server.

GS1® and the GS1 logo are registered trademarks of GS1 AISBL. QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries. Passmith is an independent software provider and is not affiliated with or endorsed by GS1 AISBL or DENSO WAVE.

You're in time

6 months free

Worth up to€1,4946 × €249

First 6 months€0

Reserved for the first 1,000 companies

Create your account, choose Starter or Growth, and pay €0 for six months. No credit card required.