2D Ready

QR codes for coffee bags that open the farm behind the roast

One code that rings up at the till and takes a drinker to the producer, the lot and a brew recipe written for the coffee in their hands — built to the GS1 Digital Link standard, and editable after the bag is printed.

In short

  • Roasters change coffees far more often than they change packaging, which is why so many bags end up wearing a sticker.
  • A lot number encoded alongside the GTIN lets one bag open the farm, the harvest and the process behind that particular roast, instead of a general sourcing page.
  • From December 2026 the EU Deforestation Regulation requires operators placing coffee on the EU market to hold plot-level geolocation for it — the same records that make farm-level provenance on a page true rather than decorative.
  • The brew guidance behind a printed bag can be rewritten while that bag is still sitting on a shelf.

Start free → or the Sunrise 2027 checklist →

Why a 2D barcode for coffee?

A coffee bag is the packaging most likely to be out of date the moment it is filled. Roasters buy in lots, rotate origins seasonally, and print bags in quantities that outlast the coffee inside them — which is why the single-origin slot so often ends up as a hand-written sticker. A code that resolves to a page you control lets one printed bag carry a rotating coffee properly.

Encode the lot number alongside the GTIN and the bag becomes specific. The drinker holding it can see the farm or washing station it came from, the altitude, the harvest, how it was processed, when it was roasted and what it cupped at — for that lot, not for your range in general. That is a materially better answer than a paragraph about sourcing, and it is the kind of detail this category's customers genuinely read.

Roasters are also unusually well placed to do this, because most of the sourcing data is about to exist anyway. Anyone placing coffee on the EU market will have to hold geolocation for the plots it was grown on to satisfy their own due-diligence obligations, on the timetable set out below. That work happens whether or not anything is printed on a bag. Putting a Digital Link on the bag is what turns a record kept for a regulator into something a customer can actually see — and if you sell outside the EU, it is the same provenance story with none of the paperwork behind it.

None of it touches the checkout. A retail till reads the same GTIN off the pack that it reads today, offline, with no idea that anything else is encoded. So a wholesale listing, a supermarket line and a bag sold over your own counter all behave exactly as they did before.

What to put behind the code

  • The farm, washing station or co-operative, and the country and region
  • Harvest year, altitude and processing method
  • Roast date and cupping notes for that specific lot
  • Brew recipes by method — espresso, filter, cafetière
  • Grind guidance and a dose-and-ratio starting point
  • Subscription, reorder and wholesale enquiry links

What a page does that fine print can't

A web page can do things a printed coffee panel physically cannot: it can be read aloud by a screen reader, zoomed to any type size, searched for a single allergen, translated into the reader's language, and corrected after the pack has shipped. For a shopper with low vision, an allergy, or another language, that is the difference between information that exists and information they can actually use — and you don't have to build the page yourself: hosted pages serve it at the scan URL, cookie-free and changeable at any time after printing.

Where the rules sit for coffee

Coffee is one of the seven commodities covered by the EU Deforestation Regulation, Regulation (EU) 2023/1115. Annex I lists it as CN 0901, which takes in green and roasted coffee alike. After two postponements — the most recent by Regulation (EU) 2025/2650 — the obligations apply from 30 December 2026 for large and medium operators, and from 30 June 2027 for micro and small operators established by 31 December 2024. That later date does not cover products already caught by the earlier EU Timber Regulation, which stay on the December 2026 date.

Be clear about what that regulation is, because it is widely misdescribed. EUDR is a due-diligence duty on the operator placing coffee on the market: collect the geolocation of every plot the coffee was grown on together with the date or time range of production (Article 9(1)(d)), submit a due diligence statement, carry the reference number the EU information system returns down the supply chain and present it at customs, and keep the records for five years. It says nothing about consumer labelling, and it does not require a QR code on anything. Nobody can sell you a barcode that discharges an EUDR obligation, and we are not going to try.

The overlap is about data, not compliance. The plot geolocation, the harvest window and the per-lot chain of custody are all things a roaster subject to this now has to know and hold anyway. A GS1 Digital Link is simply the cheapest way to make that record legible to the person drinking the coffee — the farm on a map, the harvest, the process — rather than leaving it in a due-diligence file that only a regulator will ever open.

Sources: Regulation (EU) 2023/1115 (EUDR, consolidated) · Regulation (EU) 2025/2650 (current application dates)

We build the barcode, not the compliance programme — this is background, not legal advice, and you should check your own obligations with someone qualified to give it.

Your coffee Sunrise 2027 checklist

Specific to coffee

Every brand does these

How you can check we're right

Every claim on this page is testable, and we'd rather you tested it than took our word for it.

Common questions

Will a coffee bag with a 2D code still scan in a supermarket?

Yes. The code is a GS1 Digital Link built around the GTIN you already hold, and a retail scanner reads that number offline exactly as it reads the barcode on your bags today. Nothing about the listing, the till or the sale changes.

Does putting a QR code on my bags help me comply with EUDR?

No, and treat anyone who tells you otherwise with suspicion. EUDR is a due-diligence obligation discharged through due diligence statements and the EU information system, not through anything printed on a pack. What a Digital Link does is give you somewhere useful to show the provenance data you are already required to collect. Those are different problems and only one of them is ours.

When does EUDR actually start applying to me?

30 December 2026 for large and medium operators, and 30 June 2027 for micro and small operators established by 31 December 2024 — except where the products were already covered by the EU Timber Regulation, in which case the December 2026 date applies. The dates have moved twice already, so check them against EUR-Lex rather than against anything you read second-hand, including us.

Can one bag design serve a rotating single origin?

That is the strongest reason for a roaster to do this. If the slot keeps one GTIN and you encode the lot number, the printed bag stays the same while the page behind it changes with each coffee — farm, harvest, cupping notes, recipe. The alternative is a sticker, a reprint, or a page that has to stay vague enough to cover every coffee you might put in that bag. A hosted page handles this without per-coffee setup: the template sees the lot from the scan, so one template can show the lot number and link straight to your own page for that coffee — a URL pattern like brand.com/coffees/{{ lot }} — for every coffee you'll ever put in the bag, including ones you haven't bought yet.

Do I need a separate GTIN for every micro-lot?

Usually not. GS1's rules turn on whether the product a buyer orders has meaningfully changed, so a permanent blend and a seasonal single-origin slot are typically each one GTIN, with the lot number distinguishing what is inside a given bag. If you are unsure where the line falls for your range, ask your GS1 member organisation — they answer this question constantly and it is worth getting right before you print.

Can the code show the roast date?

Yes, by way of the lot. Encode the lot number and each roast lot gets its own page, which can show the roast date along with everything else specific to that run. That also means the freshness information stays accurate for a bag you filled months after the packaging was printed.

Is this worth doing for wholesale and café bags?

Often more so, because the person brewing it is making decisions your retail customer is not. A café that can scan a 1kg bag and get the dose, ratio and grind you actually recommend for that lot will dial it in faster and blame the coffee less. It is also the cheapest way to keep provenance detail attached to a bag that arrives with no shelf and no card next to it.

Is it free?

Ten products are free forever — no card required. Pro is £10/month when you need more, with your own domain on the codes included.

Start free →

Part of our wider guide to food & drink.

Also for supplements · cosmetics · household goods · agencies & printers.