Skip to content
StylQR home
Barcode Guides

What Is a GS1 Barcode? Everything Businesses Need to Know

What a GS1 barcode is, how GTINs and company prefixes work, the GS1 barcode types, Application Identifiers in GS1-128, and how to get numbers in your country.

By StylQR Editorial TeamPublished 5 min read

StylQR blog cover: What Is a GS1 Barcode? Everything Businesses Need to Know, illustrated with a certificate with a barcode, a globe and a factory on a teal background
Table of contents

A GS1 barcode is any barcode that carries an identification number from the GS1 system, most often a GTIN (Global Trade Item Number) for a product. The best-known ones are the EAN-13 and UPC-A codes scanned at checkouts, but GS1-128 shipping labels, ITF-14 carton codes and GS1 DataMatrix codes on medicines are GS1 barcodes too.

What makes them "GS1" isn't the bars; it's the number inside, licensed to your company so it's unique worldwide. This guide covers who GS1 is, the numbers it issues, the barcode types that carry them, and how Application Identifiers let one code hold a product's batch and expiry date.

Who GS1 is

GS1 is a not-for-profit standards organization headquartered in Brussels. It runs the numbering system used by retailers and supply chains worldwide, through member organizations in individual countries: GS1 US, GS1 India, GS1 UK, GS1 Germany and many more. You deal with the one in your country.

GS1 grew out of two bodies: the Uniform Code Council in the US, set up in 1974 to manage the UPC, and the European Article Numbering Association, founded in 1977. They adopted the single name GS1 in 2005.

The numbers: GS1 identification keys

GS1 calls its numbers identification keys. The ones most businesses meet:

KeyLengthIdentifiesTypical barcode
GTIN-13 / GTIN-1213 / 12 digitsA retail productEAN-13 / UPC-A
GTIN-88 digitsA small retail productEAN-8
GTIN-1414 digitsA case or carton of productsITF-14, GS1-128
SSCC18 digitsOne specific pallet or shipmentGS1-128
GLN13 digitsA location or legal entityGS1-128, or used in data

GS1 US notes that GTIN-14 is meant for trade item groupings such as cases and is not intended for point-of-sale use (GS1 US on GTINs).

Company prefix and how numbers are built

Every key starts with your GS1 company prefix, the block of digits licensed to your company. The rest is up to you, followed by a check digit. With an illustrative prefix 89061234:

  • GTIN-13: prefix + 4-digit item reference + check digit, such as 8906123456781.
  • GTIN-14 for a case of that item: indicator digit + the first 12 digits + a new check digit, such as 18906123456788.
  • SSCC for a pallet: extension digit + prefix + serial reference + check digit, such as 089061234500000017.

All three use the same mod-10 check digit. The EAN-13 guide works through the calculation.

GS1 barcode types

BarcodeCarriesWhere you see it
EAN-13, UPC-A, EAN-8, UPC-EGTIN onlyRetail checkout
ITF-14GTIN-14Corrugated cartons
GS1-128Any keys plus Application Identifier dataShipping labels, pallets, cases
GS1 DataBarGTIN, optionally weight, expiry and moreFresh food, coupons
GS1 DataMatrixGTIN plus batch, expiry, serial numberMedicines, medical devices, some retail packs
QR code with GS1 Digital LinkA web address containing the GTINPackaging for shoppers and checkouts

For the general differences between these formats, types of barcodes explained has a fuller tour.

Application Identifiers

Retail codes like EAN-13 hold only the GTIN. When you need more, GS1-128, GS1 DataBar, GS1 DataMatrix and Digital Link QR codes use Application Identifiers (AIs): short numeric prefixes that say what the next piece of data is. They appear in brackets in the printed text, though the brackets themselves aren't encoded.

Common AIs, as listed in GS1 Sweden's AI guide:

AIMeaningFormat
(00)SSCC18 digits
(01)GTIN14 digits
(02)GTIN of items contained in a logistic unit14 digits, used with (37)
(10)Batch or lot numberUp to 20 characters
(11)Production dateYYMMDD
(15)Best before dateYYMMDD
(17)Expiry dateYYMMDD
(21)Serial numberUp to 20 characters
(37)Count of itemsVariable
(310x)Net weight in kg, x decimal places6 digits

