QR Codes on Product Packaging: A Practical Guide to Smart Packaging
Plan a QR code on packaging that scans and stays useful: what it should open, size, print checks, GS1 Digital Link, EU product passports and honest tracking.
By StylQR Editorial TeamPublished Updated 7 min read

Table of contents
A QR code on product packaging connects the physical pack to information that won't fit on it: instructions, recipes, full ingredients, recycling guidance, warranty registration or a reorder page. To work, it needs a permanent link on a domain you own, at least 2 × 2 cm (0.8 inch) of flat, high-contrast space, and a short label that says what scanning gets you.
That's what "smart packaging" means in practice for most brands. This guide covers what the code should open, how to keep the link alive for the life of the product, size and print checks, how it relates to the barcode and GS1, EU product passport rules, and how to measure it.
What "smart packaging" covers
Several technologies put a digital layer on a pack. QR codes are the default because they cost nothing beyond ink and every shopper already carries a reader.
| Technology | How it's read | Cost per pack | Typical use |
|---|---|---|---|
| QR code | Any camera phone | Only print | Product information, instructions, promotions |
| GS1 Digital Link QR code | Phones, and 2D-capable checkout scanners | Only print | One code for checkout and consumer content |
| GS1 DataMatrix | Industrial scanners and specialist apps | Only print | Batch, expiry and serial data, especially in healthcare |
| NFC tag | Phone held very close | A chip in each pack | Premium goods, authentication |
| RFID tag | Dedicated readers | A chip in each pack | Inventory and logistics |
Decide what the packaging code should open
Packaging codes get scanned at home, often days or months after purchase. Link to content that answers a question the pack can't:
| Product type | Useful destination | Label copy |
|---|---|---|
| Food and drink | Recipes, full ingredient, allergen and nutrition detail | "Scan for recipes" |
| Cosmetics | How to apply, full ingredient list, shade guide | "Scan for how-to videos" |
| Electronics and appliances | Setup guide, manual, warranty registration | "Scan to set up in 2 minutes" |
| Consumables | Reorder or subscription page | "Running low? Scan to reorder" |
| Furniture and DIY | Assembly video, spare parts | "Scan for assembly help" |
| Anything recyclable | Disposal, recycling or return instructions | "Scan to see how to recycle this" |
Provenance is another good use: where the product was made, its certifications and batch information. Whatever you choose, give each code one main purpose and a page built for someone holding that product, mobile-first and quick to load. A generic homepage wastes the scan. If you need several links, point the code at a product page that lists them.
Labeling rules vary by country and product category. Where information is legally required on the pack, keep it printed and use the code for extra detail, unless your regulator explicitly allows otherwise.
Use a link that outlives the packaging
Boxes sit in warehouses, on shelves and in cupboards for years, and StylQR codes are static: the link is printed into the pattern and can't be changed later. The code never expires, so the address is what you have to protect.
- Use your own domain, with a short path like
yourbrand.com/p/oat-granola-500g. It's stable, and shoppers can see whose site it is before they open it. Avoid shortener or campaign-tool links that might lapse. - Avoid deep links into a store platform whose URL structure could change.
- Change the page, not the code. Keep the address fixed and update what it shows.
- Plan for discontinued products. Keep the page live with care, support and recycling information, or point to a replacement, instead of letting it 404.
Static vs dynamic QR codes explains why owning the destination matters more than relying on a third-party redirect service.
Size and placement on the pack
- Minimum size: about 2 × 2 cm (0.8 × 0.8 in) for close-range scanning. Go to 2.5–3 cm (1–1.2 in) if the link is long, you add a logo or the pack is curved.
- Flat panels first. Curves distort the pattern. On cans and bottles, keep the code small relative to the curve, place it vertically on the straight side, or use a flat lid or label.
- Avoid seams, folds and flaps. A crease through the code can stop it reading.
- Quiet zone. Leave an empty margin of at least four modules on all sides; don't let artwork, text or panel borders touch it.
- Keep it apart from the retail barcode, so shoppers and checkout scanners don't hesitate over which to read.
- Label it right beside the code, either as a frame line or in your pack artwork.
Printing checks that save a reprint
Packaging printing is harsher on QR codes than office printing.
- Send vector artwork. Download SVG or the print-ready PDF so the printer gets exact edges at any size, not a small PNG.
- Ask about ink spread. Flexographic printing on board and film can thicken dark areas. Very fine module shapes and tiny codes suffer most; simple square modules are safest.
- Keep dark on light. Print the code in a single dark ink on a white or very light base. A brand color works if it's dark enough. On a dark pack, print the code on a white panel.
- Watch finishes and films. Gloss varnish, foil and metallic films reflect the phone's light, and flexible film can stretch on press. Ask for a matte knock-out behind the code.
- Test on the real substrate. A paper proof tells you little about a shrink sleeve or kraft box. Scan the press proof under shop lighting with an iPhone and an Android phone.
How to print QR codes covers file formats and proofing in more detail.
Barcodes, GS1 Digital Link and Sunrise 2027
The barcode and a marketing QR code do different jobs today. The EAN-13 or UPC-A barcode carries your GTIN for the checkout. StylQR's EAN-13 barcode generator draws that barcode from a number you supply, but StylQR doesn't issue GTINs; those come from your national GS1 organization. See how to create a barcode for products for that process.
GS1 is working toward one code that does both. Its Digital Link standard puts identifiers such as the GTIN, batch or serial number inside a web address. The brand can change the content that address leads to without changing the code on the pack, while retailers and apps can still use it to look up the product.
In the US, GS1 US describes Sunrise 2027 as a transition from 1D UPC barcodes to 2D barcodes such as QR codes, and advises brands to update existing QR codes to GS1 Digital Link and include their GTIN. The aim is for checkouts to read 2D barcodes by the end of 2027; during the transition, expect packs to carry both the UPC and a 2D code. GS1 Sunrise 2027 explains the timeline, and what is a GS1 barcode covers the identifiers.
If you're designing new packaging in the next couple of years, ask your GS1 organization whether your QR code should follow GS1 Digital Link from the start.
EU rules: when the code becomes mandatory
In the EU, some packaging codes are moving from optional to required. The Digital Product Passport under the Ecodesign for Sustainable Products Regulation is reached through a data carrier such as a QR code. Batteries come first: the battery passport becomes mandatory on 18 February 2027. Other product groups, such as textiles, are expected to follow through separate rules from 2027 onward, with dates still being set. The Digital Product Passport explained separates confirmed dates from indicative ones.
If your products fall under these rules, the code has to lead to the specific data the law requires, not to a marketing page.
Make the packaging code
- Build the product page and settle on a permanent URL.
- Add UTM parameters for measurement, for example
?utm_source=pack&utm_medium=qr&utm_campaign=granola_500g. - Paste the full link into the URL QR code generator.
- Add a frame with your label, or leave it off and set the label in your pack artwork.
- Keep contrast high and check the live scan score.
- Download SVG or the exact-size PDF for your packaging designer.
For a whole range, list each product's URL in a spreadsheet and create every code at once with the bulk QR code generator: up to 5,000 rows, with each file named after its SKU.
Measuring packaging scans honestly
StylQR doesn't record scans. With UTM parameters on the link, visits from the pack appear in your Google Analytics traffic acquisition report; Google's UTM help page lists the fields. Give each SKU or pack size its own utm_campaign so you can see which products get scanned.
Expect long tails. Packaging codes keep bringing visits long after launch, so judge them over months, not a launch week.
Next steps
Pick one product, decide what its code should open, set up a permanent URL and test a proof on the real packaging material before committing to a full run. If you sell in shops, how retail stores use QR codes to increase sales covers the shelf and counter side of the same journey.
Frequently asked questions
Can the QR code on my packaging replace the EAN or UPC barcode?
Not today for most retailers. Tills scan the EAN or UPC barcode, which carries your GTIN. A GS1 Digital Link QR code can carry the GTIN too, but retailers are moving gradually and the linear barcode is still expected on pack.
Can I print a different QR code on every pack?
Only if your printer supports variable data printing, such as digital or inkjet coding. Conventional plate-based printing reproduces the same code on every pack, so per-batch or per-item codes need a variable-data process.
Do I need a different QR code for every product variant?
It's a good idea. A separate code for each size or flavor lets the page show the right ingredients and instructions instead of making shoppers pick.
Is NFC better than a QR code for smart packaging?
They suit different budgets. NFC needs a chip in each pack and a phone held very close, while a QR code is printed ink that any camera phone reads, so many brands start with QR.
Does StylQR give me a barcode number for my product?
No. StylQR draws barcodes from numbers you supply. Retail barcode numbers (GTINs) come from your national GS1 organization under your company prefix.


