Barcodian

GS1-128 Parser

Enter a GS1 element string (e.g. (01)09506000134352(17)260101(10)ABC123) and we decode the Application Identifiers with labels and values.

Share

How to use in 3 steps

  1. 1

    Paste the element string

    Enter a GS1 string such as (01)09506000134352(17)260101(10)ABC123.

  2. 2

    See the decode

    Each Application Identifier (AI) is parsed with its label and value.

  3. 3

    Validate and use

    Check the check digit of fields like GTIN and copy the result.

Example input / output

Input

(01)09506000134352(17)260101(10)ABC123

Output

GTIN 09506000134352 · Expiry 2026-01-01 · Lot ABC123

Technical notes

GS1-128 uses the Code 128 symbology to carry multiple pieces of data — GTIN, lot, expiry, serial number — in one barcode. Each field starts with an Application Identifier (AI) defining its meaning; for example (01) GTIN, (17) expiry date, (10) batch/lot, (21) serial number.

Some AIs are fixed length (e.g. (01) is always 14 digits), others are variable length and terminated by a separator (FNC1 / group separator). The tool knows the fixed lengths and splits variable fields at the correct boundary; brackets are for human readability only and do not appear in the real barcode.

The value in the (01) GTIN field is a 14-digit GTIN whose check digit can be validated with GS1 modulo-10; confirm it with the GTIN validator. The (17) expiry date is in YYMMDD format.

This decoding only parses the structure of the string; it does not confirm the fields are real/registered. The same AI structure is used in GS1 DataMatrix. For Code 128 character checks, see the Code 128 validator.

Frequently asked questions

No. Brackets are only used to show AIs to humans; in the real barcode AIs are encoded with FNC1 separators.