A GS1-128 example

A carton label could read (01)18906123456788(17)271231(10)LOT42: the case GTIN, an expiry date of 31 December 2027, and batch LOT42.

Two rules keep these codes readable:

  1. A special FNC1 character follows the start code. It tells the scanner the data uses GS1 AIs. That's what turns an ordinary Code 128 into a GS1-128.
  2. Put fixed-length fields first and variable-length ones last. AIs like (01) and (17) have a known length, so the scanner knows where they end. Variable fields like (10) need an FNC1 separator after them unless they're last. Putting the batch number at the end, as above, avoids a separator.

GS1-128 symbols are also limited to 48 data characters, so long sets of data may need two barcodes or a GS1 DataMatrix.

Tip: The GS1-128 generator has an Application Identifier helper: click an AI such as GTIN, batch or expiry date to insert it in brackets with a sample value, then replace the sample with your own. The FNC1 characters are added when the barcode is drawn. Dates go in as YYMMDD.

Size for logistics labels

GS1-128 and ITF-14 on cartons are printed bigger than retail codes so warehouse scanners can read them at a distance. GS1 Sweden's size guide recommends an X-dimension of 0.495 mm for both, with a quiet zone of 10 modules each side and a bar height of 31.75 mm.

GS1 Digital Link puts GS1 keys into a web address, for example https://brand.example/01/08906123456781/10/LOT42. Encoded in a QR code, it opens a product page on a phone, while a 2D-capable checkout scanner can extract the GTIN. GS1 US's Sunrise 2027 initiative asks US retailers to have scanners that read these 2D codes; GS1 Sunrise 2027 covers what that means for brands.

How to get GS1 numbers

  1. Find your national GS1 organization. In India, GS1 India is the only authorized issuer of barcodes starting with 890 and warns that unauthorised barcodes can lead to trade restrictions (GS1 India).
  2. Estimate how many numbers you need, counting every product variant, case size and future launch.
  3. License a company prefix (or, in some countries, individual GTINs for a handful of products). Fees vary, so check your national site.
  4. Record product data against each number in your GS1 organization's online tool.
  5. Generate and print the barcodes at the right size.

StylQR doesn't issue GS1 numbers or handle GS1 registration. It draws the barcode for the numbers you've licensed.

Where to go next

For retail packs, how to create a barcode for your products takes you from license to label. If you're printing a lot of carton or pallet labels, the bulk barcode generator works from a spreadsheet, and how supermarkets scan barcodes explains what happens to your GTIN at the till.

Frequently asked questions

What does GS1 stand for?

Nothing. GS1 is a name, not an acronym. The organization took the name in 2005, bringing together the bodies that had run the EAN and UPC systems.

Is a GS1 barcode the same as a UPC?

A UPC is one kind of GS1 barcode. The term also covers EAN-13, EAN-8, ITF-14, GS1-128, GS1 DataBar, GS1 DataMatrix and QR codes using GS1 Digital Link.

Do I have to renew my GS1 membership?

In most countries, yes. A company prefix license usually carries an annual renewal fee, and letting it lapse can affect your right to keep using the numbers. Check your national GS1 organization's terms.

Can I move my GS1 numbers to another country's GS1 office?

You don't need to. GS1 numbers are valid worldwide, whichever member organization issued them, so a prefix from GS1 India works on products sold in Europe or the US.

Share this guide

StylQR blog cover: How to Create a Barcode for Your Products, illustrated with a product box with a barcode, a price tag and a certificate on a teal background

Barcode Guides

How to Create a Barcode for Your Products

Create product barcodes the right way: license GTINs from GS1, assign one per variant, pick EAN-13 or UPC-A, size and place the code, then print and test it.

· 5 min read

StylQR blog cover: 1D vs 2D Barcodes: Key Differences Explained, illustrated with a one-dimensional barcode beside a two-dimensional code with width arrows on a ocean background

Barcode Guides

1D vs 2D Barcodes: Key Differences Explained

1D vs 2D barcodes compared: how much data each holds, error correction, scanner needs, print size and cost, with clear advice on when to use each type.

· 4 min read