Skip to main content
Brands & ManufacturersPrinter Partners
GCC / EN:UAE/KSA/QA/KW/OM/BH
AIQR LogoFree GS1 QR codes

GS1 basics

GTIN vs Barcode vs QR Code vs Serial Number

A GTIN is a number, a barcode or QR code is how it is carried, and a serial number identifies one unit. A clear guide to how the four fit together.

Updated 5 min readbeginner

The short answer

A GTIN is a number that identifies a product type. A barcode or QR code is a printed symbol that carries a number so a machine can read it. A serial number, added to a GTIN, identifies one individual unit. They answer different questions: what product is this, how is it read, and which one is it?

  • Separate the identifier (the number) from the carrier (the symbol printed on the pack). The same GTIN can be carried by an EAN-13 barcode, a GS1 DataMatrix or a QR code.
  • A GTIN identifies a product type. Adding a serial number to the GTIN identifies one specific unit.
  • A QR code is only a container. What matters is what it holds: a GS1 Digital Link carrying your GTIN, or just a marketing web address.
  • No identifier or carrier, on its own, proves that a product is genuine.

Product teams use "barcode", "QR code", "GTIN" and "serial number" as if they were interchangeable. They are not, and mixing them up leads to real mistakes: buying "barcodes" when you need numbers, printing a QR code no checkout can use, or assuming a code proves a product is genuine. This guide separates the four ideas.

The short answer: three different questions

Each term answers a different question about a product.

QuestionAnswered byExample
What product is this?An identifier: the GTIN09501101530003, meaning Maison Ardent Ambre Nuit 100 ml
How does a machine read it?A data carrier: a barcode or QR codeAn EAN-13 barcode, a GS1 DataMatrix, a QR code
Which individual one is it?A serial number, used with the GTINSerial A7K29Q on one specific bottle

The number is the identity. The symbol is just packaging for the number. Keeping those apart makes the rest straightforward.

The GTIN: an identifier for a product type

A GTIN (Global Trade Item Number) names a kind of product: one size, flavour or variant. Every identical 100 ml bottle of Ambre Nuit has the same GTIN. You create GTINs from your GS1 Company Prefix, and retailers use them as the key to their own product, price and stock records.

A GTIN is just digits. You could write it on an invoice, type it into a spreadsheet or say it over the phone, and it would still identify the product. More on this in what is a GTIN and why does it matter?

The barcode or QR code: a carrier

A barcode is a way of printing data so a scanner can read it quickly and reliably. It is the carrier, not the identity. GS1 standards specify which carriers to use where, and how to put GS1 data inside them.

Data carriers compared

CarrierWhat it holdsWho reads itTypical useOpens on a phone?
Linear barcode (EAN-13 / UPC-A)GTIN onlyLaser and imaging scanners at checkoutRetail checkout today; nearly universalNot useful to consumers
Plain QR codeAny text, usually a web addressPhones; not interpreted as a product by POSMarketing links, campaignsYes — opens a web page
QR code with GS1 Digital LinkA web address that contains the GTIN and optional batch, serial, expiryPhones, and 2D-capable POS scanners that extract the GTINConsumer-facing packs that also need to scan at checkoutYes — resolves to brand content
GS1 DataMatrixGS1 element string: GTIN plus batch, serial, expiry and more2D imaging scanners; most phone camera apps will not open itHealthcare, regulated and small packs, industrial markingUsually not, without a dedicated app
The barcode is the carrier; the GTIN is the identifier it carries. The same GTIN can be encoded in any of the GS1 carriers above. Which ones a retailer accepts at checkout is set by GS1 guidance and the retailer, so check before changing artwork.

The comparison above shows the main carriers you will meet on packs:

  • Linear barcodes (1D), such as EAN-13 and UPC-A. They hold just the GTIN, can be read by almost every retail scanner today, and have no room for much else.
  • GS1 DataMatrix, a small square 2D barcode that can hold the GTIN plus batch, expiry and serial number in GS1's standard format.
  • QR code, another 2D symbol that phones read natively. A QR code can hold anything: a plain web address, a coupon, or a GS1 Digital Link that contains your GTIN in a standard, web-friendly form.

