GS1 Barcode Parser Online

Parse GS1-128, GS1 DataMatrix or QR data (GTIN, lot, expiry, serial, weight…) and GS1 Digital Link URIs; build element strings and Digital Links.

Free tool: 20 requests per minute.

Result

Press “Run” to see the result.

Send data as the human-readable form (01)09520123456788(17)261231(10)ABC123, as raw scanner output with GS separators (ASCII 29, or <GS>, {GS}, \x1d, a custom separator; a ]C1 / ]d2 / ]Q3 symbology prefix is recognised) or as a GS1 Digital Link URI (https://id.gs1.org/01/09520123456788/10/ABC123?17=261231, any domain and path prefix). Each Application Identifier is looked up in the GS1 General Specifications table (over 700 AI entries incl. the decimal families 310n–369n and 390n–395n): fixed or variable length, digits or GS1 character sets, check digits of GTIN / SSCC / GLN, YYMMDD dates with the GS1 century rule and day 00 = last day of the month, decimals and units (3103 001234 → 1.234 kg), currency AIs.

The response lists every element with its title, value, validity and decoded date / number, a simple values map, GS1 association checks (e.g. (21) needs (01)), the GS1 prefix of a GTIN, and the same data rebuilt as human-readable text, element string (predefined-length AIs first, GS where needed), ]C1 GS1-128 data and a GS1 Digital Link URI (primary key and qualifiers in the path in the standard order, other AIs in the query; domain to use your own resolver). ais builds from a JSON object ({"01": "…", "10": "…", "17": "…"}).

Use it after barcode-read to decode medicine, food and logistics labels, or to make the Digital Link for a traceability QR code (Vietnam TT 02/2024/TT-BKHCN).

Use this in your code

curl "https://apibox.io.vn/v1/gs1-parse?data=(01)09520123456788(17)261200(10)ABC123(3103)001234" \
  -H "Authorization: Bearer YOUR_API_KEY"

API documentation → Get a free API key

FAQ

What does day 00 mean in a date?

In GS1 date AIs such as (17), day 00 means the last day of the month; the API returns the actual date.

Where do the AI definitions come from?

From the GS1 General Specifications and the GS1 Barcode Syntax Dictionary, hand-entered and reviewed every 6 months.

Can it read the barcode image?

No, it parses the text. Read the image with barcode-read first, then send its text here.