Card BIN / Format Reference & Luhn Checker
Look up the IIN/BIN prefix ranges, number lengths and CVV lengths of every major card network, and instantly Luhn-check and pretty-format any card number — client-side, nothing stored.
Card network reference
IIN/BIN prefix ranges, number lengths and CVV lengths for the major card networks.
| Network | IIN / BIN prefixes | Length | CVV | Luhn-valid | Copy |
|---|
About Card BIN / Format Reference & Luhn Checker
This reference covers the numbering formats of the major payment card networks — Visa, Mastercard, American Express, Discover, Diners Club, JCB, UnionPay, Maestro, RuPay, Mir and more. For each network it lists the IIN/BIN prefix ranges, the valid number lengths, the CVV length and whether the network uses the Luhn checksum.
A built-in checker validates any number as you type: it detects the network from the prefix, formats the digits with that network’s real spacing (4-6-5 for American Express, 4-4-4-4 for most others), counts the digits against the expected lengths and runs the Luhn mod-10 checksum. Sample numbers for Visa, Mastercard, Amex and Discover are one click away.
Everything happens locally in your browser — the number is never transmitted or stored — which makes the page a safe aid for developers testing checkout forms, support teams recognizing card types from a prefix, and anyone curious why card numbers are structured the way they are.
How to use Card BIN / Format Reference & Luhn Checker
- Type or paste a card number into the checker — it is formatted live with the detected network’s digit grouping.
- Read the verdict strip for the Luhn checksum result, plus the detected network and the length check with expected digit counts.
- Try one of the sample buttons (Visa, Mastercard, Amex, Discover) to see a passing number instantly.
- Search the reference table to find a network’s BIN prefixes, valid lengths and CVV length, and copy any row.