Founding offer The Founding Partner Program is open — 1,000 companies, 6 months free. Start free →
GS1 2D Barcodes

GS1 2D barcodes, explained for people who have to print them

One square replaces the striped barcode, carries far more data, and becomes the front door to your product's Digital Product Passport.

8 min read · Updated August 2026

A GS1 2D barcode is a QR Code or Data Matrix that carries a structured GS1 identifier — the GTIN, plus fields like batch and serial — instead of arbitrary text. That structure is what lets one printed square serve the checkout, a shopper's phone and a Digital Product Passport at the same time.

1D Barcode vs. GS1 2D Digital Link Comparison

Traditional 1D Barcode
05412345678908
  • Contains GTIN only (numbers)
  • Scannable only by POS systems
  • No web connection or consumer data
GS1 2D Digital Link QR
  • GTIN + Batch + Expiry + Serial
  • Scannable by POS + Smartphones
  • Direct Link to EU Digital Product Passport

A GS1 2D barcode is not the same as a plain QR code

Both are squares, both scan with a phone, and that is where the similarity ends. A plain QR code holds whatever text someone put in it — usually a marketing URL. Nothing inside it tells a checkout system what the product is.

A GS1 2D barcode holds a structured identifier. The GTIN sits in a defined position, prefixed by Application Identifier (01), so a point-of-sale system can pull out the product number and ring up the sale — while a phone opening the same code lands on a web page. One symbol, two completely different readers, no conflict.

  • Plain QR code — arbitrary text, no product identity, invisible to a checkout
  • GS1 QR code — GTIN in a standard position, scannable at the till and on a phone
  • GS1 Data Matrix — the same structure in a denser symbol, used where print space is tight

This matters for packaging decisions. If a designer replaces the striped barcode with a marketing QR code, the product stops scanning at the checkout. If they replace it with a GS1 2D barcode, it keeps scanning and gains a web destination.

What goes inside the symbol

The identifier is assembled from GS1 Application Identifiers — numeric keys that say what each field means. Three carry most of the load:

  • (01) GTIN — the product number, the one field every code must carry
  • (10) Batch or lot — required for most food and cosmetics
  • (21) Serial number — needed when a passport describes one individual item rather than a product line, as the EU battery passport does

Which of these you need is decided by the regulation covering your product, not by the barcode standard. A battery passport under the EU Battery Regulation is kept per individual battery; the fields and level of a textile passport will be set by the ESPR textile delegated act, which has not been adopted yet.

Printing 2D codes without breaking the line

Two questions decide whether a 2D rollout goes smoothly: whether the symbol survives your printing process, and whether your retail partners can read it yet.

For the first, the GS1 General Specifications set the minimum module size, quiet zone and contrast for each symbol type and printing method — flexo on corrugated board tolerates less than digital print on a label. Test on the real substrate before committing artwork.

For the second, dual marking answers it. Printing the traditional 1D barcode alongside the 2D symbol during the transition means older checkouts keep working while newer ones start reading the richer code. Nothing breaks on the day the retailer upgrades.

Choosing the symbology: QR, Data Matrix, and when each wins

GS1 QR CodeGS1 Data MatrixGS1 DataMatrix (healthcare)
Typical homeConsumer packagingSmall components, tight labelsPharma and medical device regulation
Phone camerasRead natively by default appsOften need a dedicated scanner appNot aimed at consumers
Space neededMore — larger quiet zoneLeast of the threeSmall; engineered for direct part marking
Carries Digital LinkYesYesTypically carries plain element strings instead
Reasonable defaultRetail packs that consumers scanIndustrial goods, electronics, cablesOnly when the regulation names it

The decision is less about technology than about who scans. If a shopper is one of your audiences, QR wins because every phone camera opens it. If nobody but machines will ever read the symbol and the label is 12 mm wide, Data Matrix wins. Healthcare follows its own regulation and its own symbol, and importing that habit into retail packaging brings cost without benefit.

Walkthrough: a beverage brand re-artworks 60 SKUs

A representative scenario. A drinks producer sells 60 SKUs through two grocery chains, both of which have announced 2D acceptance at the till. Artwork is refreshed once a year, in autumn.

Step one — the print audit. Before any design work, the packaging engineer checks what the line can hold: flexo on shrink sleeve for 40 SKUs, digital label print for the rest. The GS1 General Specifications give a minimum module size per process; sleeve distortion pushes the QR bigger than the designer expected, which is cheaper to learn now than after the sleeves are ordered.

