1. Home
  2. Barcode & Generate
  3. GS1 Barcode Parser

GS1 Barcode Parser

Break scanned GS1 data into AIs and see what each one means.

Runs in your browser · No upload
Bracketed text, raw scanner output (with a symbology identifier such as ]C1), Digital Link URLs and plain GTINs can be mixed. Up to 1,000 lines.

Auto-detect reads the GS character, <GS>, {GS}, \x1D, ^], | and ~ as separators.

Line 1 · Bracketed
Line 1
AINameValueMeaningCheck
(01)GTIN095011015300039501101530003 (GTIN-13)✓ OK
(17)USE BY OR EXPIRY DATE2612312026-12-31✓ OK
(10)BATCH/LOTABC123ABC123✓ OK
Line 2 · Raw data · GS1-128
Line 2
AINameValueMeaningCheck
(01)GTIN095011015300039501101530003 (GTIN-13)✓ OK
(10)BATCH/LOTABC123ABC123✓ OK
(17)USE BY OR EXPIRY DATE2612312026-12-31✓ OK
Line 3 · Digital Link
Line 3
AINameValueMeaningCheck
(01)GTIN095011015300039501101530003 (GTIN-13)✓ OK
(10)BATCH/LOTABC/1ABC/1✓ OK
(17)USE BY OR EXPIRY DATE2612312026-12-31✓ OK
Summary table · 3
Summary table
#(01)(17)(10)
109501101530003261231ABC123
209501101530003261231ABC123
309501101530003261231ABC/1
This tool only reads the data; it cannot tell whether a number is actually registered.

How to use

  1. Paste the barcode data into the box, one barcode per line. The format is detected line by line.
  2. If your scanner outputs a different character where FNC1 goes, change the separator. Detect automatically is enough for most cases.
  3. Read the AI-by-AI name, value and meaning in the result table, along with the checks (check digit, date). With two or more lines a summary table appears below and can be saved with Save CSV.

Formats it understands

Format Example Notes
Bracketed (01)09501101530003(17)261231(10)ABC123 Same shape as the human-readable text (HRI)
Raw data ]C101095011015300031726123110ABC123 What the scanner sends. A leading symbology identifier such as ]C1 is stripped
Digital Link https://id.gs1.org/01/09501101530003/10/ABC%2F1?17=261231 AIs in the path and query are read and percent-decoding is applied
GTIN 9501101530003 8, 12, 13 or 14 digits, shown as one (01) row padded to 14 digits

A symbology identifier tells you which barcode the scanner read: ]C1 is GS1-128, ]d2 GS1 DataMatrix, ]Q3 GS1 QR and ]e0 GS1 DataBar. ]E0, ]E4 and ]I1 (EAN-13, EAN-8, ITF-14) carry only GTIN digits with no AIs, so they are read as a GTIN.

Why scanner output looks different from person to person

A GS1 barcode marks the end of a variable-length AI with a special character called FNC1. Scanners are supposed to send it as the ASCII 29 (GS) control character, but it is invisible, so it vanishes in terminals, spreadsheets and text editors, or shows up as <GS>, ^], | or ~. Whether a symbology identifier is added also depends on scanner configuration. That is why one barcode can look like ]C101095011015300031726123110ABC123 or like 010950110153000310ABC123<GS>17261231.

Parsing reads AIs from the front one at a time. An AI with a predefined length ((01) is 14 digits, (17) is 6, and so on) takes exactly that many characters; a variable-length AI such as (10) lot runs to the next separator or the end of the data. If the separator has been lost and another AI follows a variable-length one, there is no way to know where to cut, so the data cannot be decoded reliably. In that case check the scanner’s FNC1 output setting.

Examples of interpretation

AI Value Meaning
(17) 260200 2026-02-28 | a day (DD) of 00 means the last day of the month
(17) 261231 2026-12-31
(3103) 001250 1.250 kg | the last digit 3 means three decimals
(3922) 1250050 12,500.50 | the last digit 2 means two decimals
(01) 09501101530003 9501101530003 (GTIN-13), check digit matches
(422) 410 410 (KR, South Korea) | country of origin code
  • The Check column shows the result of the check digit, date, length and character set (CSET 82) checks. When an unknown AI is met, parsing stops there and a warning is shown.
  • (91)–(99) are company-internal AIs; only the sending company knows what the value means. The tool shows the value as is.
  • Expiry (17) and lot (10) are used to narrow down recalls. The same GTIN with a different lot or expiry date counts as a different batch.

A GS1 prefix is not the country of origin

The first three digits of a GTIN (for example 880) show which GS1 member organization issued the number. 880 is GS1 Korea, but that does not mean a product carrying it was made in Korea. The prefix table in this tool is an abbreviated list of well-known ranges. For where something was made, look at a dedicated AI such as (422) or the packaging.

Related tools: GS1 Barcode Builder, SSCC Calculator, GTIN Check Digit Calculator, Barcode Generator.

Your input is processed only in your browser and never sent to a server.

Can't find the tool you need?

Tell us what you want to do. We build the most requested tools first.