Skip to content

GS1-128 Barcode Generator

Encode GTINs, batches, dates and SSCCs with Application Identifiers.

Type or paste it here, or build it field by field below.

Application Identifiers in brackets followed by their values.

Units
mm
mm
Human-readable text
Rotation

SVG and PDF are vectors: sharp at any size, best for print.

Made in your browser. Nothing is uploaded.

More Barcode Tools

All tools

How to use the GS1-128 generator

Three steps, all in your browser.

  1. 1

    Enter your data

    Type or paste the number or text to encode. Errors are explained.

  2. 2

    Adjust the barcode

    Change the options if you need to. The preview updates as you type.

  3. 3

    Download

    Save the result and print it. Test a printed sample before a big run.

GS1-128 Barcode Generator: what to know

GS1-128 (formerly UCC/EAN-128) is Code 128 with a set of rules for supply-chain data. It starts with the FNC1 character and carries one or more GS1 Application Identifiers: two to four-digit codes in brackets that say what the data after them means, such as (01) for a GTIN, (17) for an expiry date, (10) for a batch and (00) for an SSCC on a pallet.

Type your data in the bracketed form, for example (01)09506000134352(17)261231(10)ABC123. The generator checks each field against the AI's format, including lengths, digits-only fields, dates and GTIN or SSCC check digits, then encodes it with the FNC1 separators scanners need after variable-length fields. The human-readable line under the barcode keeps the brackets.

GS1-128 is used on cases and pallets rather than on retail products at the till. A symbol may hold at most 48 data characters and should be no wider than 165 mm, so a full logistics label often splits its data over two or three barcodes.

Popular uses

  • SSCC pallet and parcel labels for retailers and distribution centres
  • Case labels with GTIN, batch and expiry or best-before date
  • Healthcare and food traceability labels with lot numbers
  • Variable-weight products with a net weight AI

Tips for the best result

  • Put fixed-length AIs such as (01), (17) and (00) before variable-length ones such as (10) and (21).
  • Dates are YYMMDD; a day of 00 means the end of that month.
  • Check your trading partner's label specification for which AIs they require and the minimum bar height.

Read how JustYourBarcode works and our privacy details. Numbers, pictures, CSV files and camera frames are processed in your browser and are never sent to our server. A barcode doesn't register a product number: retail UPC and EAN numbers come from GS1.

Frequently asked questions

Put each AI in brackets followed by its data, for example (01)09506000134352(17)261231(10)ABC123. The brackets are shown under the barcode for people but aren't encoded; the generator adds the FNC1 separators that scanners need after variable-length fields.

Put fixed-length fields such as (01) GTIN and (17) expiry date first and variable-length fields such as (10) batch or (21) serial number last. That saves separator characters and keeps the barcode shorter.

The Serial Shipping Container Code, AI (00): an 18-digit number that identifies one pallet or parcel. It's built from your GS1 Company Prefix, an extension digit and a serial reference, ending with a check digit, and is usually printed in GS1-128 on a logistics label.

No. Barcodes are drawn in your browser, and camera frames, pictures and CSV files are processed on your device. Nothing is stored and nothing is sent to our server, and it's all gone when you close or reload the page.

No. A barcode is a picture of a number. Retail product numbers (GTINs such as UPC and EAN) are licensed from GS1, which links them to your company; making a barcode image here doesn't assign or register a number. Retailers and marketplaces may check numbers against GS1's records.

Yes. Every tool is free with no sign-up and no limits on use, including commercial use of the barcodes you make. Clearly labeled ads keep it that way.

Yes. The tools work in any modern browser on phones, tablets and computers, and the scanner uses your phone's camera.