GS1-128 Barcode Generator
Assemble GS1-128 shipping and carton barcodes with visual Application Identifiers, automatic GTIN-14 / SSCC-18 check-digit validation, and instant SVG or PNG export in your browser.
GS1 Application Identifier (AI) Builder
()
()
()
(01)09506000134352(17)271231(10)LOT2027AValid GS1-128 element string (3 AIs verified, including check digits & dates).
Fix validation errors above to render your GS1-128 barcode.
Encodes standard GS1-128 (with FNC1) locally in your browser. Zero uploads, zero credits used.
Common GS1-128 Application Identifiers (AIs)
| AI | Field | Length | Notes |
|---|---|---|---|
| (00) | SSCC-18 | 18 digits (fixed) | Serial Shipping Container Code for pallets and logistics units, includes Mod-10 check digit. |
| (01) | GTIN-14 | 14 digits (fixed) | Global Trade Item Number identifying the trade item or carton, includes Mod-10 check digit. |
| (17) | Expiration Date | 6 digits (YYMMDD) | Use-by or expiry date (day "00" denotes end of month under GS1 rules). |
| (10) | Batch / Lot | 1–20 chars (variable) | Manufacturing batch or lot number; terminated by FNC1 when followed by another AI. |
| (21) | Serial Number | 1–20 chars (variable) | Unique item-level serial number for traceability and recalls. |
Automating warehouse carton labels or ERP integrations? See the Barcode Generation API or API reference.
Frequently asked questions
- What is the difference between Code 128 and GS1-128?
- GS1-128 (formerly UCC/EAN-128) uses the Code 128 character set with a leading FNC1 function code and standardized Application Identifiers (AIs) like (01) GTIN, (17) Expiry, and (10) Batch/Lot so warehouse and retail scanners can parse structured fields automatically.
- How does this generator validate GTIN-14 and SSCC-18 check digits?
- It computes the standard GS1 Modulo-10 check digit (alternating 3 and 1 weights from the rightmost payload digit). If a check digit is missing or wrong, click "Fix check digit" to repair it before downloading.
- Can I generate GS1-128 barcodes programmatically via API?
- Yes. POST /v1/barcode-generate validates GS1 AIs and check digits before billing and generates up to 20 SVG or PNG barcodes per request for 1 credit, with strict zero data retention and 200 free signup credits.
- Is my GTIN, lot, or serial data uploaded to a server?
- No. The GS1-128 symbol is rendered 100% inside your browser with zero uploads and zero credits used.