GS1 DataBar explained: seven symbols, four of them for the supermarket checkout

GS1 DataBar is the barcode that shows up where an EAN-13 does not fit — on a fruit label, on a small pack — and, in two of its forms, it carries more than the product number: batch, expiry date, weight.

EAN Studio · Updated November 2026

Unlike the EAN-13, which is one symbol with one job, GS1 DataBar is a family of seven. Four pass at the supermarket checkout; three were not designed for that and serve other places.

The seven, and what separates them

SymbolSupermarket checkoutWhat it carries
OmnidirectionalYesGTIN only (14 digits)
Stacked OmnidirectionalYesGTIN only — tall and narrow, for when there is no width
ExpandedYesGTIN plus attributes: batch, expiry date, weight
Expanded StackedYesThe same, stacked
TruncatedNoGTIN only
StackedNoGTIN only
LimitedNoGTIN only

The reason the last three do not pass at the checkout is not arbitrary: they were not designed for omnidirectional scanning, the kind where the pack goes over the glass any which way and the scanner has to catch it all the same. They are for places where someone aims the reader at the barcode on purpose.

The two that carry more than the number

This is where DataBar stops being «a smaller EAN». Expanded and Expanded Stacked accept Application Identifiers — the same (10) for batch, (17) for expiry and the weight identifiers from GS1-128 — up to 74 digits or 41 alphanumeric characters.

That is why they show up on fruit, fish and meat sold by weight: Expanded can carry the weight or the price of that particular pack, beyond the GTIN. And that is why a butcher can print the expiry date of that pack on a label, rather than the one of the product in general.

The other five carry the GTIN and nothing else. If you need batch or expiry inside the barcode, the choice is made for you: Expanded or Expanded Stacked. The other five have nowhere to put that data.

Which one to choose

The question is not taste, it is space. Omnidirectional is wider and lower; Stacked Omnidirectional is tall and narrow. The same between Expanded and Expanded Stacked. You choose by the shape of the place the label is going to stick to, not by the preference of whoever designs it.

The family and the capacities are in the GS1 fact sheet, GS1 DataBar family, 2015 edition, and in the GS1 support answers about the symbol types and about the four accepted at the checkout.

DataBar does not replace EAN-13

An EAN-13 is still what goes on a cereal box. DataBar comes in when the EAN-13 does not do the job: because there is no room, or because more than the product number has to travel. They are answers to different problems — and the checkout reads both, as long as the retailer's scanner and system are ready for DataBar. Confirm that before you print packaging.

What EAN Studio generates

EAN Studio generates GS1 DataBar Omnidirectional, one of the four variants accepted at the supermarket checkout. You write an EAN-13 or a GTIN-14: with thirteen digits, the program adds the leading zero. The (01) is not written inside — in this symbol it is implied, unlike what happens in Expanded. If the number does not have thirteen or fourteen digits, or if the check digit does not add up, no barcode comes out.

The other six forms, not yet. And it is better to say so than to let you find out on your own: GS1-128 carries the same data and is in the same plan, but it is a logistics barcode — it is not accepted at the supermarket checkout and does not replace Expanded there. If you need Expanded for retail, EAN Studio does not answer that case today. Tell us through contact — that is how this moves up the list.

GS1 DataBar is a Pro feature

GS1 DataBar, GS1-128 and GS1 DataMatrix are part of the Pro plan. EAN-13, QR Code and plain Code 128 are free.

See the Pro plan Free EAN-13 generator

Frequently asked questions

What is GS1 DataBar?

It is a family of seven GS1 barcodes. Some exist to fit where an EAN-13 does not; the two Expanded ones exist to carry more than the product number — batch, expiry date or weight — and those can even be larger than an EAN-13. The size depends on the variant, on the data and on the module width.

Which ones pass at the supermarket checkout?

Four: GS1 DataBar Omnidirectional, Stacked Omnidirectional, Expanded and Expanded Stacked. The other three — Truncated, Stacked and Limited — were not designed for omnidirectional scanning and are not approved for the checkout.

Which ones carry batch and expiry beyond the GTIN?

Only Expanded and Expanded Stacked. They accept Application Identifiers up to 74 digits or 41 alphanumeric characters. The other five carry the GTIN only.

Does GS1 DataBar replace EAN-13?

No. EAN-13 is still the barcode of ordinary retail packaging. DataBar comes in when the EAN-13 does not do the job: when there is no room for it, or when batch, expiry or weight have to travel inside the barcode itself.

Why do fruit and fish use DataBar?

Because they may be sold by weight, with a price that depends on that particular pack. DataBar Expanded can include the weight or the price, beyond the GTIN. The choice depends on how the product is sold and on what the retailer's system accepts.

Which DataBar does EAN Studio generate?

GS1 DataBar Omnidirectional, one of the four accepted at the supermarket checkout. The program accepts an EAN-13 or a GTIN-14 and, with thirteen digits, adds the leading zero. In this symbol the (01) identifier is implied, not a field written into the data. The other six forms of the family are not generated yet.

Do I need a different GTIN for DataBar?

No. It is the same product GTIN, with the same GS1 Company Prefix. What changes is the symbol that draws it, not the number inside.