GS1-128 Parser

Decode paren or FNC1 GS1-128 input with per-AI breakdown cards.

Results appear here…

You might also need

GS1-128 Parser

Logistics labels often encode more than a GTIN — batch/lot (AI 10), expiration date (AI 17), serial number (AI 21), and count (AI 30) packed into one GS1-128 symbol. When your WMS exports raw element strings like `(01)09506000134352(17)251231(10)LOT42`, you need a readable breakdown before mapping fields to your database. This parser splits the string into AIs and explains each segment.

Read full guide

Understanding GS1-128 element strings

GS1-128 uses Application Identifiers — two- to four-digit prefixes that declare what follows. AI `(01)` is GTIN, `(17)` is expiration date YYMMDD, `(10)` is batch/lot (variable length), `(21)` is serial (variable length). Human-readable strings use parentheses; scanner output may use ASCII FNC1 (Group Separator) instead.

The parser walks the string, reads each AI definition, extracts fixed- or variable-length data per GS1 rules, and labels fields in plain language — so you can verify a label matches your shipment documentation without reading the full GS1 General Specifications.

Examples

Paren-format logistics string

GS1-128 element string

(01)09506000134352(17)251231(10)BATCH-A

Parsed fields

01 → GTIN: 09506000134352
17 → Expiry: 2025-12-31
10 → Batch: BATCH-A

Common Application Identifiers

AI Meaning
(01) GTIN — trade item identification
(10) Batch or lot number (variable length)
(17) Expiration date (YYMMDD)
(21) Serial number (variable length)
(30) Variable count of items
(310n) Net weight in kilograms (n decimal places)

About GS1-128 Parser

GS1-128 Parser decodes GS1 Application Identifier element strings from logistics barcodes — parenthesis format `(01)...` or FNC1-separated scanner output.

See each AI, official field name, and extracted value. Supports single strings and bulk paste for label verification, EDI debugging, and WMS integration testing.

How to use GS1-128 Parser

  1. Paste a GS1-128 string in human-readable `(AI)value` form or raw FNC1-separated form.
  2. Click Parse to split into Application Identifiers.
  3. Review GTIN, dates, batch, serial, and quantity fields in the breakdown table.
  4. Copy individual values into your WMS, ERP, or test assertions.

Related tools on CodeDevForge

Frequently asked questions

What input formats are supported?
Parenthesis notation `(01)1234...` and strings with FNC1 group separators as produced by many barcode scanners.
Does this scan barcodes from a camera?
No. Paste the decoded text output from your scanner or back-office system. Use a phone scanner app first if you only have a physical label.
Which AIs are supported?
Common logistics AIs including 01, 10, 17, 21, 30, and weight AIs. Obscure AIs may show as raw codes with extracted values.
Can I parse multiple labels at once?
Yes. Paste one element string per line for bulk decoding.
Is data uploaded to CodeDevForge?
No. Parsing runs entirely in your browser.