A secure testing tool for payment system developers and QA professionals. All test numbers are non-functional and strictly for development environments.
A BIN (Bank Identification Number) β now officially called an IIN (Issuer Identification Number) β is the first 6 to 8 digits of a payment card. It identifies the card network and the institution that issued the card. The rest of the number identifies the individual account, and the final digit is a Luhn check digit.
This checker classifies the network from the published IIN ranges. It does not perform a bank lookup: issuer names and countries require a licensed BIN database, which changes constantly. You can still generate structurally valid test numbers from any BIN with the card generator.
| Network | Prefix / range | Length |
|---|---|---|
| Visa | 4 | 13, 16, 19 |
| Mastercard | 51β55, 2221β2720 | 16 |
| American Express | 34, 37 | 15 |
| Discover | 6011, 65, 644β649, 622126β622925 | 16, 19 |
| JCB | 3528β3589 | 16β19 |
| Diners Club | 300β305, 3095, 36, 38β39 | 14β19 |
| UnionPay | 62 | 16β19 |
Note the overlap: 622126β622925 can be Discover or UnionPay depending on the BIN. When ranges overlap by design, only the card database of the network itself can give a definitive answer.
Generate test cards from any BIN
Wildcard patterns & bulk output
Official numbers from gateway docs
Check if a card number is valid
Identify the card network from a BIN
Visa test numbers starting with 4
Mastercard test numbers 51β55 / 2221β2720
American Express 15-digit test numbers
Discover test numbers 6011 / 65
Estimate credit card interest
Plan your monthly payoff
Payment testing guides & tutorials