A GS1-128 barcode is a supply-chain subset of the Code 128 linear symbology that opens with a mandatory double-character start pattern of Start A, B, or C plus Function Code 1 (FNC1) and uses GS1 Application Identifiers to encode up to 48 characters of trade-item and pallet data—including GTIN, lot number, expiration date, and SSCC—for non-POS logistics.
Most receiving-dock scan rejections stem from template encoding mistakes rather than damaged ink. Encoding human-readable parentheses directly into the bar stream corrupts Application Identifier parsing, while omitting an FNC1 separator after a variable-length lot number causes downstream warehouse software to swallow a trailing expiration date into the batch string. Controlling the FNC1 flag, concatenation order, quiet-zone width, and physical placement keeps multi-field shipping labels readable across distribution networks.
What supply-chain case and pallet data is a GS1-128 barcode used to carry?
A GS1-128 barcode carries GS1 Identification Keys and structured trade attributes on outer cases, master cartons, and pallets so shipping, receiving, and warehouse systems capture traceability data in one scan. Formerly named UCC-128 or UCC/EAN-128, a single symbol encodes up to 48 data characters for non-POS distribution rather than retail checkout lanes.
GS1 US notes that GS1-128 barcodes encode all GS1 Identification Keys beyond a Global Trade Item Number (GTIN), including Global Location Numbers (GLNs) for parties and locations, the Serial Shipping Container Code (SSCC) for logistic units such as cases, pallets, and shipping containers, and GS1 asset identifiers. Alongside those keys, GS1-128 carries attribute data such as batch or lot numbers, serial numbers, expiration dates, production dates, item counts, and country of origin. Because traditional point-of-sale laser scanners cannot parse these extended data structures, GS1-128 symbols are restricted to non-POS supply-chain environments.
Regulated supply chains rely on this dual human-readable and machine-readable data capture. Under 21 CFR 801.40, a U.S. medical device Unique Device Identifier (UDI) must appear in both easily readable plain-text and Automatic Identification and Data Capture (AIDC) technology, conveying a lot or batch number, serial number, manufacturing date, or expiration date whenever those fields appear on the label, while 21 CFR 830.20 restricts UDI characters to the invariant character set of ISO/IEC 646. In food distribution, 21 CFR 1.1340 requires shipping records for Food Traceability List items to link each shipment to the traceability lot code alongside the shipped quantity and unit of measure.
How does GS1-128 differ from a plain Code 128 barcode symbol?
GS1-128 uses the physical bar-and-space patterns of Code 128 defined in ISO/IEC 15417:2007, but adds a strict data protocol anchored by a double-character start pattern of Start A, B, or C immediately followed by FNC1. Under GS1 General Specifications Section 5.4.3.7, any Code 128 symbol beginning with Start plus FNC1 is always a GS1-128 barcode, whereas one lacking leading FNC1 is never a GS1-128 barcode.
As detailed in the Code 128 specification overview, the underlying symbology defines 108 symbol patterns (103 data symbols, 3 start symbols, and 2 stop symbols), where every character uses three bars and three spaces between 1 and 4 units wide totaling 11 units, with bar sums even (4, 6, or 8 units) and space sums odd (3, 5, or 7 units). GS1-128.info summarizes GS1-128 as a derivative data language on top of Code 128 that pairs the FNC1 flag with Application Identifiers.
| Feature | Plain Code 128 | GS1-128 (GS1 General Specifications Section 5.4) |
|---|---|---|
| Start sequence | Single start character (Start A, Start B, or Start C) | Mandatory double-character start pattern (Start A, B, or C immediately followed by FNC1) |
| Decoder symbology flag | Standard Code 128 output without GS1 modifier 1 | Prefixed with ]C1 when symbology identifiers are enabled; leading FNC1 sets modifier 1 and is not transmitted |
| Encodable character set | Full ASCII 0 to 127 plus extended bytes 128 to 255 via FNC4 | GS1 subset of ISO/IEC 646 only; extended bytes 128 to 255 accessed by FNC4 are not used |
| Function characters allowed | All four function characters (FNC1, FNC2, FNC3, FNC4) | FNC1 used for GS1 start flag and variable-length field separation; FNC2 and FNC4 are not used |
| Data syntax and payload cap | Arbitrary free-form text or numbers with no fixed GS1 cap | Structured GS1 Application Identifier element strings capped at 48 encoded data characters and 165.10 mm (6.500 in) width |
When symbology identifiers are enabled on a warehouse scanner, GS1 General Specifications Section 5.4.6.4 specifies that decoded GS1-128 output is prefixed with ]C1 while omitting start, stop, code-set, shift, leading FNC1, and Modulo 103 symbol check characters from the transmitted payload. Section 5.4.7.4 confirms that leading FNC1 in character position 1 never appears as a payload byte because modifier value 1 inside ]C1 signals to the host enterprise system that the incoming string follows GS1 Application Identifier syntax.
How do GS1 Application Identifiers label GTIN, lot number, expiration date, and SSCC fields?
GS1 Application Identifiers (AIs) are numeric prefixes encoded immediately ahead of each data field so scanners and warehouse software know the meaning, character type, and length of the bytes that follow. Combining multiple AIs in one symbol lets a single scan capture a product key alongside its batch history, date code, and logistic unit identity.
Core identification keys and attribute fields
Every shipping template begins by selecting the proper identification key for the packaging hierarchy. Under GS1 General Specifications Section 2.2, the SSCC carried in AI (00) is the only GS1 key permitted as the worldwide unique identifier of a logistic unit, and combining a GTIN with a serial number cannot replace the SSCC on a pallet or transport unit. GS1 Section 2.2.1 also requires that an assigned SSCC not be reallocated within one year of the shipment date from the assignor to a trading partner.
| Application Identifier | Data element | Field format and length rule | Concatenation class (Figure 7.8.5-2) |
|---|---|---|---|
| (00) | Serial Shipping Container Code (SSCC) | 18-digit numeric SSCC-18 starting with extension digit 0 to 9 (20 total characters) | Predefined length — no trailing FNC1 |
| (01) | Global Trade Item Number (GTIN) | 14-digit format for GTIN-8, GTIN-12, GTIN-13, or GTIN-14 (16 total characters) | Predefined length — no trailing FNC1 |
| (02) | GTIN of contained trade items | 14-digit GTIN of uniform contained items inside a logistic unit (16 total characters); requires AI (37) | Predefined length — no trailing FNC1 |
| (10) | Batch or lot number | Variable-length alphanumeric string of 1 to 20 characters; processed with GTIN | Variable length — FNC1 required if followed |
| (11) | Production date | YYMMDD manufacturer production date (8 total characters) | Predefined length — no trailing FNC1 |
| (15) | Best before date | YYMMDD quality-attribute date (8 total characters) | Predefined length — no trailing FNC1 |
| (17) | Expiration date | YYMMDD consumption or use cutoff date (8 total characters) | Predefined length — no trailing FNC1 |
| (21) | Serial number | Variable-length alphanumeric lifetime identifier (X1 to X20); processed with GTIN | Variable length — FNC1 required if followed |
| (37) | Count of contained trade items | Variable-length numeric count (N1 to N8); mandatory completion of AI (02) or AI (8026) | Variable length — FNC1 required if followed |
GS1-128.info illustrates how a scanner parses fixed keys directly from the AI prefix: when 00 immediately follows leading FNC1, the decoder expects an 18-digit numeric SSCC-18 string. Similarly, GS1 US specifies that any GTIN encoded under AI (01) in a GS1-128 symbol must use a 14-digit format, while AI (02) identifies the uniform trade items packed inside a non-trade logistic unit and must be accompanied on the same unit by AI (37) carrying the item count.
Date encoding and human-readable parentheses rules
GS1 date fields for AI (11) production date, AI (15) best-before date, and AI (17) expiration date all use the YYMMDD format. Under GS1 General Specifications Section 3.4.7, when a general distribution product does not require a specific calendar day, filling the day position with two zeroes instructs receiving software to interpret the date as the last day of that month including leap-year adjustments. For regulated healthcare products, however, GS1 rules effective 1 January 2025 prohibit expressing the day as two zeroes and require an explicit valid calendar day such as 31 for the last day of July. For broader label wording and human-readable date conventions across packaging lines, see our date coding guide.
Human-readable interpretation (HRI) formatting follows a strict split between printed text and encoded bars. GS1 General Specifications Section 4.14 mandates that parentheses surround every AI in the HRI line—such as (01), (17), and (10)—while explicitly forbidding parentheses from being encoded inside the barcode bars. The same section specifies that HRI text should be at least 2 mm (0.08 in) tall, that spaces must never be encoded inside the barcode even if spaces are added to HRI text for manual readability, and that the Modulo 103 symbol check character must neither appear in HRI nor be transmitted by the decoder.
When do variable-length Application Identifiers need an FNC1 group separator?
A variable-length Application Identifier needs an FNC1 separator immediately after its data whenever another Application Identifier follows it in the same GS1-128 barcode, and omits the separator when it is the final element string before the Modulo 103 check character. Placing predefined-length AIs ahead of variable-length AIs eliminates unnecessary mid-string separators and shortens the printed symbol.
GS1 General Specifications Figure 7.8.5-2 fixes the exact table of predefined-length element strings by their first two digits and total character count (AI plus data): 00 (20), 01 and 02 (16), 11, 12, 13, 15, 16, and 17 (8), 20 (4), 31 through 36 (10), and 41 (16). Because receiving parsers know those exact widths in advance, predefined-length element strings do not require a trailing FNC1. Crucially, the note to Figure 7.8.5-2 warns that any AI whose first two digits are absent from that fixed list is treated as variable-length during concatenation even if that AI’s own specification defines a fixed-length data field.
Under GS1 Section 7.8.6.2 and Section 5.4.7.4, every non-predefined-length element string—including AI (10) batch or lot number, AI (21) serial number, and AI (37) count—must terminate with FNC1 whenever another element string follows. In the third or subsequent character position of a GS1-128 symbol, the decoder transmits that FNC1 separator as the Group Separator control character (ASCII 29 decimal, hexadecimal 1D). If a label template encodes AI (10) lot number before AI (17) expiration date without inserting FNC1 between them, the parser receives no ASCII 29 delimiter and consumes the 17 and YYMMDD digits into the lot string. Following GS1 Section 7.8.6.3 by placing fixed-length fields such as (01) and (17) first and placing a single variable-length field such as (10) last avoids the mid-string separator completely.
When should shipping cases or pallets carry GS1-128 instead of ITF-14?
Shipping cases and pallets should carry GS1-128 whenever the label encodes an SSCC logistic-unit identifier or product attributes such as batch, expiration date, serial number, or count alongside the GTIN, whereas ITF-14 fits outer cases outside retail POS that carry only a fixed 14-digit GTIN and benefit from direct printing on corrugated board.
| Selection factor | ITF-14 | GS1-128 |
|---|---|---|
| Encodable payload | Fixed 14-digit numeric GTIN only (digits 0 through 9) | Up to 48 alphanumeric characters across GS1 Application Identifiers (GTIN, SSCC, lot, dates, serial, count) |
| Logistic unit identification | Cannot carry AI (00) SSCC | Carries mandatory AI (00) 18-digit SSCC for pallets and shipping containers |
| Symbology structure | Continuous two-width paired 5-element characters (two wide, three narrow) | Four-width Code 128 characters (1 to 4 modules per bar or space, 11 modules per character) |
| Direct corrugated vs label quality floor | Permits direct printing on corrugate at minimum grade 0.5/20/660 (plate print X at or above 0.635 mm / 0.0250 in) | Requires minimum ISO/IEC 15416 grade 1.5/10/660 on shipping labels such as A6 (105 x 148 mm) or 4 x 6 inches |
| Typical packaging level outside retail POS | Outer shipping cartons needing only trade-item GTIN identification | Master cartons, variable-attribute shipping cases, and SSCC-tracked pallets |
Because ITF-14 uses only two element widths and protective bearer bars, GS1 General Specifications Table 2 allows direct corrugated printing at a 0.5/20/660 quality specification when the X-dimension is at least 0.635 mm (0.0250 in) for plate printing; see our ITF-14 barcode guide for paired encoding and bearer-bar rules. GS1-128 relies on four distinct bar and space widths and a stricter 1.5/10/660 print-quality floor on A6 (105 x 148 mm) or 4 x 6 inch shipping labels; for applicator stroke, peel-bar mechanics, and pallet swing-arm selection, refer to our print and apply labeler guide.
What X-dimension, symbol width, and quiet-zone limits keep GS1-128 scannable on labels?
For general distribution cases and SSCC pallets, GS1-128 requires a minimum X-dimension of 0.495 mm (0.0195 in), a minimum bar height of 31.75 mm (1.250 in), compulsory 10X quiet zones on both left and right ends, an overall width ceiling of 165.10 mm (6.500 in), and a minimum ISO/IEC 15416 print grade of 1.5/10/660.
| Parameter | GS1 General Specifications requirement | Scope and space-constrained exception |
|---|---|---|
| X-dimension on general distribution cases | 0.495 to 1.016 mm (0.0195 to 0.0400 in); target 0.495 mm | GS1 Table 2 trade items; absolute floor 0.250 mm (0.0098 in) only if the item is physically too small |
| X-dimension on SSCC logistic units | 0.495 to 0.940 mm (0.0195 to 0.0370 in); target 0.495 mm | GS1 Table 5 pallets and shipping containers; 0.940 mm cap imposed by the 165.10 mm (6.500 in) max SSCC length |
| Minimum bar height (bars only, excluding HRI) | 31.75 mm (1.250 in) | Space-constrained floor is the greater of 15 percent of symbol width including Quiet Zones or 12.70 mm (0.500 in), never below 5.08 mm (0.200 in) |
| Left and right Quiet Zones | 10X left and 10X right | Compulsory clear margins on both ends, counted inside the (11N + 66)X total width equation |
| Maximum payload and physical symbol length | 48 encoded data characters; 165.10 mm (6.500 in) max width | Width includes Quiet Zones; 48 characters count AIs and separator FNC1 while excluding start, leading FNC1, check, and stop characters |
| Minimum ISO/IEC 15416 print quality | 1.5/10/660 | Baseline verification target for both Table 2 general distribution cases and Table 5 logistic units |
Symbol length calculation and Code Set C compression
GS1 General Specifications Section 5.4.7.2 defines the exact physical length of any GS1-128 barcode including both compulsory 10-module Quiet Zones as (11N + 66)X, where N is the count of symbol characters (including embedded code-set and shift characters) and X is the module width. Non-data symbol overhead accounts for 46 modules: 11 for the start character, 11 for leading FNC1, 11 for the Modulo 103 symbol check character, and 13 for the stop character, plus 10 modules on each side for left and right Quiet Zones.
Under Section 5.4.1 and Section 5.4.7.6, data density is 11 modules per character in Code Sets A and B, but drops to 5.5 modules per digit in Code Set C because Code Set C encodes each digit pair as one symbol character whenever four or more consecutive digits appear. That numeric compression is why GS1 Section 5.4.7.6 recommends starting in Code Set C plus FNC1 and why the 165.10 mm (6.500 in) length limit caps an 18-digit SSCC symbol’s X-dimension at 0.940 mm (0.0370 in). Note that the 48-character maximum in Section 5.4.4.3 counts Application Identifiers and mid-string separator FNC1 characters, while excluding start, leading FNC1, Modulo 103 check, and stop characters.
GS1 Logistic Label zones and physical placement
GS1 General Specifications Section 6.6.3 divides a GS1 Logistic Label into three building blocks: a top free-format block with non-HRI text at least 3 mm (0.118 in) high, a middle block displaying non-HRI data-title text at least 7 mm (0.275 in) high, and a mandatory bottom block containing the barcodes and HRI. Most shipping operations fit standard A6 (105 x 148 mm) or 4 x 6 inch labels for SSCC and compact attributes, stepping up to A5 (148 x 210 mm) or 6 x 8 inch labels when additional customer or carrier blocks are required. Under Section 6.6.4.1.1, all GS1-128 symbols must run in picket-fence orientation (vertical bars perpendicular to the pallet base), and the GS1-128 barcode encoding the SSCC must always occupy the lowest portion of the label.
Physical placement rules in Section 6.7 protect the bars from corner crush and conveyor rail scuffing. On pallets, all GS1 barcodes sit between 400 mm (16 in) and 800 mm (32 in) above the pallet base—or as high as possible on pallets shorter than 400 mm (16 in)—with Quiet Zones at least 50 mm (2.0 in) inward from any vertical edge. GS1 Section 6.7.2 recommends applying two identical logistic labels to adjacent pallet sides, ideally one short side and the adjacent right-hand side. On outer cartons and cases, target placement places the bottom of the bars 32 mm (1.25 in) above the natural base and keeps Quiet Zones at least 19 mm (0.75 in) clear of any vertical edge. After finalizing template geometry, confirm printed contrast, decodability, and reject confirmation on finished packages using our code inspection field guide and packaging barcode verification guide.
GS1-128 multi-field concatenation and FNC1 verification checklist
Run this pre-release audit on every GS1-128 case or pallet label template before deploying it to the packaging line:
- Confirm the double-character start pattern: Verify the label generator emits Start (A, B, or C) immediately followed by FNC1 so a test scanner with symbology identifiers enabled outputs ]C1 rather than plain Code 128.
- Strip parentheses and spaces from the bar stream: Confirm that parentheses around AIs appear solely in the human-readable line (at least 2 mm / 0.08 in tall) and that neither parentheses nor spaces enter the encoded barcode data.
- Order predefined-length AIs ahead of variable-length AIs: Place Figure 7.8.5-2 predefined-length fields such as (01) GTIN and (17) expiration date before variable-length fields such as (10) batch/lot or (21) serial number so a trailing variable field needs no separator.
- Verify FNC1 separation when multiple variable AIs share one symbol: Whenever any non-predefined-length AI (such as 10, 21, or 37) precedes another AI, confirm an FNC1 separator sits between them and transmits to the host parser as ASCII 29 (hexadecimal 1D).
- Audit date and SSCC compliance rules: Confirm YYMMDD dates use a valid calendar day rather than two zeroes on regulated healthcare items effective 1 January 2025. Keep AI (00) SSCC at 18 numeric digits without reusing an SSCC within one year, and pair AI (02) with mandatory AI (37) count.
- Check character count, width formula, and quiet zones: Keep encoded data within 48 characters, compute total width as (11N + 66)X including 10X left and right Quiet Zones, and confirm total width stays at or below 165.10 mm (6.500 in).
- Lock X-dimension, bar height, and ISO/IEC 15416 grade: Hold X-dimension between 0.495 mm (0.0195 in) and 1.016 mm (0.0400 in) for cases—or 0.940 mm (0.0370 in) maximum for SSCC logistic labels—with bar height at least 31.75 mm (1.250 in) and verified print quality of at least 1.5/10/660.
- Verify picket-fence orientation and pallet or case margins: Place the SSCC barcode in the lowest block in picket-fence orientation, holding 400 to 800 mm (16 to 32 in) height and at least 50 mm (2.0 in) edge clearance on two adjacent pallet faces, or 32 mm (1.25 in) target base height and at least 19 mm (0.75 in) edge clearance on outer cases.
Frequently asked questions
Can a GS1-128 barcode be scanned at retail point of sale?
No. GS1-128 symbols are designed for shipping cases, master cartons, warehouse receiving, and pallets rather than retail checkout lanes because traditional point-of-sale laser scanners cannot parse the extended Application Identifier data encoded in GS1-128.
Why are parentheses printed below a GS1-128 barcode but left out of the bars?
Under GS1 General Specifications Section 4.14, parentheses around Application Identifiers such as (01), (17), and (10) are mandatory in human-readable interpretation text so operators can visually separate fields, but parentheses must never be encoded into the barcode bars because literal parenthesis characters break GS1 parser framing.
Does a serialized GTIN replace an SSCC barcode on a shipping pallet?
No. GS1 General Specifications Section 2.2 specifies that the 18-digit SSCC encoded under AI (00) is the only GS1 key permitted to identify a logistic unit worldwide, and combining a GTIN with a serial number cannot replace the SSCC on a pallet or transport container.
How long is the maximum GS1-128 barcode allowed on a shipping label?
GS1 General Specifications Section 5.4.4.3 caps a single GS1-128 barcode at 165.10 mm (6.500 in) total physical width including both compulsory 10X Quiet Zones, and at 48 encoded data characters (counting Application Identifiers and separator FNC1 characters, while excluding start, leading FNC1, Modulo 103 check, and stop characters).
What happens if a label template omits FNC1 after a batch or lot number?
Because AI (10) batch or lot number is variable-length (1 to 20 characters) and does not appear in GS1 Figure 7.8.5-2’s predefined-length list, omitting the FNC1 separator before a following Application Identifier removes the ASCII 29 (hexadecimal 1D) Group Separator delimiter from scanner output, causing receiving software to misread subsequent digits as part of the lot number.
Sources
- 21 CFR 801.40 — Form of a unique device identifier, Electronic Code of Federal Regulations (U.S. FDA requirement for dual easily readable plain-text and AIDC presentation of UDI device and production identifiers).
- 21 CFR 830.20 — Requirements for a unique device identifier, Electronic Code of Federal Regulations (U.S. FDA requirement restricting UDI characters to the invariant character set of ISO/IEC 646).
- 21 CFR 1.1340 — Shipping records for Food Traceability List foods, Electronic Code of Federal Regulations (U.S. FDA FSMA shipping record elements linking shipments to traceability lot code, quantity, and unit of measure).
- Code 128, Wikipedia (ISO/IEC 15417:2007 linear symbology structure, 108 symbol patterns, 11-module parity rule, and GS1-128 container and pallet context).
- GS1 General Specifications Release 24.0 (Sections 2.2, 3.3–3.6, 4.14, 5.3, 5.4, 5.12.3.2 Table 2, 5.12.3.5 Table 5, 6.6, 6.7, and 7.8 covering GS1-128 symbology, FNC1, Application Identifiers, concatenation, SSCC, logistic labels, and placement).
- What is a GS1-128 barcode?, GS1 US (UCC-128 background, 48-character limit, non-POS rule, 14-digit AI 01 GTIN, YYMMDD production date, and 1 to 20 character AI 10 lot length).
- GS1-128 Barcodes, GS1-128.info (derivative Code 128 data language overview, FNC1 flagging character, and 18-digit numeric SSCC-18 expectation after AI 00).