That last point is the one people miss. "QR code" describes the shape of the symbol, not what is inside it. A QR code holding https://example.com/summer-promo contains no GTIN at all. A QR code holding a GS1 Digital Link such as https://example.com/01/09501101530003 contains the GTIN in a form that both phones and GS1-capable scanners understand. The difference is explained in what is GS1 Digital Link?, and the three things people mean by "GS1 QR code" are untangled in what is a GS1 QR code? For a practical comparison of the striped barcode and the QR code — scanners, size and damage tolerance — see barcode vs QR code.

Which 2D carriers work at the checkout?

For general retail, GS1 lists exactly three 2D options for checkout scanning: GS1 DataMatrix, a QR code with a GS1 Digital Link, and a Data Matrix with a GS1 Digital Link. These are the codes covered by Sunrise 2027 (GS1 global calls it Ambition 2027), a voluntary retail-industry goal for checkouts to read 2D as well as linear barcodes by the end of 2027. It is not a law. For now, GS1 rules require the linear barcode to stay alongside the 2D code while checkouts upgrade. How the two compare is covered in QR code vs GS1 DataMatrix.

The serial number: one individual unit

A GTIN tells you a bottle is Ambre Nuit 100 ml. It cannot tell you which bottle. For that, you add a serial number. In GS1 terms, the serial is meaningful together with the GTIN: GTIN plus serial identifies one unit, and the same serial under a different GTIN would be a different item.

Serials are usually created by the brand's ERP or serialization system and printed on the packaging line, one per unit. Because each unit is different, serials cannot be part of fixed pack artwork; they must be printed as variable data during production.

Between "type" and "unit" sits the batch or lot number, which is shared by everything made in one production run. Batch is useful for recalls and expiry, while serial is needed when you track, verify or reward individual units. See what is product serialization? for when unit-level identity is worth the effort, and GTIN, batch, serial, SSCC and GLN explained for the full set of identifiers.

Putting it together: one bottle, three layers

Here is how the layers appear on a single 100 ml bottle of Ambre Nuit:

  1. Identity: GTIN 09501101530003, assigned once by Maison Ardent from its company prefix.
  2. Instance: batch L2609 and serial A7K29Q, printed on the line for this bottle only.
  3. Carriers:
    • an EAN-13 barcode on the box, holding the GTIN for today's checkouts;
    • a QR code holding a GS1 Digital Link, https://example.com/01/09501101530003/10/L2609/21/A7K29Q, which carries all three values together.

A modern checkout reading the QR code extracts the GTIN and looks up the price in the retailer's own system, exactly as it would from the EAN-13. A consumer's phone opening the same code goes to a web page about this specific bottle. One identity, two carriers, several uses.

What none of them prove

A GTIN, a barcode, a QR code and a serial number can all be copied. A counterfeiter can photograph a genuine bottle and reprint everything on it. A unique serial does make copying detectable, because a system can notice the same serial being scanned in two cities. But detection depends on server-side rules and monitoring, not on the code itself. We explain this in why a QR code does not automatically prove authenticity.

The one thing to remember

When someone says "we need a barcode", ask which layer they mean. Do you need an identifier (a GTIN from your GS1 licence), a carrier (a symbol printed on the pack), or instance data (a batch or serial number per unit)? Each comes from a different place and is owned by a different team. The GS1 system that ties them together is introduced in What is GS1?

See your GTIN as a GS1 Digital Link QR code

Frequently asked questions

Can I put my GTIN in a QR code instead of an EAN-13?

On retail packs, not instead of, but alongside. GS1 rules currently require the linear barcode to stay next to any retail 2D code while checkouts upgrade. A QR code carrying a GS1 Digital Link with your GTIN is one of the approved 2D options.

Is a serial number the same as a batch number?

No. A batch or lot number is shared by every unit made in the same production run. A serial number is unique to one unit within a GTIN.

Do I need serial numbers on every product?

No. Many products only need a GTIN, and some add a batch and expiry date. Unit-level serial numbers are worth it when you need to track, verify or engage with individual items.

My existing QR code links to my website. Does it contain my GTIN?

Usually not. A typical marketing QR code holds a plain web address. Unless that address follows the GS1 Digital Link format, checkout scanners and trading partners cannot pull a GTIN from it.

Sources and further reading

Standards references last reviewed 1 October 2026.