GS1-128 Barcode Generator

Generate a GS1-128 barcode free for shipping and logistics labels — enter a GTIN-14, plus batch, expiry and serial data, and the tool builds the Application Identifier chain with the FNC1 separators logistics scanners require. Download the finished barcode as a PNG. No signup, and everything is rendered in your browser.

GS1-128 Barcode Generator

Build a GS1-128 logistics barcode from GTIN, batch, expiry and serial — with FNC1 separators handled automatically. Free, private, no signup.

100% private — barcodes are rendered in your browser. No uploads, no tracking, no signup. Use your own GS1-licensed GTIN for real products; test numbers (starting 200-299) are reserved for internal use.

How to generate a GS1-128 barcode

  1. Enter your GTIN — 13 digits and the check digit is calculated, or 14 digits to verify one.
  2. Add batch, expiry and serial data if needed, or paste a full AI string instead.
  3. Click Generate barcode, check the AI string shown, then download the PNG and test-scan it before printing.

This is a guided AI-chain builder — GTIN + batch + expiry + serial fields, with automatic FNC1 and check digit — instead of a generic multi-format generator or paid label software. You can also try our barcode validator, GS1 check digit calculator, and barcode generator.

What Is GS1-128?

GS1-128 (formerly called EAN-128) is Code 128 with GS1 structure: an FNC1 character plus Application Identifiers. It is used on logistics and shipping labels to carry several pieces of data in one symbol, such as the product code, batch and expiry date.

Application Identifiers (AI) Explained

AIs are short prefixes that say what the following data means. Common ones: (01) GTIN, (10) batch or lot number, (17) expiry date in YYMMDD form, (21) serial number, (00) SSCC. FNC1 separates variable-length fields so scanners can split them correctly.

AIMeaningLength / formatExample
(01)GTIN14 digits09506000134352
(10)Batch or lot numberUp to 20 alphanumeric charactersABC123
(17)Expiry date6 digits (YYMMDD)271231
(21)Serial numberUp to 20 alphanumeric charactersSN987654
(00)SSCC18 digits000123456789012345

Worked example: (01)09506000134352(10)ABC123(17)271231(21)SN987654 — a GTIN of 09506000134352, batch ABC123, expiry 31 December 2027 and serial SN987654. The fields above cover (01), (10), (17) and (21) only; for anything else, including (00) SSCC, use the paste-a-string box.

GS1-128 vs Code 128

Code 128 carries plain data. GS1-128 uses the same bars but adds the FNC1 and AI structure, so supply-chain scanners can parse each field instead of reading one long string. A plain Code 128 reader will read the data but will not parse the AIs.

Frequently asked questions

What is GS1-128?

GS1-128 is Code 128 carrying GS1 Application Identifiers — standardised data fields such as (01) GTIN, (10) batch, (17) expiry and (21) serial — used on logistics and shipping labels.

How is GS1-128 different from plain Code 128?

Plain Code 128 encodes any text; GS1-128 adds a leading FNC1 character and the AI structure, so supply-chain scanners can split the data into its labelled fields. This generator inserts the FNC1 separators for you.

Does it calculate the GTIN check digit?

Yes. Enter 13 digits and the 14th check digit is calculated; enter all 14 and the tool uses them as given.

Can I use any number as a GTIN?

A generator can draw any number, but a GTIN that shops and marketplaces accept comes from GS1 through your company prefix. For tests and internal use, GS1 reserves numbers starting 200-299.

Is GS1-128 the same as EAN-128?

Yes. GS1-128 is the current name for the symbology formerly called EAN-128.