
Barcode Basics
GS1-128 vs Code 128: What's the Difference?
- GS1-128
- Code 128
- FNC1
- Application Identifiers
- SSCC
- logistics labels
Table of Contents
- The Short Answer
- GS1-128 vs Code 128 at a Glance
- What Makes GS1-128 Different
- Reading a GS1-128 Barcode: A Worked Example
- GS1-128 and the SSCC Pallet Label
- When to Use Code 128 vs GS1-128
- How to Create a GS1-128 Barcode
- Common GS1-128 Mistakes
- Frequently Asked Questions
- Final Thoughts
The Short Answer
GS1-128 is Code 128 with additional data rules. The bars, character sets, and check character come from Code 128. GS1-128 adds a special FNC1 start signal and a standardized way to identify fields, so companies across a supply chain interpret the data consistently.
- Code 128 is the symbology. It can carry an internal SKU, bin location, asset number, or another value whose meaning is defined by your own system.
- GS1-128 is a GS1 application standard built on Code 128. It begins with FNC1 and carries fields identified by GS1 Application Identifiers, such as a GTIN, batch, expiry date, or SSCC.
UCC-128, EAN-128, and UCC/EAN-128 are older names for GS1-128. For the underlying symbology, start with What Is Code 128?
GS1-128 vs Code 128 at a Glance
| Feature | Code 128 | GS1-128 |
|---|---|---|
| What it is | A barcode symbology | A GS1 application standard built on Code 128 |
| FNC1 after the start | Not required | Required |
| Data format | Defined by your system | Application Identifiers and GS1-defined fields |
| Meaning of data | Known to your own software | Shared across trading partners |
| GS1 keys | Not required | Commonly required for GTIN, SSCC, and related identifiers |
| Typical use | Internal SKUs, assets, bins, work orders | Cases, pallets, traceability, healthcare, food logistics |
What Makes GS1-128 Different
Three things turn a Code 128 symbol into GS1-128: FNC1 immediately after the start character, GS1 Application Identifiers, and field-length rules.
1. FNC1 after the start character
FNC1 is a Code 128 function character that is encoded in the bars but not printed as ordinary text. In the first data position, it tells the scanner to interpret the following value as GS1 data. Without that leading FNC1, a symbol carrying the same visible digits is plain Code 128.
2. Application Identifiers
An Application Identifier (AI) is a two- to four-digit prefix that states what the next field means. Parentheses help people read the AI in the human-readable line, but the parentheses are not encoded.
| AI | Meaning | Length |
|---|---|---|
| (00) | SSCC for a logistic unit | Fixed, 18 digits |
| (01) | GTIN of the trade item | Fixed, 14 digits |
| (02) | GTIN of items contained in a logistic unit | Fixed, 14 digits |
| (10) | Batch or lot number | Variable, up to 20 characters |
| (17) | Expiry date in YYMMDD form | Fixed, 6 digits |
| (37) | Count of trade items | Variable, up to 8 digits |
| (400) | Customer purchase order number | Variable, up to 30 characters |
3. Fixed- and variable-length fields
Fixed-length fields end after a known number of characters. Variable-length fields need either the end of the symbol or an FNC1 separator to show where the value stops. Put fixed-length fields first and variable-length fields last when the partner specification allows it; this reduces separator mistakes.
Reading a GS1-128 Barcode: A Worked Example
Suppose a case of honey prints this human-readable line:
(01)10614141000415(17)271231(10)LOT42
| AI | Data | Meaning |
|---|---|---|
| (01) | 10614141000415 | GTIN-14 of the case |
| (17) | 271231 | Expiry date: 31 December 2027 |
| (10) | LOT42 | Batch number |
After the start and leading FNC1, the data characters are 01106141410004151727123110LOT42. The parentheses are omitted. Because the fixed-length (01) and (17) fields come before the variable-length (10) field, no separator is needed before the end of the symbol.
If the batch field came first, an encoder would need an FNC1 after LOT42. Otherwise a scanner could merge the following AI into the batch. The GTIN-14 in this example is the same type of identifier explained in the ITF-14 guide; GS1-128 can add batch and date data that ITF-14 cannot carry.
GS1-128 and the SSCC Pallet Label
A common GS1-128 use is the SSCC (Serial Shipping Container Code) on a pallet or shipping-unit label. AI (00) identifies the following 18 digits as an SSCC.
| Part | Example | Purpose |
|---|---|---|
| Extension digit | 0 | Extends serial-reference capacity |
| GS1 company prefix | 0614141 | Licensed organization identifier |
| Serial reference | 000000001 | Unique value for this logistic unit |
| Check digit | 2 | GS1 modulo-10 validation |
The complete human-readable value is (00)006141410000000012. Unlike a GTIN, which identifies a type of trade item, an SSCC identifies one physical logistic unit. It can link the pallet to an electronic shipping notice so the receiver retrieves the contents by scanning one label.
When to Use Code 128 vs GS1-128
Ask one question: does anyone outside your organization need to interpret the fields?
Use plain Code 128 when
- The value is an internal bin, asset, work-order, or SKU identifier.
- Only your own software needs to understand it.
- No trading partner or industry specification requires GS1 data.
Use GS1-128 when
- A retailer, distributor, 3PL, or healthcare partner requests GS1-128 or UCC-128.
- A pallet or shipping unit needs an SSCC.
- The label must carry standard batch, expiry, count, weight, or GTIN fields.
- An advance shipping notice is linked to the SSCC.
Use another symbol when
- A corrugated case needs only a GTIN-14 and the partner permits ITF-14.
- A consumer item is scanned at retail checkout, where UPC-A or EAN-13 is required.
- A carrier supplies its own parcel-label symbology and data format.
How to Create a GS1-128 Barcode
- Obtain the GS1 company prefix and keys required by the trading-partner workflow.
- Read the partner's label specification for required AIs, placement, dimensions, and verification grade.
- Build the data with the correct AI lengths and check digits. Put fixed-length fields first where permitted.
- Use an encoder that explicitly supports GS1-128, inserts FNC1 after the start, and inserts separators after non-final variable fields.
- Print the human-readable line with parentheses around the AIs, without encoding those parentheses.
- Verify the printed label with a GS1-aware scanner and compare every parsed field with the source data.
Current generator note: New Age Apps renders the EAN-128 selection with the same plain Code 128 engine and does not currently provide an AI-aware GS1-128/FNC1 field builder. Do not use that option as proof of GS1-128 compliance. Use a dedicated GS1-128 encoder for partner labels, then verify the encoded control characters and printed result.
For internal values that need ordinary Code 128, use the Barcode Generator or generate a list with the Bulk Barcode Generator.
Common GS1-128 Mistakes
- Printing plain Code 128 with GS1-looking digits: without the leading FNC1, it is not GS1-128.
- Encoding parentheses: they belong only in the human-readable line.
- Missing separators: a non-final variable field must be terminated with FNC1.
- Reusing an SSCC: each logistic unit needs a unique value during its required reuse period.
- Inventing GTINs or SSCCs: use keys licensed through the applicable GS1 organization.
- Using the wrong date format: AI (17) uses YYMMDD.
- Ignoring the partner specification: required AIs, label placement, and dimensions vary by workflow.
Frequently Asked Questions
Is GS1-128 the same as Code 128?
GS1-128 uses Code 128 bars, subsets, and the same mandatory check character. It adds FNC1 immediately after the start character and structures the data with GS1 Application Identifiers. Every GS1-128 is a Code 128 symbol, but not every Code 128 symbol is GS1-128.
Is UCC-128 the same as GS1-128?
Yes. UCC-128, EAN-128, and UCC/EAN-128 are older names for GS1-128. Retailer guides and label software may still use those terms, especially for pallet or carton labels carrying an SSCC.
Can a regular scanner read GS1-128?
A scanner that supports Code 128 can decode the bars, but its configuration and receiving software determine whether the GS1 fields are interpreted. A GS1-aware setup recognizes FNC1, splits the data by Application Identifier, and sends each value to the correct field.
Do I need a GS1 membership for GS1-128?
In most trading-partner workflows, yes. GS1-128 commonly carries GTINs, SSCCs, and other GS1 keys built from a company prefix licensed to your business. Plain Code 128 used only inside your own organization does not require a GS1 identifier.
What does FNC1 mean in a barcode?
FNC1 is a non-printing Code 128 function character. At the beginning, it tells the scanner that the data follows GS1 rules. Within the data, it separates a variable-length value from the Application Identifier that follows.
What are the parentheses in a GS1-128 barcode?
Parentheses such as (01) and (17) make Application Identifiers readable to people. They are not encoded in the bars. A compliant encoder uses the AI digits and inserts FNC1 separators where the GS1 rules require them.
Can GS1-128 hold an expiry date and batch number?
Yes. AI (17) holds a six-digit expiry date in YYMMDD form, and AI (10) holds a variable-length batch or lot value. Put fixed-length fields before variable-length fields when possible so fewer separators are needed.
Is GS1-128 being replaced by 2D barcodes?
GS1 DataMatrix and GS1 QR are growing in several sectors, but GS1-128 remains common on logistic labels, including SSCC pallet and carton labels. Follow each trading partner's current label specification; many supply chains will use both linear and 2D symbols.
Final Thoughts
Code 128 is the barcode symbology; GS1-128 is a shared data language carried inside it. Use plain Code 128 for identifiers that stay inside your organization. Use GS1-128 when a trading partner needs standard fields such as an SSCC, GTIN, batch, or expiry date.
The essential details are a leading FNC1, correct Application Identifiers, separators after non-final variable fields, and properly licensed GS1 keys. For ordinary internal Code 128 labels, use the Barcode Generator.
Enjoyed this post?
Share it with your network