# Decoder di codici GS1

> Apri una foto, una scansione o un PDF di un'etichetta GS1. Ogni Application Identifier viene separato e chiamato per nome (GTIN, lotto, scadenza, numero di serie, SSCC, peso) e vengono verificate cifre di controllo, date e regole GS1.

Human page: https://unmakelabs.com/it-it/decodificare-codice-gs1/. This is the version for AI agents.

## What it does

Decodificare un codice GS1, campo per campo. Apri una foto, una scansione o un PDF di un'etichetta GS1. Ogni Application Identifier viene separato e chiamato per nome (GTIN, lotto, scadenza, numero di serie, SSCC, peso) e vengono verificate cifre di controllo, date e regole GS1.

## Cosa significano le parentesi

Un codice GS1 è una sequenza di Application Identifier (AI): (01) è il codice prodotto, (17) la data di scadenza nel formato AAMMGG, (10) il lotto, (21) il numero di serie, (00) l'SSCC di un pallet. I campi a lunghezza variabile terminano con un separatore invisibile (FNC1). Questa pagina divide la stringa nei punti giusti e dà un nome a ogni parte.

## Cosa viene verificato

Ogni AI viene confrontato con il Barcode Syntax Dictionary di GS1: caratteri ammessi e lunghezza, cifre di controllo modulo 10 di GTIN, SSCC e GLN, date realmente esistenti (il giorno 00 indica la fine del mese) e regole di abbinamento, ad esempio che un lotto (10) richiede un codice prodotto sulla stessa etichetta. I problemi vengono elencati in parole semplici, con il valore atteso.

## Facts

- **Simbologie:** GS1-128, GS1 DataMatrix, GS1 QR, GS1 DataBar, URL Digital Link, ITF-14, EAN/UPC
- **Regole:** GS1 Barcode Syntax Dictionary 2026-01-27, tutti i 541 AI
- **Verifiche:** Cifre di controllo, lunghezze, caratteri, date, coppie di AI obbligatorie ed escluse
- **Privacy:** Lettura sul tuo dispositivo; nessun caricamento

## How a person does it

1. **Apri l'etichetta.** Una foto dal telefono, una scansione o la bozza in PDF. Puoi aprire anche più etichette o pagine insieme.
2. **Leggi i campi.** Ogni codice mostra i suoi AI con nomi e valori: (01) GTIN con cifra di controllo corretta, (17) scadenza come data vera e propria, (10) lotto, (21) numero di serie.
3. **Correggi ciò che è segnalato.** Per una cifra di controllo errata viene indicata quella corretta; un separatore mancante, una data impossibile o un AI sconosciuto vengono segnalati per nome. Scarica la tabella in Excel o 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/it-it/decodificare-codice-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

Le verifiche GS1 valgono quanto la decodifica: un codice danneggiato che non si riesce a leggere non viene verificato. Le verifiche che richiedono elenchi esterni (prefissi aziendali GS1, codici paese ISO) non vengono eseguite e risultano come non verificate.

## Not done by this tool

- Non valuta la qualità di stampa (ISO/IEC 15415/15416)
- Non verifica che un GTIN sia registrato a un'azienda (usa Verified by GS1)
- Non convalida i codici paese o valuta ISO rispetto agli elenchi
- Non carica né conserva i tuoi file

## 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

Funziona nel browser: foto e PDF restano sul tuo dispositivo. Non viene caricato nulla.

## FAQ

- **Come si decodifica un codice a barre GS1-128?** Apri qui una sua foto o un PDF. La stringa decodificata viene suddivisa in Application Identifier: ad esempio (01)09501101530003(17)271231(10)AB-123 diventa GTIN 09501101530003 (cifra di controllo corretta), scadenza 31 dicembre 2027 e lotto AB-123.
- **Posso digitare una stringa GS1?** Sì: Digita codici accetta la forma stampata con le parentesi, la stringa grezza così come la digita uno scanner USB (senza parentesi; con ␝, ^], \x1d o <GS> come separatore) oppure un URL GS1 Digital Link. Se un separatore sembra mancare, viene segnalato.
- **Quanto è precisa l'analisi GS1?** Su tutti i codici GS1 letti nei nostri test, i campi e i problemi segnalati sono risultati esatti, compresi i codici volutamente errati.
- **È davvero gratis?** Sì: niente pubblicità, niente registrazione, nessun limite sui file.
- **Caricate le mie foto o i miei PDF?** No. Tutto viene letto dentro questa pagina, sul tuo dispositivo.
- **Può usarlo un agente IA?** Un agente può aprire la pagina con ?src= e un'immagine o un PDF pubblico, oppure con ?codes= e un codice per riga, e scaricare il JSON. Un'API che restituisce lo stesso JSON è prevista, ma non ancora attiva.
- **Chi lo realizza?** Unmake Labs (Julien Salomon). Contatto: hello@unmakelabs.com.

## Related pages

- [Leggere codice a barre da foto](https://unmakelabs.com/it-it/leggere-codice-barre-foto/)
- [Lettore Data Matrix online](https://unmakelabs.com/it-it/lettore-data-matrix-online/)
- [Leggere codici a barre da PDF](https://unmakelabs.com/it-it/leggere-codice-a-barre-pdf/)
- [Calcolo cifra di controllo EAN e GTIN](https://unmakelabs.com/it-it/calcolo-cifra-di-controllo-ean/)
- [Codici a barre in Excel](https://unmakelabs.com/it-it/leggere-codice-barre-da-foto/)
- [Decoder codice UDI](https://unmakelabs.com/it-it/codice-udi-dispositivi-medici/)
