What is a GS1-128 barcode?
Definition: GS1-128 barcode
GS1-128 is a linear barcode that carries product data such as GTIN, lot number, expiry date and net weight, each field introduced by a GS1 application identifier.
Also called: GS1-128, GS1-128 label
How GS1-128 works
GS1-128 is a version of Code 128 that starts with a special Function 1 character (FNC1), which tells the scanner the data follows GS1 rules. Each piece of data is preceded by an application identifier (AI), a short number shown in brackets on the human-readable line, which says what the data is and what format it has. One symbol holds up to 48 characters, and several AI fields can be chained in it.
For a food plant the point is simple: everyone in the chain can scan the lot and date into their own system instead of typing them. Receiving and shipping go faster, FEFO picking becomes practical, and a trace or recall is quicker because the lot was captured at every step.
The application identifiers food plants use most
A case label might read (01)10012345678902(3103)001250(17)261231(10)L2611A, with the variable-length lot placed last.
- (01) GTIN: the 14-digit Global Trade Item Number, with a check digit.
- (10) Batch or lot number: up to 20 characters, letters allowed.
- (17) Expiration date, as YYMMDD. (15) is the best before date, in the same format.
- (3103) Net weight in kilograms with three decimals, for variable-measure items: 3103 001250 means 1.250 kg.
- (00) SSCC: the Serial Shipping Container Code that identifies a pallet or other logistic unit.
Common GS1-128 mistakes
Most unreadable or rejected labels come down to a handful of errors:
- Putting an internal item code behind (01). That field must hold a real GTIN with a valid check digit.
- Placing a variable-length field such as the lot (10) in the middle without a separator. Variable-length fields need an FNC1 separator unless they come last.
- Writing dates as DDMMYY. GS1 dates are YYMMDD.
- Using the wrong decimal digit for weight: 3102 means two decimals, 3103 means three.
- Printing bars too small or too faint for the warehouse scanners.
Worked example
Say a meat plant packs a case of pork loins weighing 12.48 kg, from lot L2611A, expiring December 31, 2026. The label encodes (01) the case GTIN, (3103)012480 for 12.480 kg, (17)261231 and finally (10)L2611A. At the customer's dock, one scan records the item, weight, expiry date and lot.
How NutraSoft handles it
Lot labels on every NutraSoft plan include a GS1-128 format that carries the product code, expiry date and lot number, and inventory counts scan GS1-128 lot labels. On Enterprise, the Label Designer prints GS1-128, GS1 DataMatrix, ITF-14 and other symbologies, with a builder for GS1 application identifiers that includes 3103 for net weight, and outputs PDF, PNG or Zebra ZPL.
Questions answered
What is the difference between GS1-128 and a UPC?
A UPC-A holds only a 12-digit GTIN and is made for retail checkout. GS1-128 can carry the GTIN plus lot, dates, weight and other data, and is used on cases and pallets rather than at the till.
What if the data does not fit in one barcode?
One GS1-128 symbol holds up to 48 characters. When the GTIN, weight, dates and lot need more, labels use two or more GS1-128 symbols, each with its own application identifiers.
Do I need a GTIN to use GS1-128?
For the (01) field, yes. A GTIN comes from a GS1 company prefix, which you get from your local GS1 member organization. Fields such as batch or lot (10) and expiry (17) are meant to accompany a GTIN, not replace it.