What is the difference between a barcode and a 2D code?
A barcode such as EAN-13 is one-dimensional. It is read along a line and carries a single piece of data: the product’s item number, the GTIN. Everything else about the product has to be looked up by the checkout in a database.
A 2D code is a grid pattern read in two dimensions. It can carry the GTIN plus data such as batch number, best-before date, serial number and a web address.
| Feature | Barcode (EAN-13) | GS1-standard 2D code |
|---|---|---|
| Appearance | Black and white bars | Grid pattern (QR or DataMatrix) |
| Carries | GTIN only | GTIN plus batch, date, serial number, web link |
| Read by | Laser and camera scanners | Camera scanners and mobile phones |
| Shoppers can scan it | No, not in any useful way | Yes, if the code is a QR code with GS1 Digital Link |
| Space on the pack | Relatively large | Small |
What happens at checkout in 2027?
GS1 and the retail industry share a common ambition: by the end of 2027 at the latest, point-of-sale systems should be able to read GS1-standard 2D codes in addition to today’s barcodes. In Sweden, GS1 Sweden leads this work under the name “2D-koder inom retail” (2D codes in retail).
This requires two things from the retailer:
- The right scanners. Traditional laser scanners read a single line and cannot read 2D codes. Camera-based scanners are needed.
- Updated POS software. The system must be able to interpret the extra data in the code, such as a best-before date.
Once the checkout can read the date, new possibilities open up for the store. It can block sales of expired or recalled products and work with first in, first out in its stock.
Is the EAN barcode going away?
No. Phasing out the barcode is not part of the initiative. GS1’s ambition for 2027 is that a product can be read using either EAN or a 2D code, with the 2D code as the preferred option.
The transition will therefore be long. During it, brands add a 2D code next to the EAN barcode so the product works with both old and new checkouts. This is called dual marking.
What does it mean for your brand?
You do not need to do anything for your products to keep scanning. But you gain an opportunity that did not exist before: the same code the checkout reads can also take shoppers to information about the product.
- More information without a bigger label. Ingredients, usage and recycling information can be reached via the code.
- Information that changes. The content behind a QR code with GS1 Digital Link can be updated without reprinting the packaging.
- One code instead of several. Today, many packs carry both an EAN barcode and a separate marketing QR code. A GS1-standard 2D code can do both jobs.
Frequently asked questions about 2D codes and barcodes
Can checkouts read 2D codes today?
It depends on the store. The transition is gradual, and the goal is for checkouts to handle them by the end of 2027 at the latest. Ask your retailers about their timeline.
Do I need a new GTIN for the 2D code?
No. The 2D code uses the same GTIN as the product’s EAN barcode.
Can a regular QR code replace the barcode?
No. The code must follow the GS1 standard and contain the GTIN for the checkout to read it as a product. A QR code with GS1 Digital Link does this.
Is it more expensive to print a 2D code?
The code is printed in the same process as the rest of the packaging. The cost lies mainly in creating the codes and the content they lead to.
Do I have to switch to a 2D code in 2027?
No. There is no requirement on brands. The 2027 goal is about checkouts being able to read the codes.









