What is GS1-128?
GS1-128 is a Code 128 barcode that starts with a special FNC1 character, which tells the scanner the data follows GS1 rules. Inside, each piece of data begins with an Application Identifier (AI): a 2–4 digit code in brackets saying what follows. That lets one barcode hold a product number, a batch number and a use-by date, and lets the receiving system file each one correctly.
Common Application Identifiers
| AI | Meaning | Format |
|---|---|---|
| (00) | SSCC: serial shipping container code for a pallet or parcel | 18 digits |
| (01) | GTIN of the trade item | 14 digits |
| (02) | GTIN of items inside a logistic unit | 14 digits |
| (10) | Batch or lot number | Up to 20 characters |
| (11) | Production date | YYMMDD |
| (15) | Best before date | YYMMDD |
| (17) | Expiry date | YYMMDD |
| (21) | Serial number | Up to 20 characters |
| (37) | Count of items | Up to 8 digits |
| (3103) | Net weight in kg, 3 decimal places | 6 digits (001250 = 1.250 kg) |
| (400) | Customer's purchase order number | Up to 30 characters |
Use the AI buttons under the input box to add them. Put fixed-length AIs like (01), (17) and (00) first and variable-length ones like (10) and (21) last; that keeps the barcode shortest.
How to make a GS1-128 barcode
- Type each AI in brackets followed by its data, with no spaces:
(01)09521234543213(17)281231(10)LOT42. - We check lengths, dates and check digits. A GTIN or SSCC with a wrong check digit is refused, and we tell you why.
- Keep the bar width at 0.495 mm or more for shipping labels scanned in warehouses, as GS1 specifies. The default here is 0.5 mm, 32 mm tall.
- Download SVG or PDF for your label software, or PNG for documents.
SSCC pallet labels
An SSCC (AI 00) is an 18-digit number that identifies one pallet or parcel through the whole supply chain: an extension digit, your GS1 company prefix, a serial reference and a check digit. Retailers that use advance shipping notices (ASNs) scan the SSCC to match the delivery to the notice. Use our check digit calculator to complete the 18th digit.
