Skip to content
koducathome

GS1-128 Barcode Generator

Create EAN, UPC, Code 128 and other 1D barcodes.

How to use this tool

Steps for using the Barcode Generator.

  1. Type each field as an Application Identifier in brackets followed by its value — for example (01) GTIN, (17) expiry date, (10) batch.
  2. Each AI's length and format, and the GTIN check digit, are checked when the barcode is drawn; problems are reported with the AI they belong to.
  3. Adjust the bar colour, bar width, height, quiet zone and text under Customize Appearance.
  4. Press Generate Barcode, then Download a PNG, SVG or PDF, Print it, or Copy the data. For many codes at once, upload a CSV under Batch Barcode Generation.

Example

GTIN, expiry date and batch

Typed
(01)09501101530003(17)261231(10)ABC123
Result
Characters look right — the GS1-128 rules are checked when the barcode is drawn.
GTIN 09501101530003 · expiry 2026-12-31 · batch ABC123

Common use cases

  • Pallet labels with an SSCC
  • Cases carrying batch and expiry data for food and healthcare
  • Supply-chain labels that retailers and logistics providers scan

GS1-128 and Application Identifiers

GS1-128 (formerly UCC/EAN-128) is Code 128 with a special FNC1 start that tells scanners the data follows GS1 rules. The data is a chain of Application Identifiers (AIs) — short numbers in brackets that say what each value means.

Common AIs: (01) GTIN of the trade item, (00) SSCC for a logistic unit, (10) batch or lot, (17) expiry date as YYMMDD, (15) best-before date, (21) serial number and (3103) net weight in kilograms with three decimals. Fixed-length AIs are placed first; variable-length ones are separated by FNC1 automatically.

The brackets are only for people — they're printed in the text below the bars but aren't encoded. A GS1-128 symbol holds up to 48 data characters.

Limitations

  • Up to 48 data characters in one symbol.
  • The AI values (GTIN, SSCC) must be numbers allocated to your company by GS1.

Frequently asked questions

What are the numbers in brackets?

Application Identifiers. (01) means GTIN, (17) expiry date, (10) batch and so on. They are printed in brackets for people but encoded without them.

How do I write the expiry date?

Use (17) followed by YYMMDD — for 31 December 2026 that is (17)261231.

What's the difference between GS1-128 and Code 128?

GS1-128 starts with FNC1 and its data must follow GS1 Application Identifier rules. Use the Code 128 Barcode Generator for free text.

Is the data I type uploaded anywhere?

No. Barcodes, including batch CSV files, are created in your browser. Recent barcodes are saved only in this browser.