Free GS1 Digital Link generator
Enter your barcode number to build your GS1 link and get a print-ready barcode and QR code.
A code for your own domain or id.gs1.org downloads with no sign-up and no watermark.
How a GS1 Digital Link is built
A GS1 Digital Link is a web address that carries your product number. A phone opens it as a web page. A 2D scanner at the register reads the GTIN from the same code.
US retail aims to scan QR codes at checkout by the end of 2027. Packaging stays on shelves for years, so the code you print now is the code those scanners read.
https://id.yourbrand.com/01/09506000134352/10/ABC123?17=281231
| Part | Example | What it is |
|---|---|---|
| Domain | id.yourbrand.com | The web address that answers the scan. |
| Primary key | /01/09506000134352 | Application Identifier 01 and your GTIN, written with 14 digits. |
| Key qualifier | /10/ABC123 | A batch or lot. Qualifiers go in the path in a fixed order. |
| Data attribute | ?17=281231 | Extra data, such as an expiry date. Attributes go after the question mark. |
The generator pads a short GTIN to 14 digits and puts the qualifiers in the GS1 order. It follows GS1 Digital Link URI Syntax 1.7.0. To test a link you already have, use the validator.
For the steps from a GTIN to a printed pack, see how to get a GS1 Digital Link.
Which domain to pick
The domain is printed inside the code. It can't change after you print. The owner of the domain decides where every scan goes.
| Domain | When to pick it |
|---|---|
| Your own domain | The printed code stays yours. DLCode connects your own domain on every plan. |
| dlcode.org | The fastest start. DLCode hosts the link and you choose where each scan goes. 10 products are free. |
| id.gs1.org | The GS1 reference domain. You do not control where a scan goes. Use it for a link that only carries data. |
A link on your own domain needs a server that answers each scan. That server is called a resolver. DLCode runs the resolver for you, on your domain or on dlcode.org. For the setup, see use your own domain for GS1 QR codes. Start free
What each identifier is for
Most consumer brands need only the GTIN. Add a batch or lot to tell one production run from the next.
| Identifier | Use it for |
|---|---|
| GTIN (01) | A product you sell. It is the number under your barcode. |
| SSCC (00) | One pallet or shipping carton. |
| GDTI (253) | A document, such as a certificate. |
| GCN (255) | A coupon. |
| GINC (401) | A consignment handled by a freight forwarder. |
| GSIN (402) | A shipment from a seller to a buyer. |
| GLN (414) | A physical place, such as a warehouse. |
| Pay-to GLN (415) | The party to pay on a payment slip. It needs a reference number (8020). |
| Party GLN (417) | A company or legal entity. |
| GRAI (8003) | A returnable asset, such as a crate or a keg. |
| GIAI (8004) | One asset your company owns, such as a machine. |
| ITIP (8006) | One piece of a product that ships in several pieces. |
| CPID (8010) | A component or part. |
| GMN (8013) | A product model, such as a medical device family. |
| GSRN provider (8017) | The provider in a service relationship. |
| GSRN recipient (8018) | The recipient in a service relationship, such as a member. |
Print size basics
- A QR code is made of square modules. The module size is the width of one square.
- For retail, GS1 sets the module size at 0.396 to 0.990 mm. The target is 0.495 mm.
- A QR code needs a quiet zone of 4 blank modules on each side. Each download includes it.
- A 29-module QR code at 0.495 mm prints 14.4 mm wide, or 18.3 mm with the quiet zone.
- Send your printer the SVG, PDF or EPS file. Vector files stay sharp at any size.
- Print the code in black on a white background.
A longer link needs more modules and a larger code. See the size for your link in the QR size calculator. Before you print, check your packaging artwork. A code that fails at the register means a reprint.
Frequently asked questions
Yes. A link on your own domain or on id.gs1.org downloads with no watermark and no sign-up. The files are made in your browser.
Yes. The GTIN is the number under the barcode on your product today. If your product has no barcode yet, get a GTIN from the GS1 office in your country.
The last digit of a GTIN is calculated from the other digits. The generator shows the correct digit and holds the download until the number is right. A wrong digit on printed packaging means a reprint. DLCode runs the same test on every GTIN you add or import.
Keep the UPC or EAN barcode on the pack until each of your retailers confirms that its registers scan 2D codes. For a GTIN, the label download puts the barcode and the QR code in one file.
Leave compression off for retail packaging. GS1 requires the uncompressed link in a QR code that a checkout scans. A compressed link is shorter and can make a smaller QR code, and it only works with a resolver that can decompress it.
Send the SVG, PDF or EPS file. They are vector files, so the code stays sharp at any size. Use the PNG when your design software can't place a vector file.
The QR code holds a web address, so a phone camera opens a page. GS1 DataMatrix holds the same GS1 data with no web address. Consumer packaging uses the QR code.
The link inside a printed code is fixed. The page it opens is set by the server behind the domain. With DLCode you change the destination at any time and the printed code stays the same. 10 products are free.
More free tools
- GS1 Digital Link validatorCheck a link against the current GS1 standard and convert it to an element string.
- GS1 barcode decoderRead the data inside a GS1 QR code or barcode from a photo, a PDF or your camera.
- GTIN check digit calculatorCalculate or verify the last digit of a GTIN and other GS1 keys.
- GS1 QR code size calculatorSee the module count and the printed size of the QR code for your link.
- GS1 Application IdentifiersSearch every GS1 Application Identifier by number or name.
- Packaging checkerCheck the barcode and the QR code in your artwork before you print.
Don't print a dead link — host it through 2030, paid once
Monthly QR tools cost $900–$2,940 through 2030 and break printed packs when you cancel. DLCode hosts your codes through December 31, 2030 on your own domain, with instant link edits and batch recalls — 10 products free, then from $249 once.
30-day money-back guarantee. Full refund to your original payment method.