Check if a credit card number is valid and identify the card type.
Enter a credit card number and click Validate Card to check if it's valid.
This tool uses the Luhn algorithm (also known as the "modulus 10" algorithm) to validate credit card numbers and identifies the card type based on the number pattern. This is the same algorithm used by banks and credit card companies to check for valid card numbers.
The Luhn algorithm works as follows:
Card Type | Number Pattern | Length | CVV/CVC |
---|---|---|---|
Visa | Starts with 4 | 13, 16, or 19 digits | 3 digits |
Mastercard | Starts with 51-55 or 2221-2720 | 16 digits | 3 digits |
American Express | Starts with 34 or 37 | 15 digits | 4 digits |
Discover | Starts with 6011, 622126-622925, 644-649, or 65 | 16 digits | 3 digits |
JCB | Starts with 3528-3589 | 16-19 digits | 3 digits |
Diners Club | Starts with 300-305, 36, or 38-39 | 14 digits | 3 digits |
This validation is performed entirely in your browser. No card data is transmitted, stored, or processed on our servers. This tool only checks if the card number format is valid according to the Luhn algorithm; it does not verify if the card is active, has sufficient funds, or is authorized for use.