Credit Card Validator
Check a card number's format, issuer and Luhn checksum, and the format of the expiry date and CVV.
Jump to toolThe issuer, length and Luhn checks run in your browser. Nothing is charged and no bank is contacted.
What Is a Credit Card Validator?
A credit card validator checks whether a card number is correctly formed: the right length and prefix for its issuer, such as Visa or Mastercard, and a valid Luhn check digit. It catches typing mistakes before a payment form is submitted.
This tool checks the format, issuer pattern and Luhn checksum in your browser, and can also check an expiry date and CVV length. It cannot tell whether a card is real, active or has funds; only the card network can do that.
How to Validate a Card Number
- Enter the card number; test numbers such as 4111 1111 1111 1111 work.
- Optionally add the expiry (MM/YY) and CVV.
- Select Validate credit card.
- Read the card type, the Luhn result and the format checks.
How the Luhn Check Works
Starting from the right, double every second digit, and subtract 9 from any result above 9. Add all the digits together: if the total ends in 0, the number passes. The check catches most single-digit typos and swapped neighbouring digits.
4111 1111 1111 1111 is a well-known test number that passes.
How Issuers Are Recognised
| Issuer | Starts with and length |
|---|---|
| Visa | 4; 13, 16 or 19 digits |
| Mastercard | 51 to 55 or 2221 to 2720; 16 digits |
| American Express | Begins with 34 or 37; 15 digits long |
| Discover | 6011, 644 to 649 or 65; 16 to 19 digits |
What Validation Can't Tell You
A valid result only means the number is well formed. It does not show whether the card exists, is active or has funds; only the card network can confirm that during a payment.
Credit Card Validator FAQ
Protect your accounts too
Generate a strong, unique password for each one.
Related Tools
Tools that often come next after this one