GS1-128 Barcode Generator

Encode GTIN, lot, expiry, serial and weight in one barcode for cartons and pallets. Write each Application Identifier in brackets and we handle the FNC1 separators.

Barcode type

Code 128 with GS1 Application Identifiers in brackets, e.g. (01) GTIN, (10) lot, (17) expiry.

Size & style
Checking…
—

🔒 Made in your browser. Your numbers never leave this page. Print PDFs at Actual size / 100%.

i
We make barcode images, not barcode numbers. Amazon and Walmart check every UPC against the GS1 database, so retail numbers must come from GS1 US (or your country's GS1). For your own SKUs, inventory and asset tags, any number works with Code 128. Do I need GS1? →

How to use it

  1. Write each AI in brackets followed by its data, e.g. (01)09506000134352(17)271231(10)LOT42.
  2. Check the dates: (17) and (15) use YYMMDD.
  3. Download a PDF or print on 4×6 thermal labels.

Common Application Identifiers

AIMeaningFormat
(00)SSCC: serial shipping container code (pallet ID)18 digits
(01)GTIN of the trade item14 digits
(02)GTIN of items contained in a logistic unit14 digits
(10)Batch or lot numberup to 20 characters
(11)Production dateYYMMDD
(15)Best before dateYYMMDD
(17)Expiration dateYYMMDD
(21)Serial numberup to 20 characters
(37)Count of itemsup to 8 digits
(3103)Net weight in kg, 3 decimals6 digits

Why the brackets matter

The brackets are printed in the human-readable line but not encoded. Behind the scenes GS1-128 starts with a special FNC1 character and inserts separators after variable-length fields like lot numbers. Writing the AIs in brackets tells the generator exactly where each field begins and ends, and it checks lengths and digits so you catch mistakes before the label hits the dock.

Tips

  • Put fixed-length AIs like (01) and (17) first and variable ones like (10) and (21) last. The barcode comes out shorter.
  • Big retailers usually ask for the full GS1 logistic label on pallets. GS1-128 is the barcode part of it.
  • For small items or healthcare, the same data fits in a tiny GS1 DataMatrix.
FAQ

GS1-128: common questions

Is GS1-128 the same as UCC-128 or EAN-128?

Yes. Those are older names for the same symbology.

Do I type the brackets?

Yes. Write each AI in brackets, e.g. (01)…(10)…. They appear in the text line but aren't encoded.

What date format does (17) use?

YYMMDD, so 31 December 2027 is 271231.

Make your first barcode in 10 seconds.

Free, no sign-up, and it's ready to print.

Start generating ↑