All barcode types

Shipping and cartons

GS1-128 barcode generator

Type GS1 data, such as a product number with its batch and expiry date, and get a GS1-128 for cartons and pallets.

Make your own

A GS1-128 barcode holding (01)09521234543213(17)271231(10)ABC123

Sample

Choose label paper and print

Type your own value to download it. The SVG prints at the size shown; the PNG is drawn for a 600 dpi printer. Each picture counts as 1 label. Free for up to 100 labels a month. No account needed.

What GS1-128 is

GS1-128 is a Code 128 barcode that carries GS1 data: a product number together with a batch, an expiry date, a weight or a serial number.

It is used on shipping and logistics labels for cartons and pallets, and on healthcare packaging.

What fits

GS1 data, up to 48 characters. Each part is its identifier in brackets and then the value, for example (01)09521234543213(17)271231(10)ABC123. Put the fixed-length parts first.

Size facts

For cartons and pallets, GS1 asks for a narrowest bar of at least 0.495 mm and bars about 32 mm tall. A GS1-128 with three parts is long: at that size the sample is about 142 mm (5.6 in) wide, so it suits a 4 × 6 in shipping label printed along its long side.

Shape
One row of bars.
The sample
About 286 bar-widths wide, blank margins included. Longer values make it wider.
On cartons and pallets
GS1 asks for a narrowest bar of at least 0.495 mm. At 0.495 mm the sample is about 141.6 mm (5.57 in) wide.
For your own use
Smaller is fine for your own scanners. As a rule of thumb, keep the narrowest bar at 0.25 mm or more.
Blank margin
10 bar-widths on the left and on the right. It is already part of what we draw.

Sizes are advice, never a block: you can print smaller, and the size line beside the preview says what to expect. Check that it scans before you print a big batch.

Questions

What are the numbers in brackets?
Each one says what the value after it means. Common ones: (01) product number, 14 digits; (10) batch or lot; (17) expiry date as YYMMDD; (21) serial number; (00) pallet number, 18 digits.
Do I type the brackets?
Yes, so we can tell the parts apart. They are not put in the bars. They are printed in the text underneath, and the separators that scanners need are added for you.
Which one goes on a pallet?
The pallet number, identifier (00). There is a type just for it on the Barcode types page: SSCC-18.
Do I need an account to make GS1-128 labels?
No. Free for up to 100 labels a month, with no account needed. Each label you print, and each SVG or PNG you download, counts as one. What you see on screen never counts.

More in Shipping and cartons

All barcode types
Feedback

Suggestions and feedback

What would make EncodeLabel better, or what isn’t working? It goes straight to the people who run the site.

Only if you’d like a reply.

We use your email only to reply to you. Please don’t include passwords or private details. Privacy Policy

Add EncodeLabel to your Home Screen

One tap to your labels, like an app, with nothing to download from an app store.