GS1-128 Barcode Generator

Type each number in brackets, then its value. Print a label for pallets and cartons.

Best For
Pallets with batch and date
You Type
Parts such as (01) and (10)
Usual Size
1.44 x 3 in

The Generator

Type Your Text

Numbers in brackets say what each part is.

Print or Download

GS1-128 barcode reading (01)09521234500001(01)09521234500001
When Scanned, This Types
0109521234500001
Label Size
1.44 x 3 in (36.6 x 76.2 mm)

30 Labels, as Avery 5160

Type your text first.

Size and Details

What a GS1-128 Holds

A GS1-128 holds one or more fields. Each begins with an application identifier that says what comes next. (01) is a GTIN, (10) a batch, (17) an expiry date.

The brackets are printed for people to read. They are not in the bars.

A marker called FNC1 follows the start character. The same marker ends a field of variable length when another field comes after it.

It holds at most 48 characters, counting identifiers and separators. It is at most 165.10 mm long with its quiet zones.

Sizes That Scan

SizeBar WidthBar HeightWhole Label
Smallest0.495 mm31.75 mm1.44 x 3 in (36.6 x 76.2 mm)
Largest0.940 mm31.75 mm1.49 x 5.7 in (37.8 x 144.8 mm)
  • (01)09521234500001 with its quiet zones, the blank ends, and its text line.
  • At most 48 characters, counting the numbers in brackets and the marks between parts.
  • At most 165.10 mm long, with its blank ends.
  • A hidden mark called FNC1 follows the start and ends parts whose length can change.
  • Up to a limit: 10 and 21 take 20 characters, 30 and 37 take 8 digits, 400 takes 30 characters.
  • Fixed lengths: 00 takes 18 digits, 01 and 02 take 14, 410 and 414 take 13.

The Last Digit

This check digit follows your code.

GS1-128 barcode reading (01)09521234500001Start CFNC10109521234500001CheckStop(01)09521234500001
The Bars, Enlarged

GS1-128 (01)09521234500001

How This Sum Works

Check digit sum for (01)09521234500001
CharacterValueWeightProduct
Start C1051105
FNC11021102
01122
099327
52524208
1212560
34346204
50507350
00080
01199

The products add up to 1067. Divided by 103, that leaves 37, which stands for 37

Common Mistakes

Putting a Batch Before a Date
Place fixed-length fields first and the variable one last, which saves a separator.
Writing a Date as Day First
Dates are year, month, day, two digits each.
Typing a GTIN Without Its Check Digit
(01) takes 14 digits, the last of them a check digit.

Frequently Asked Questions

Which Identifiers Can I Use Here?

00, 01, 02, 10, 11 to 17, 21, 30, 37, 3100 to 3105, 400, 410, 414 and 420, each checked against its published format.

Was GS1-128 Called UCC/EAN-128?

Yes. GS1-128 is the current name.

Why Is My Barcode So Long?

Its thinnest bar may not go under 0.495 mm. Use fewer fields, or split them between two barcodes.

Does a GS1-128 Need a GS1 Prefix?

The GTIN inside it does. The number must come from a prefix licensed to your business.