Securely validate credit card numbers with Luhn algorithm and BIN identification.
| Issuer | IIN Ranges | Luhn | Length |
|---|---|---|---|
| Visa | 4 | 13, 16, 19 | |
| MasterCard | 51-55, 2221-2720 | 16 | |
| American Express | 34, 37 | 15 | |
| Discover | 6011, 622, 64, 65 | 16 | |
| Diners Club | 300-305, 36, 38 | 14, 16 | |
| JCB | 3528-3589 | 16 |
The Luhn Algorithm (also known as the "modulus 10" algorithm) is a simple checksum formula used to validate a variety of identification numbers.
Most credit cards use this algorithm as a primary method of distinguishing valid numbers from random sequences of digits.
The first digit of a card is the Major Industry Identifier (MII), which represents the category of the entity which issued the card.
All validation is performed locally in your browser. We never store or transmit your card numbers.
This tool is for educational and testing purposes only. Use generated numbers for development only.