How to create GS1-128 Barcode: A Complete Guide


Welcome to the GS1-128 Barcode Generator page. Whether you are managing supply chain logistics, healthcare inventory, or retail distribution, generating accurate GS1-128 barcodes is essential for compliance and efficient tracking.

Below, you will find everything you need to know about what a GS1-128 barcode is, how to structure your data, and how to create one for your business.

What is a GS1-128 Barcode?

The GS1-128 (formerly known as UCC/EAN-128) is a high-density linear barcode symbology used extensively in global supply chains. It combines standard Code 128 barcodes with Application Identifiers (AIs) - standardized prefixes that define the meaning and format of the data that follows.

Key Application Identifiers (AIs)

GS1-128 barcodes rely on Application Identifiers in parentheses to tell scanner systems what type of data is being read. Here are some of the most commonly used AIs:
Application Identifier Description & Format
(00) Serial Shipping Container Code (SSCC) — 18 digits
(01) Global Trade Item Number (GTIN) — 14 digits
(10) Batch or Lot Number — Variable length (up to 20 characters)
(15) Best Before Date (YYMMDD) — 6 digits
(17) Expiration Date (YYMMDD) — 6 digits
(310n) Net Weight (kilograms) — 6 digits

The full list of Application Identifiers can be found on GS1 site

How to Create a GS1-128 Barcode

Follow these simple steps to generate a compliant GS1-128 barcode for your products or shipments:

1. Select Your Application Identifiers:

Determine what information needs to be embedded (e.g., GTIN and Expiration Date).

2. Format Your Data:

Combine your AIs and data strings in the correct sequence. Note that some AIs have fixed lengths, while variable-length AIs require a FNC1 (Function 1) character delimiter at the end if they are followed by another data field.

Let our sample string include next AIs:
and the barcode string will look like: (01)09012345670016(10)Ab1234(21)12345678

3. Generate the Barcode:

Input your formatted string into the iBarcoder, which natively supports GS1-128 and automatically inserts the required FNC1 control characters and Start/Stop codes.
Create GS1-128 barcode

4. Test and Verify:

Print a sample barcode, then scan it using a barcode verifier or industrial scanner to ensure readability before mass production.
Create GS1-128 barcode

Best Practices for Printing and Scanning

Need help generating your barcode right now? Use the iBarcoder barcode maker to input your Application Identifiers and instantly create your GS1-128 barcode, or print barcode labels with just created barcode!