GS1 builder

GTIN, batch, expiry,one clean GS1 code.

Fill a short form instead of typing (01), (17) and hidden FNC1 marks by hand. We check every field and build a GS1-128, GS1 DataMatrix or Digital Link QR.

fill the form, get the code.

Pick the kind of code, then type your details. The box under the preview shows exactly what a scanner will read.

GS1 code

 
Open the generator
What goes in

each field has a number.

GS1 calls these numbers Application Identifiers (AIs). They tell the scanner what each part of the data means.

(01) GTIN

Your 14 digit product number. Shorter EAN-13, UPC-A and EAN-8 numbers get zeros in front, which is how GS1 stores them.

(17) Expiry

Six digits as YYMMDD. Type 30-11-2027 and we write 271130. Type only the month, like 11-2027, and the day becomes 00, meaning the end of that month.

(11) Made on

Same YYMMDD form as expiry. We stop you if it comes after the expiry date.

(10) Batch or lot

Up to 20 letters, digits or simple symbols. Its length can change, so a separator must follow it. We add that.

(21) Serial

Up to 20 characters that make each pack unique. We put it last, so no separator is needed after it.

FNC1, done for you

GS1-128 and DataMatrix start with an FNC1 mark, and need one after each field whose length can change. Most tools make you type it. Here it is automatic.

Which one

pick by who scans it.

All three carry the same GS1 data. The difference is the scanner and the space you have.

CodeBest forScannerSize at 0.5 mm
GS1-128Cartons, cases, pallets, warehouseLaser or cameraAbout 100 to 150 mm wide
GS1 DataMatrixMedicine packs, small partsCamera (2D) onlyAbout 9 to 13 mm square
Digital Link QRPacks that shoppers also scanPhone camera or 2D scannerAbout 20 to 30 mm square
Before you print

the GTIN must be your own.

GS1
Use a GTIN from GS1 India

We don’t issue GTINs and don’t check who owns a number. The sample 0950… number is GS1’s demo number and must not go on real packs. Ask your advisor which fields your product needs.

1st
Scan a test print

Print one label at 100% and scan it with the scanner your buyer uses. For GS1-128 on cartons, buyers often ask for 0.5 mm or more and about 32 mm tall bars.

Questions

people also ask.

All answers
What is FNC1 and why does GS1-128 need it?

FNC1 is a hidden mark, not a printed character. At the start it tells the scanner the data is in GS1 fields. After a batch or other field whose length can change, it marks where that field ends. We add both automatically.

Do I need a GS1 India membership for these codes?

The GTIN inside must be one assigned to you, which in India comes from GS1 India. This page only builds the code from numbers you already have. Please check your product’s needs with your advisor.

Which date format goes in the barcode?

GS1 dates are six digits, YYMMDD. You type the date as DD-MM-YYYY and we convert it, so 30-11-2027 becomes 271130. A day of 00 means the last day of the month.

Will a normal barcode scanner read GS1 DataMatrix?

Only if it is a 2D (camera) scanner. Older laser scanners read line barcodes like GS1-128 and EAN-13, but not square codes.

What website should a Digital Link QR use?

Your own domain works best, so the link can open your product page. id.gs1.org is GS1’s own resolver, and it only answers for GTINs registered with GS1.

just need a shop barcode?

For retail shelves, a plain EAN-13 or UPC-A is usually enough.

Open UPC / EAN generator

Guides for this task