Business tools · barcodes · nothing uploaded

GS1-128 barcode generator

GS1-128 carries a GTIN with extra data such as batch number, dates and weights, each tagged with an application identifier in brackets.

This tool draws barcodes for numbers you already own; it cannot issue them. To sell through retailers and most marketplaces, EAN, UPC, ITF-14 and GS1-128 numbers must come from a GS1 licence (GS1 Australia, GS1 US or your country's GS1 office). For your own stock and shelves, use Code 128 with your own SKUs. See do I need a GS1 barcode?

Application identifiers in brackets, e.g. (01)… (10)… (17)YYMMDD

Text, colour, quiet zone and rotation

Free, no watermark. SVG and PDF are vector and print sharp at any size; the PDF page is exactly the barcode's size.

Many barcodes at once: a ZIP of PNG or SVG files
Or load a CSV: the first column is used. Free up to 20; lifetime licence up to 5,000.

Files are named after each value and use the size, colours and options above. Invalid values are skipped and listed in errors.txt.

Print-ready sheets and bigger batches: A$4.99 for 30 days or A$19 lifetime

Free, always

Every symbology, every single-barcode download (SVG, PNG, PDF) with no watermark, ZIPs of up to 20 barcodes, and the label-sheet preview and calibration page.

Lifetime, for small businesses

A$19

Everything in print-ready sheets, for good, plus ZIPs of up to 5,000 barcodes.

Buy lifetime

Charged in your local currency at checkout. Prices include GST for Australian buyers.

What GS1-128 does

GS1-128 encodes structured data for the supply chain: not just which product, but which batch, when it expires, how much it weighs, and which pallet it is on. Each item of data starts with an application identifier (AI). Distributors and retailers, especially in fresh food and healthcare, require GS1-128 on cartons and pallet labels so goods can be traced and rotated.

Common application identifiers

AIMeaningFormat
(00)SSCC: serial shipping container code18 digits
(01)GTIN of the trade item14 digits
(02)GTIN of items contained in a logistic unit14 digits
(10)Batch or lot numberUp to 20 characters
(11)Production dateYYMMDD
(15)Best before dateYYMMDD
(17)Use-by or expiry dateYYMMDD
(21)Serial numberUp to 20 characters
(37)Count of trade items in a logistic unitUp to 8 digits

The tool checks the structure of what you enter, the check digits of GTINs in (01) and (02) and of SSCCs in (00), and that dates are six digits. It does not check every AI's rules; your distributor's label specification is the authority.

Order and size

Put fixed-length AIs such as (01) and (17) before variable-length ones such as (10) and (21), so fewer separator characters are needed and the barcode is shorter. GS1-128 on cartons is printed with larger modules than retail barcodes; the default here is 90 mm wide with 32 mm bars. The maximum length is 48 data characters.

Printing tips

Why barcodes fail to scan

Which download to use

To make many at once, use the ZIP option below the generator: paste one value per line or load a CSV and download PNG or SVG files named after each value.

How this tool works

Barcodes are drawn in your browser with bwip-js, an open-source (MIT) port of Barcode Writer in Pure PostScript, and PDFs are written with pdf-lib. Nothing you type is uploaded, and the page works offline after the first visit. Single barcodes are free in every format with no watermark. Paid licences cover print-ready label sheets and large batches; see the box above.

Frequently asked questions

What is an application identifier?

A 2 to 4 digit prefix that says what the following data is: (01) GTIN, (10) batch or lot, (17) use-by date, (21) serial number, (00) SSCC, (3103) net weight in kilograms with three decimals.

Do I type the brackets?

Yes, for this tool. The brackets are not encoded; they show where each AI starts. The human-readable line shows them as on the printed label.

How long can a GS1-128 be?

Up to 48 data characters, and a physical width of 165 mm at most, per GS1 rules.

Is GS1-128 the same as Code 128?

It uses Code 128 bars with a special start character (FNC1) that marks the data as GS1. A plain Code 128 scanner reads it, but the receiving system expects the GS1 structure.

What format are dates?

YYMMDD. A use-by date of 31 December 2027 is (17)271231.

What is an SSCC?

The Serial Shipping Container Code: an 18-digit number with a check digit that identifies one pallet or shipment, encoded with AI (00).

Sources

Rules on this page last verified against these sources on 29 October 2026. This is general information, not tax or legal advice.

Related