GS1 Barcode Parser

Decode GS1 barcode text and Digital Link URLs into Application Identifiers such as GTIN, batch or lot number, expiration date, and serial number.

Paste scanner output, parenthesized GS1 text, or a GS1 Digital Link URL.

What a GS1 barcode contains

GS1 barcodes can carry several values in one scan. Each GS1 Application Identifier (AI) tells you what follows. In (01)09521234543213(17)271231(10)LOT-204B(21)00042, AI (01) is the GTIN, (17) is the expiration date in YYMMDD format, (10) is the batch or lot number, and (21) is the serial number. The results keep leading zeros and show each field on its own row.

Paste text from a GS1-128, GS1 DataMatrix, or GS1 QR scanner, or use the parenthesized text printed under the barcode. GS1 Digital Link URLs such as https://id.gs1.org/01/09521234543213/10/LOT-204B?17=271231 can also be parsed directly in your browser. Use Copy fields to keep a readable record of the decoded values.

Check field boundaries and dates

Raw scans use a group separator after a variable-length value, such as a batch number, when another field follows. If your scanner drops the separator, use the parenthesized text or configure the scanner to transmit it. This parser also accepts {GS} as a visible group separator in raw input. Compare AI (15), best before, and AI (17), expiration, with the GS1 Application Identifier reference.

Show more related tools