GS1-128 Logistics Barcode Generator
GS1-128 (formerly UCC/EAN-128) is the workhorse of pallet labels, outer cartons, healthcare logistics, and food traceability. Underneath the hood it uses the Code 128 character set, but adds two things a plain SKU barcode lacks: a leading FNC1 control character that tells warehouse scanners "this symbol follows the GS1 grammar," and standardized Application Identifiers (AI) in brackets that split a single barcode into structured fields.
Common GS1-128 Application Identifiers
| (00) SSCC-18 | 18 digits — Serial Shipping Container Code uniquely identifying a pallet or logistics unit |
| (01) GTIN-14 | 14 digits — Global Trade Item Number identifying the product or case |
| (10) Batch / Lot | Up to 20 alphanumeric characters — production batch for surgical recalls (variable length) |
| (17) Expiry Date | 6 digits (YYMMDD) — product expiration date; use 00 for day if month-only |
| (21) Serial Number | Up to 20 alphanumeric characters — unique unit identifier (variable length) |
| (37) Count | Up to 8 digits — quantity of consumer trade items contained in the logistics carton |
Technical specification
| Symbology | Code 128 with leading FNC1 start sequence |
| Maximum length | Up to 48 data characters per symbol (excluding FNC1 and brackets) |
| Variable-length AIs | Fields like (10) and (21) terminate with FNC1 when followed by another AI — our encoder handles this automatically |
| Minimum X-dimension | 0.495 mm (19.5 mil) for GS1 Logistics Labels; 0.25 mm for small trade items |
| Quiet zone | 10× X-dimension on both left and right sides |
Printing notes
On a GS1 logistics label, the barcode carries at least 32 mm of bar height so forklift and portal scanners capture it reliably from a distance. Export as vector SVG, print-ready PDF, or native Zebra ZPL (^BC with >;>8 FNC1 prefix) at 203 or 300 DPI.
Frequently asked questions
Are the parentheses printed in the bars?
No — the parentheses around AIs like (01) and (17) appear only in the human-readable text below the bars. The encoded bars store only the AI digits and field values separated by FNC1 where needed.
Can I put multiple AIs in one barcode?
Yes, up to 48 data characters total. A very common warehouse combination is (01) GTIN-14 + (17) Expiry + (10) Batch. Placing fixed-length AIs first keeps the barcode as narrow as possible.
How do I calculate the 14th digit of GTIN-14 or 18th digit of SSCC?
Both use GS1 modulo-10 arithmetic. Use our Check Digit Calculator or type 13/17 digits directly in the GS1-128 AI Builder above — the check digit is appended automatically.
Setting up thermal shipping labels? Read the thermal printing guide and the ITF-14 outer carton guide.