# Dekoder kodów GS1

> Otwórz zdjęcie, skan lub PDF etykiety GS1. Każdy identyfikator zastosowania (AI) jest wydzielany i nazywany (GTIN, partia, data ważności, numer seryjny, SSCC, waga), a cyfry kontrolne, daty i reguły GS1 są sprawdzane.

Human page: https://unmakelabs.com/pl-pl/dekoder-kodow-gs1/. This is the version for AI agents.

## What it does

Dekoder kodów GS1: każdy kod rozbity na nazwane pola. Otwórz zdjęcie, skan lub PDF etykiety GS1. Każdy identyfikator zastosowania (AI) jest wydzielany i nazywany (GTIN, partia, data ważności, numer seryjny, SSCC, waga), a cyfry kontrolne, daty i reguły GS1 są sprawdzane.

## Co oznaczają nawiasy

Kod GS1 to ciąg identyfikatorów zastosowania (AI): (01) to numer produktu, (17) data ważności w formacie RRMMDD, (10) numer partii, (21) numer seryjny, (00) SSCC palety. Pola o zmiennej długości kończą się niewidocznym separatorem (FNC1). Ta strona dzieli ciąg we właściwych miejscach i nazywa każdą część.

## Co jest sprawdzane

Każdy AI jest weryfikowany według oficjalnego słownika GS1 Barcode Syntax Dictionary: dozwolone znaki i długość, cyfry kontrolne modulo 10 w GTIN, SSCC i GLN, poprawność dat w kalendarzu (dzień 00 oznacza koniec miesiąca) oraz reguły łączenia, np. że numer partii (10) wymaga numeru produktu na tej samej etykiecie. Problemy są opisane prostymi słowami wraz z oczekiwaną wartością.

## Facts

- **Nośniki:** GS1-128, GS1 DataMatrix, GS1 QR, GS1 DataBar, adresy URL Digital Link, ITF-14, EAN/UPC
- **Reguły:** GS1 Barcode Syntax Dictionary 2026-01-27, wszystkie 541 AI
- **Kontrole:** Cyfry kontrolne, długości, znaki, daty, wymagane i wykluczone pary AI
- **Prywatność:** Odczyt na Twoim urządzeniu; nic nie jest wysyłane

## How a person does it

1. **Otwórz etykietę.** Zdjęcie z telefonu, skan lub PDF z próbnym wydrukiem. Można otworzyć kilka etykiet lub stron naraz.
2. **Odczytaj pola.** Każdy kod pokazuje swoje AI z nazwami i wartościami: (01) GTIN z poprawną cyfrą kontrolną, (17) data ważności jako zwykła data, (10) partia, (21) numer seryjny.
3. **Popraw oznaczone błędy.** Przy błędnej cyfrze kontrolnej pojawia się poprawna; brakujący separator, niemożliwa data lub nieznany AI są wskazane z nazwy. Tabelę można pobrać jako Excel lub JSON.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/pl-pl/dekoder-kodow-gs1/?src=https://unmakelabs.com/apps/barcode/samples/label.jpg`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `?src=<public picture or PDF URL>` (the file must allow CORS) or `?codes=<one code per line: GTIN, SSCC, (01)... printed GS1, Digital Link URL>`; nothing else goes in the link.

