How Our Validators Work

Every result on this site is computed with a public, documented algorithm or looked up in an official public dataset. Same input, same output, every time — here is exactly what runs under the hood.

Deterministic by design

CodeClassify deliberately uses no AI or machine learning to produce results. Identifiers like barcodes, IBANs and VINs are governed by precise mathematical rules written down in public standards; the correct way to check them is to implement those rules, not to ask a language model to guess. A deterministic validator is either right or it has a bug — and a bug, once reported, is fixed for every user at once. If you believe you have found one, see our corrections policy.

Where the checks run

All free tools on this site run entirely in your browser. The codes you type or paste are processed by JavaScript on your device and are never transmitted to our servers, stored, or logged. This is why the tools work offline once the page is loaded, and why we can offer them without accounts or limits. The separate developer API processes requests server-side, as any API must; its handling of data is described in the privacy policy.

The algorithms, tool by tool

ToolAlgorithm / methodDefined by
GTIN / UPC / EAN check digit, SSCC-18, bulk validator, barcode generatorGS1 Mod-10 check digit (weights 3 and 1 from the right)GS1 General Specifications
ISBN-10 ↔ ISBN-13 converterMod-11 weighted checksum (ISBN-10) and GS1 Mod-10 (ISBN-13); conversion recomputes the check digitISO 2108 / ISBN standard
IBAN checkerMOD 97-10 check on the rearranged, transliterated account number, plus per-country length and structure rulesISO 7064 and ISO 13616
Luhn checker (cards & IMEI)Luhn algorithm: double alternate digits, fold two-digit products, sum mod 10Public-domain algorithm (H. P. Luhn, 1960)
ISIN validatorStructure check (country code + 9 alphanumerics) and Luhn over the digit-expanded stringISO 6166
EU VAT number validatorPer-country structure and checksum rules for all EU member statesNational VAT number formats
Container number validatorISO 6346 check digit: letter transliteration, powers-of-two weighting, mod 11ISO 6346
ABA routing number validator3-7-1 weighted checksum plus valid Federal Reserve prefix rangesABA routing number rules
VIN validator & decoderPosition-9 check digit (transliteration table, position weights, mod 11) plus structural decoding of WMI, model year and plant49 CFR § 565.15 (US federal regulation)
NAICS & SIC lookup, SIC ↔ NAICS crosswalk, HS code lookupDirect lookup in official government datasets — no inference or fuzzy guessing beyond text searchSee data sources

If you want the math itself explained step by step with worked examples, read How check digits work: Mod-10 and Mod-97.

What a "valid" result means — and what it doesn't

This is the most important thing to understand about any checksum tool, ours included:

We state these limits on every tool rather than overselling what a checksum can do. Checksum validation is the fast first filter that catches typos and fabricated numbers; registry confirmation, where you need it, belongs to the official registries.

How we test

Each validator is exercised against worked examples published in the official specifications and against known-good real-world codes, including edge cases (check digit 0, the ISBN-10 "X" check character, 97-boundary IBANs). When a user reports a discrepancy, we re-derive the calculation from the standard before changing anything, and record the fix in the changelog.

Related

Data sources & licenses — where every dataset on this site comes from. Editorial & accuracy policy — how content is written, reviewed and corrected. About & contact.