Barcode types: which one does what

Checked against the sources on this page on

Barcodes fall into two families. Linear barcodes encode data in lines and spaces of varying width. 2D barcodes use patterns of squares, dots and other shapes, and hold more data in less space.

Which barcode does what

BarcodeFamilyUsed for
UPC and EANLinearConsumer goods at retail, all over the world
GS1 DataBarLinearProducts that need extra attributes, such as the weight of fresh food
GS1-128 and ITF-14LinearOften used in distribution
QR Code (GS1 Digital Link URI)2DLinking packaging to product information online, such as ingredients or usage instructions
GS1 DataMatrix2DWidely adopted in healthcare

What goes inside

A barcode can carry an identifier, such as a product, shipment or location, along with attributes such as a serial number, batch or date.

Both QR Code (GS1 Digital Link URI) and GS1 DataMatrix can store a GTIN along with information such as an expiry date or serial number. GS1 has standards for five 2D barcodes in all, and these two are the most widely recognised.

Start from where it gets scanned

The list above points to the barcode types GS1 associates with each setting. Before you print, confirm the requirement with whoever will scan the code: your retailer, marketplace, warehouse or logistics provider. Their rules decide what you need.