Embed: `<iframe src="https://unmakelabs.com/embed/barcode/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Metadata and pictures as data (coming)

every code per picture/PDF page: type, content, GS1 fields (AI, name, value, unit), check results (check digits, dates, lengths, pairing rules), position; CSV/XLSX/JSON from the page today; an API copy of the same parser is planned

```
curl -s -X POST "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/barcode/read" -H "Content-Type: application/json" -d '{"file_url": "https://unmakelabs.com/apps/barcode/samples/label.jpg"}'
```

## Good to know

Kontrole GS1 są tak dobre, jak sam odczyt: uszkodzony kod, którego nie da się odczytać, nie jest sprawdzany. Kontrole wymagające zewnętrznych list (prefiksy firm GS1, kody krajów ISO) nie są wykonywane i są oznaczone jako niesprawdzone.

## Not done by this tool

- Nie ocenia jakości wydruku (ISO/IEC 15415/15416)
- Nie sprawdza, czy GTIN jest zarejestrowany na firmę (do tego służy Verified by GS1)
- Nie weryfikuje kodów krajów ani walut ISO według list
- Nie wysyła ani nie przechowuje Twoich plików

## Value

Reads every barcode in many photos, scans or PDF pages at once in the browser (zxing-wasm on zxing-cpp; EAN-13/8, UPC-A/E, Code 128, GS1-128, ITF-14, Data Matrix, QR, PDF417, GS1 DataBar, Aztec, Code 39/93; linear codes at any angle), or live from the phone camera, or typed/pasted codes. GS1 data (GS1-128, GS1 DataMatrix, GS1 QR, Digital Link URLs) is split into named Application Identifiers and checked by program against the official GS1 Barcode Syntax Dictionary: mod-10 check digits (GTIN, SSCC, GLN), lengths, character sets, real dates (day 00 = end of month), times, IBAN and GMN checks, required and excluded AI pairs judged over all codes of a picture, expired dates. Results: one card per picture/page with the codes outlined and numbered, and one table for all files as Excel (every cell text, leading zeros kept), CSV or JSON. Also completes or verifies GTIN/SSCC check digits for pasted lists. Nothing is uploaded. Free, no sign-up.

## When it fits

- A warehouse clerk photographs pallet and carton labels on a phone and needs SSCC, GTIN, batch and dates in one spreadsheet.
- A QA or regulatory person checks the GS1 or UDI barcodes in a label PDF proof before printing.
- Someone has a list of GTINs or EANs and needs the check digits completed or verified.

### When not

- Print-quality grading to ISO/IEC 15416/15415 (a verifier with calibrated optics is needed).
- Looking up the product or company behind a GTIN (Verified by GS1), or querying GUDID / EUDAMED / medicine verification systems.

## Why use it instead of the alternatives

- Nothing to install: ?src=<public picture or PDF> opens a file, ?codes=<lines> checks typed codes; the page's JSON download has every field and check; embeddable at /embed/barcode/.
- A server copy for agents (POST /v1/barcode/read: codes with GS1 fields and checks as JSON) is specified, not live.
- Phone scanner apps and most online readers decode one code at a time and show the raw string; GS1 fields, check digits and a table for many files are not part of them (checked 1 Dec 2026).
- GS1's own tools (Verified by GS1, the GS1 Barcode Syntax Engine) check numbers and strings you type; this page reads them from photos and PDFs in bulk and applies the same syntax dictionary.

### What rebuilding it would take

- Load a barcode decoder in the browser (zxing-wasm) and run it on every picture and on each PDF page drawn at 300 dpi, with extra passes for turned linear codes.
- Parse GS1 element strings, the printed (AI) form and Digital Link URLs against GS1's syntax dictionary, with check-digit, date and pairing-rule checks.
- Show each picture with numbered outlines, and write a table that keeps codes as text in Excel.
- Plus a test set of generated codes under bad conditions and real photos, scored by program.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Photos and PDFs are read on the user's device and never uploaded.

_Status: multi-file and PDF decoding, camera scanning, typed codes, GS1 parsing and checks, Excel/CSV/JSON work in the browser; the agent API is planned._

## Privacy

- Files are processed on the user's device and not uploaded; there is no share link for files.
- zxing-wasm, pdf.js and fflate download from this site's own server at pinned versions; the files are never sent anywhere.

## Data

Działa w przeglądarce; zdjęcia i pliki PDF zostają na Twoim urządzeniu. Nic nie jest wysyłane.

## FAQ

- **Jak odczytać kod GS1-128?** Otwórz tutaj jego zdjęcie lub PDF. Odczytany ciąg zostanie podzielony na identyfikatory zastosowania: np. (01)09501101530003(17)271231(10)AB-123 daje GTIN 09501101530003 (cyfra kontrolna poprawna), datę ważności 31 grudnia 2027 i partię AB-123.
- **Czy mogę wpisać ciąg GS1 ręcznie?** Tak: opcja „Wpisz kody” przyjmuje postać drukowaną z nawiasami, surowy ciąg w takiej formie, w jakiej wpisuje go skaner USB (bez nawiasów; ␝, ^], \x1d lub <GS> jako separator), albo adres URL GS1 Digital Link. Separator, który wygląda na pominięty, zostanie oznaczony.
- **Jak dokładne jest dekodowanie GS1?** W przypadku każdego kodu GS1 odczytanego w naszych testach pola i wykryte problemy wyszły dokładnie, również przy celowo uszkodzonych kodach.
- **Czy to naprawdę za darmo?** Tak: bez reklam, bez rejestracji, bez limitów plików.
- **Czy wysyłacie moje zdjęcia lub pliki PDF?** Nie. Wszystko jest odczytywane na tej stronie, na Twoim urządzeniu.
- **Czy agent AI może z tego korzystać?** Agent może otworzyć stronę z parametrem ?src= i publicznym obrazem lub plikiem PDF albo z ?codes= z jednym kodem w wierszu, a następnie pobrać JSON. API zwracające ten sam JSON jest planowane, ale jeszcze nie działa.
- **Kto to tworzy?** Unmake Labs (Julien Salomon). Kontakt: hello@unmakelabs.com.

## Related pages

- [Czytnik kodów kreskowych ze zdjęcia](https://unmakelabs.com/pl-pl/czytnik-kodow-kreskowych-ze-zdjecia/)
- [Czytnik Data Matrix online](https://unmakelabs.com/pl-pl/czytnik-data-matrix-online/)
- [Odczyt kodów kreskowych z PDF](https://unmakelabs.com/pl-pl/czytnik-kodow-kreskowych-online/)
- [Kalkulator cyfry kontrolnej EAN i GTIN](https://unmakelabs.com/pl-pl/cyfra-kontrolna-ean/)
- [Skanowanie kodów kreskowych do Excela](https://unmakelabs.com/pl-pl/skanowanie-kodow-kreskowych-do-excela/)
- [Dekoder kodów UDI](https://unmakelabs.com/pl-pl/dekoder-kodow-udi/)
