Free GS1 decoder · no sign-up

Decode GS1 barcodes into named fields.

Open a photo, scan or PDF of a GS1 label. Each Application Identifier is split out and named (GTIN, batch, expiry, serial, SSCC, weight), and check digits, dates and GS1 rules are verified.

GS1 barcode decoder

About these barcodes

What the brackets mean

A GS1 code is a string of Application Identifiers (AIs): (01) is the product number, (17) the expiry date as YYMMDD, (10) the batch or lot, (21) the serial number, (00) the SSCC of a pallet. Variable-length fields end with an invisible separator (FNC1). This page cuts the string at the right places and names each part.

What is checked

Every AI is checked against GS1's own Barcode Syntax Dictionary: allowed characters and length, mod-10 check digits of GTIN, SSCC and GLN, real calendar dates (day 00 means end of month), and pairing rules, for example that a batch (10) needs a product number on the same label. Problems are listed in plain words with the expected value.

In short

Carriers
GS1-128, GS1 DataMatrix, GS1 QR, GS1 DataBar, Digital Link URLs, ITF-14, EAN/UPC
Rules
GS1 Barcode Syntax Dictionary 2026-01-27, all 541 AIs
Checks
Check digits, lengths, characters, dates, required and excluded AI pairs
Privacy
Read on your device; nothing uploaded

How to do it

  1. Open the label

    A phone photo, a scan or the PDF proof. Several labels or pages at once work.

  2. Read the fields

    Each code shows its AIs with names and values: (01) GTIN with check digit OK, (17) expiry as a real date, (10) batch, (21) serial.

  3. Fix what's flagged

    A wrong check digit shows the correct one; a missing separator, an impossible date or an unknown AI is named. Download the table as Excel or JSON.

Good to know

The GS1 checks are only as good as the decode: a damaged code that can't be read gets no checks. Checks that need outside lists (GS1 company prefixes, ISO country codes) are not run and are listed as not checked.

What this tool doesn't do

  • Doesn't grade print quality (ISO/IEC 15415/15416)
  • Doesn't check that a GTIN is registered to a company (use Verified by GS1)
  • Doesn't validate ISO country or currency codes against the lists
  • Doesn't upload or keep your files

What happens to your files

Runs in your browser; your photos and PDFs stay on your device. Nothing is uploaded.

Runs in your browser; your photos and PDFs stay on your device. Nothing is uploaded.

  • Read on your device

    The codes are found and decoded by a program inside this page. Your photos and PDFs never leave your phone or computer.

  • Nothing kept

    Close the tab and it's gone. We never get a copy, so there's nothing to delete.

  • Checked, not guessed

    Check digits, dates and GS1 rules are checked by program against the official GS1 table, and every result says what was checked.

The details: Barcode reader from image

Questions

How do I decode a GS1-128 barcode?

Open a photo or PDF of it here. The decoded string is split into Application Identifiers: for example (01)09501101530003(17)271231(10)AB-123 becomes GTIN 09501101530003 (check digit OK), expiry 31 Dec 2027 and batch AB-123.

Can I type a GS1 string instead?

Yes: Type codes accepts the printed form with brackets, the raw string as a USB scanner types it (no brackets; ␝, ^], \x1d or <GS> as separator), or a GS1 Digital Link URL. A separator that looks dropped is flagged.

How accurate is the GS1 parsing?

On every GS1 code read in our tests, the fields and the flagged problems came out exactly, including deliberately broken codes.