# EAN-controlecijfer berekenen

> Plak één nummer per regel, met of zonder controlecijfer: EAN-8, UPC-A (12), EAN-13, GTIN-14 of SSCC (18). Elk nummer wordt meteen aangevuld of gecontroleerd; of lees de nummers van barcodefoto's.

Human page: https://unmakelabs.com/nl-nl/ean-controlecijfer-berekenen/. This is the version for AI agents.

## What it does

EAN-controlecijfers berekenen en controleren. Plak één nummer per regel, met of zonder controlecijfer: EAN-8, UPC-A (12), EAN-13, GTIN-14 of SSCC (18). Elk nummer wordt meteen aangevuld of gecontroleerd; of lees de nummers van barcodefoto's.

## Zo werkt het controlecijfer

Het laatste cijfer van elke EAN en SSCC wordt uit de andere berekend: van rechts afwisselend maal 3 en maal 1, alles opgeteld; het controlecijfer vult de som aan tot het volgende tiental. Het vangt elke enkele foute cijfer en de meeste omwisselingen.

## Met of zonder controlecijfer

Een nummer van 7, 11 of 17 cijfers geldt als EAN-8, UPC-A of SSCC zonder controlecijfer en wordt aangevuld. Een volledig nummer wordt gecontroleerd; klopt het niet en kan het ook een nummer zonder controlecijfer zijn, dan toont de pagina beide.

## Facts

- **Nummers:** EAN-8, UPC-A, EAN-13, GTIN-14, SSCC-18, GLN
- **Invoer:** Getypte of geplakte lijsten, of barcodefoto's en pdf's
- **Methode:** GS1 modulo 10, door een programma gecontroleerd
- **Resultaat:** Excel, CSV, JSON

## How a person does it

1. **Plak je nummers.** Eén per regel; spaties en streepjes worden genegeerd.
2. **Lees het resultaat.** Elke regel toont het volledige nummer met controlecijfer, of markeert een fout cijfer met het juiste.
3. **Download.** De aangevulde lijst als Excel, CSV of 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/nl-nl/ean-controlecijfer-berekenen/?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

Een juist controlecijfer betekent dat het nummer goed gevormd is, niet dat het is uitgegeven: nummers geeft GS1 Nederland uit.

## Not done by this tool

- Maakt of registreert geen GTIN's
- Zoekt niet op van wie een nummer is
- Maakt geen barcodeafbeeldingen
- Uploadt geen gegevens

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

Werkt in je browser; je foto's en pdf's blijven op je toestel. Er wordt niets geüpload.

## FAQ

- **Hoe bereken ik het EAN-13-controlecijfer?** Typ de eerste 12 cijfers: het controlecijfer en het volledige nummer verschijnen meteen. Voorbeeld: 400638133393 → 1 → 4006381333931.
- **Hoe controleer ik een hele lijst?** Plak de lijst, één nummer per regel, en druk op Codes controleren. Foute worden rood met het juiste eindcijfer; download als Excel.
- **Blijven voorloopnullen in Excel staan?** Ja: de Excel-download bewaart de nummers als tekst, met een statuskolom per regel.
- **Wanneer is het de juiste tool, en wanneer niet?** Geschikt voor: Goederenontvangst: etiketten van pallets en dozen met de telefoon fotograferen en lot, THT en SSCC als tabel krijgen. Kwaliteit: GS1-etiketten in een pdf-drukproef controleren vóór het drukken (controlecijfers, datums, regels). Veel productfoto's in één keer omzetten in een lijst GTIN's voor het ERP. Niet geschikt voor: Een verifier volgens ISO/IEC 15416/15415 vervangen: drukkwaliteit (A–F) meet deze tool niet. Productgegevens bij een GTIN opzoeken (naam, fabrikant): gebruik Verified by GS1.
- **Is het echt gratis?** Ja: geen advertenties, geen account, geen limiet op bestanden.
- **Uploaden jullie mijn foto's of pdf's?** Nee. Alles wordt in deze pagina op je toestel gelezen.
- **Kan een AI-agent het gebruiken?** Een agent kan de pagina openen met ?src= en een openbare afbeelding of pdf, of met ?codes= (één code per regel), en de JSON downloaden. Een API met dezelfde JSON is gepland, nog niet live.
- **Wie maakt dit?** Unmake Labs (Julien Salomon). Contact: hello@unmakelabs.com.

## Related pages

- [GS1-barcode controleren](https://unmakelabs.com/nl-nl/gs1-barcode-controleren/)
- [Data Matrix lezen](https://unmakelabs.com/nl-nl/datamatrix-lezen/)
- [Barcode lezen online](https://unmakelabs.com/nl-nl/barcode-lezen-online/)
