Guides

Plain-language explainers for the codes behind products, books, bank accounts and industries — written against the official standards, with worked examples you can verify in our tools.

Understand the codes

How check digits workMod-10, Mod-11 and Mod-97 explained step by step — the math that catches typos in barcodes, ISBNs and IBANs.
SIC vs NAICSTwo industry classification systems, one frozen in 1987 — which one you need and how they map.
HS vs HTS vs Schedule BCustoms codes untangled: the 6-digit international core and the 10-digit import/export extensions.
Find your NAICS code for SAM.govPicking the right industry code for US government registration, without guesswork.

Avoid the classic mistakes

Excel eats your barcodesLeading zeros vanish and long numbers turn into scientific notation — how to stop both.
Fix "invalid GTIN" on AmazonWhat Amazon actually checks and how to get a listing through.

For developers

Working code to validate these identifiers yourself — every sample is tested, with the check-digit math explained and a worked example you can paste and run.

GTIN check digit in PythonCompute and validate GTIN-8/12/13/14 — with the leading-zero trap handled.
GTIN check digit in Excel & SheetsOne formula to calculate or verify a barcode check digit down a whole column.
GTIN check digit in SQLAudit a product table in place — validate check digits inside a query.
Validate an IBAN in PythonFull MOD-97 with country lengths and letter transliteration.
Validate an IBAN in JavaScriptMOD-97 done right — the chunked-modulo trick that avoids the big-number bug.
Convert ISBN-10 ↔ ISBN-13 in PythonRecompute the check digit both ways, including the 979 caveat.
Luhn algorithm in JavaScriptValidate cards and IMEIs — and why barcodes are not Luhn.
Validate EU VAT format in PythonPer-country structure for all 27 states — plus what only VIES can confirm.
VIN check digit in PythonThe 49 CFR 565.15 algorithm — and why EU VINs legitimately fail it.
Container (ISO 6346) check digit in PythonFor logistics scripts and EDI pipelines.
ABA routing checksum in ExcelAudit a vendor payment file with the 3-7-1 formula.
Validate a whole CSV via the APIA ready-to-run script that checks a column of codes and writes the results back.

Fix a specific error

Hit an actual error message — Amazon 5665 or 8572, Merchant Center "Invalid GTIN", a rejected ISBN on KDP, "IBAN invalid" at the bank? There's a dedicated step-by-step library for those: the error troubleshooting library →

Check a code right now

All 16 validators and converters are free and run in your browser — start from the tools overview, or jump straight to the GTIN check digit calculator and the bulk barcode validator. How results are computed: our methodology.