Barcode Sensei

Make a GS1-128 barcode

GS1-128 carries a GTIN with its batch, dates and serial number on cases and pallets, for warehouses and distribution.

Make many GS1-128 barcodes at once, from a list or a CSV file.

Each application identifier in brackets, then its value. Spaces in a number, such as a GTIN or a date, don't count.

Or fill in the fields

Looks right.

About GS1-128

For the cases and pallets that go through warehouses and distribution, the barcode is GS1-128. It carries a product's GTIN with its batch, dates and serial number, and on a pallet its SSCC. It's a Code 128 whose data follows GS1's rules, so the systems that read it know what each part means. The GTIN itself comes from GS1.

Each part starts with an application identifier in brackets: (01) for the GTIN, (10) for the batch or lot, (11), (15) and (17) for the production, best before and expiry dates as YYMMDD, and (21) for a serial number. A pallet's label adds (00) for its SSCC, (02) for the GTIN of what it holds and (37) for the count. The brackets are only for people: they aren't in the bars.

We draw it at GS1's size for trade items in general distribution: a narrowest bar of 0.495 mm, bars 31.75 mm tall, and a quiet zone of 10 times the narrowest bar each side. It holds at most 48 characters and is at most 165.1 mm long with its quiet zones, so longer data goes into two GS1-128s, or into a GS1 DataMatrix.

It carries Code 128's own check character, and the GTIN and the SSCC in it carry their own check digits, which we check as you type, naming the right one if it's wrong.

Questions people ask

What do the brackets in a GS1-128 mean?

Each holds an application identifier, which says what the value after it is, such as (01) for a GTIN or (17) for an expiry date. They're printed under the bars for people, and a scanner sends the values without them.

How long can a GS1-128 barcode be?

At most 48 characters of data and 165.1 mm with its quiet zones. Split longer data between two GS1-128s, or use a GS1 DataMatrix.

Why does my GS1-128 say the label needs an SSCC?

A count of items (37) goes with the GTIN of the contents (02), and both need the pallet's SSCC (00) on the same label. It can be in this barcode or in another one beside it.

How do I write a date in a GS1-128?

As six digits, the year, the month and the day: 31 December 2026 is 261231. The identifier before it says which date it is, such as (17) for the expiry date.

Where does the GTIN in a GS1-128 come from?

From GS1, like any product's number. We check its length and its check digit as you type, but only GS1 can give your company the number.