Step two — dual marking, one decision. The striped barcode stays. The 2D code joins it on the back panel, sized from the audit, with the GTIN inside prefixed by (01) and batch by (10). Checkout at chain A reads the 1D code as before; chain B's upgraded lanes read the 2D code. No till anywhere breaks.

Step three — one autumn, not an emergency. Because the change rides the annual artwork refresh, the 2D rollout costs a design pass rather than a recall-grade intervention. SKUs that miss the window catch the next one; the transition is a queue, not a cliff.

The counterfactual. Suppose the brand had waited until a retailer set a hard date. The same work would compress from a year into a quarter: rush artwork, no print trials on the real substrate, and the first defective batch of unreadable codes discovered by the retailer, not by the brand. The work is identical either way. Only the price changes.

Edge cases

The tiny label. Below a certain face size a QR with a proper quiet zone will not fit. That is what Data Matrix is for — same Digital Link inside, denser symbol outside.

Curved and flexible surfaces. Shrink sleeves and pouches distort symbols. Print trials on the real substrate are part of the job, not an optional extra; the specification's grades are measured on the printed result, not the artwork file.

Direct part marking. Engraved or dot-peened codes on metal follow different verification rules than ink on board. If your product is marked rather than labelled, read the specification's DPM section before choosing a symbol.

Variable data on the line. Batch and expiry change per run, so they are printed on the line, not in the base artwork. That means the 2D symbol is often printed in two stages — static part in artwork, variable part inline — and the verifier must read the combined result.

Codes that must survive the bin. A passport code has to be readable at end of life, after abrasion and weather. Placement and material matter as much as symbol choice: a code on a peel-off promo sticker dies with the sticker.

Zoom out: the pack becomes the interface

For forty years the barcode did one job at one counter. The 2D transition gives the same square metre of packaging three audiences at once — the checkout, the shopper's phone, and the regulator's data systems — and the EU's Digital Product Passport work assumes exactly this carrier on pack.

That is why the barcode decision stopped being a packaging detail. The symbol you print this autumn is the entry point every future obligation will use; our migration roadmap covers the sequencing, and the Digital Link page covers the address that goes inside the square.

How Passmith fits

Passmith operates the layer behind the symbol: the resolver the code points at, and the passport record it opens. We do not print codes and we do not sell artwork — the printing guidance above stands on the GS1 specifications regardless of any vendor. The product is live; the first 1,000 companies get 6 months free.

Common questions about GS1 2D barcodes

Can I just use a normal QR code on my packaging?

Not as a replacement for the barcode. A normal QR code carries no structured GTIN, so checkout systems cannot read a product from it. It can sit alongside the barcode as a marketing link, but it cannot carry the product identity a retailer or a Digital Product Passport needs.

Should I use QR or Data Matrix?

Both carry GS1 Digital Link. QR is the usual choice for consumer packaging because phone cameras read it easily. Data Matrix packs the same data into a smaller area, which is why it dominates in healthcare and on small components where space is scarce.

Do I have to remove the striped barcode?

Not during the transition. Dual marking — 1D and 2D printed together — is the recommended path through the Sunrise 2027 period, and it removes the risk of a product that will not scan at a checkout that has not upgraded yet.

What are the GS1 2D barcode requirements for businesses?

There is no law that requires a 2D code as such — Sunrise 2027 is an industry transition, not legislation. What binds a business is its retailers' own onboarding requirements, which increasingly ask for a GS1 Digital Link QR, and separately the Digital Product Passport rules, which require a data carrier for products in scope. The practical checklist is short: clean GTINs, choose QR or Data Matrix, dual-mark through the transition, verify print quality on the real substrate, and make the code resolve on a domain you control.

Is there a deadline for switching to 2D barcodes?

Sunrise 2027 is the industry's target for checkouts to scan 2D symbols by the end of 2027 — an ambition, not a law. The binding dates in this space come from regulation such as the battery passport, and from your own retailers' onboarding requirements, which is where a “deadline” will actually reach you.

What print quality grade does a GS1 2D barcode need?

The GS1 General Specifications define minimum grades per symbol and application, measured on the printed pack with a verifier — not judged on screen. Treat verification as a production step: grade the first run on the real substrate, keep the reports, and re-grade when the process or material changes.

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.