What Is a GS1-128 Barcode and How It Encodes Data
GS1-128 Barcode
Definition
A GS1 barcode symbology capable of encoding identifiers plus attribute data through GS1 Application Identifiers.
Overview
GS1-128 Barcode A GS1 barcode symbology capable of encoding identifiers plus attribute data through GS1 Application Identifiers. The GS1-128 barcode uses the Code 128 bar-code character set and a special function character (FNC1) to signal that the encoded data follows GS1 element string rules; those element strings combine fixed identifiers such as GTIN or SSCC with attribute data such as expiry date, batch/lot, weight or quantity.
GS1-128 is widely used across manufacturing, distribution and logistics where machine-readable, semantically meaningful data is required on labels, cartons and pallet tags. Unlike a plain Code 128 barcode that can encode arbitrary text, GS1-128 enforces GS1 Application Identifiers (AIs) which tell scanners and backend systems what each data field represents. That makes the barcode self-describing: the label doesn’t just carry numbers, it carries structured supply-chain data.
How GS1-128 Encodes Data
The encoded payload in a GS1-128 barcode is a GS1 element string: a sequence of one or more AI/data pairs. Each AI is numeric and indicates the meaning and format of the data that follows. For example, AI (01) precedes a 14-digit GTIN, AI (17) precedes an expiry date in YYMMDD format, and AI (10) precedes a variable-length lot or batch number.
At the symbology level, a GS1-128 barcode begins with the Code 128 start character and includes an initial FNC1 in the first data position. The FNC1 tells the scanner and middleware that the following characters conform to GS1 element string formatting rules. When a variable-length AI is not the final element in the string, a group separator (GS) or equivalent function must mark the end of that field so adjacent fields don’t merge.
Common Application Identifiers In Practice
- GTIN (01): 14-digit identifier for trade items; used on cartons and cases.
- SSCC (00): 18-digit serial shipping container code for logistic units such as pallets.
- Lot/Batch (10): Variable-length alphanumeric field for production batch or lot.
- Expiration Date (17): Fixed six-digit YYMMDD expiry field for perishable goods.
- Quantity (37): Numeric quantity of items in the logistic unit.
Why GS1-128 Matters To Warehouse Operations
For warehouse and 3PL operations, GS1-128 delivers data consistency and downstream automation. Scanners and WMS can read a single barcode and populate multiple database fields — SKU (GTIN), lot, expiry, quantity and SSCC — reducing manual entry, picking errors and time at receiving or cross-dock. Regulatory programs and trading-partner agreements often mandate GS1 element strings for traceability and product recalls.
How It Varies By Use Case
Label content and the choice of AIs vary by packaging level and trading partner requirements. Case-level labels usually pair GTIN (01) with lot (10) and expiry (17). Pallet labels typically use SSCC (00) and might include a packed-on date or packing quantity. Food, pharmaceutical and chemical supply chains commonly require expiry and lot information; industrial goods may use serial numbers or manufacturing dates. Consult trading-partner specifications and the GS1 General Specifications to determine required fields and formatting rules.
Practical Example
Example element string for a case: (01)09506000123458(10)BATCH123(17)240731(37)24. Human-readable rendering often shows the AIs in parentheses: (01)09506000123458 (10)BATCH123 (17)240731 (37)24. The encoded GS1-128 payload will include the numeric AI codes and their data without the parentheses; an initial FNC1 and GS separators are used where needed between variable-length fields.
Tips For Implementation
- Label Design: Include both machine-readable GS1-128 and human-readable element strings (AIs in parentheses) so staff and systems can verify data quickly.
- Printer Setup: Configure thermal printers for Code 128 encoding with initial FNC1 and correct character set; confirm print density (X-dimension) to ensure scanners read reliably at the expected scanning distances.
- WMS Integration: Map each AI to the corresponding WMS field (GTIN, SSCC, lot, expiry). Test ingestion workflows with sample barcodes that include separators for variable-length fields.
- Partner Compliance: Use GS1 documentation and trading-partner label specifications to avoid rejected shipments due to missing or misformatted AIs.
In short, the GS1-128 Barcode encodes structured GS1 element strings using Code 128 with an initial FNC1, allowing warehouses to transport identifiers plus attribute data in a single, standardized barcode. Correct AI selection, formatting and printer/scanner configuration are the keys to reliable automation and trading-partner compliance.
Sources And Additional Reading (3)
- GS1-128
“GS1-128.” GS1, https://www.gs1.org/standards/barcodes/gs1-128.
- Application Identifiers (AIs)
“Application Identifiers (AIs).” GS1, https://www.gs1.org/standards/id-keys/application-identifiers.
- GS1 General Specifications
“GS1 General Specifications.” GS1, https://www.gs1.org/standards/gs1-general-specifications.
More from this term
Looking for a 3PL?
Compare warehouses on Racklify and find the right logistics partner for your business.