anyscan.download
Free forever

GS1 Barcode Generator

Build GS1-128 or GS1 Data Matrix from structured GTIN, expiry, batch or lot and serial fields, then locally verify the generated output.

Validate

Check a barcode value or build standards-aware GS1 data.

No lookup required

For EAN, UPC or GTIN, enter the complete value to verify it or omit the final digit to calculate it. Spaces and hyphens are ignored for those standards.

Your validation result appears here.

Processed locally. GS1 fields and generated values stay in this browser.

Build a structured GS1 carrier

The guided builder assembles supported Application Identifiers and required separators before rendering GS1-128 or GS1 Data Matrix. It encodes identifiers supplied by you; it does not issue or register them.

GTIN (01)

Enter a GTIN with locally checked structure.

Traceability fields

Add batch or lot (10), expiry (17) and serial (21) where applicable.

Verify the render

The generated carrier is locally decoded and compared with its structured element string.

Build only the fields the workflow expects

  1. Supply an allocated, checksum-valid GTIN for Application Identifier (01).
  2. Add expiry, batch or lot and serial fields only when they exist in the receiving specification.
  3. Choose GS1-128 or GS1 Data Matrix according to the downstream scanner and data-carrier requirement.
  4. Review the human-readable element string, local decode comparison and physical output before use.
Supported GS1 Application Identifiers
AIMeaningTool rule
(01)GTINRequired; accepts a valid GTIN-8, GTIN-12, GTIN-13 or GTIN-14 and pads it to the 14-digit field.
(17)Expiration dateOptional; stored as YYMMDD, with day 00 available for month precision.
(10)Batch or lotOptional variable-length field of up to 20 supported GS1 data characters.
(21)Serial numberOptional variable-length field of up to 20 supported GS1 data characters.

Worked example: fixed and variable GS1 fields

GTIN: 09506000134352
Expiry: 2027-12-31
Lot: LOT42
Serial: SN0007

The readable representation is (01)09506000134352(17)271231(10)LOT42(21)SN0007. Parentheses identify fields for people; they are not encoded as literal data. The lot is variable-length and followed by another field, so a group separator is needed after LOT42. The builder supplies the carrier-specific FNC1 and separator handling. Use this illustrative data only to try the builder; real production identifiers and fields must come from your authorized records and receiving specification.

Specifications

Carriers
GS1-128 and GS1 Data Matrix.
Supported AIs
(01) GTIN, (10) batch or lot, (17) expiry and (21) serial.
Separators
Variable-length elements receive FNC1 separators when another element follows.

Common questions

Does this assign a GTIN?

No. It validates and encodes the identifiers you provide; allocation is outside the tool.

Can I export the result?

The guided builder supports PNG or SVG output after local verification.

Related tools for checking values and printing output. Barcode Validator · Verification Methodology · Barcode Label Generator