Credit Card Validator (Luhn Check)
Validate numbers via Luhn algorithm (no tracking).
Note: This tool only performs a Luhn check. It does not verify if the card is active or valid with any bank.
Valid card number! This number passes the Luhn check.
Invalid card number! This number fails the Luhn check.
The number you entered does not pass the Luhn algorithm validation.
Card Number Format
Enter only digits (0-9). Spaces and dashes will be automatically removed.
Most credit cards have 16 digits, but some may have 13-19 digits.
Common Card Types
- • Visa: Starts with 4
- • Mastercard: Starts with 51-55 or 2221-2720
- • American Express: Starts with 34 or 37
- • Discover: Starts with 6011, 622126-622925, 644-649, or 65
What is the Luhn Algorithm?
The Luhn algorithm (also known as the "modulus 10" or "mod 10" algorithm) is a simple checksum formula used to validate a variety of identification numbers, such as credit card numbers, IMEI numbers, and more.
It was created by IBM scientist Hans Peter Luhn and described in U.S. Patent No. 2,950,048, filed in 1954 and granted in 1960.
How the Luhn Algorithm Works
- Starting from the rightmost digit and moving left, double the value of every second digit.
- If doubling results in a two-digit number, add those digits together to get a single-digit result.
- Sum all the digits in the modified number.
- If the total modulo 10 is equal to 0, the number is valid according to the Luhn formula.
Privacy & Security
This credit card validator tool:
- Performs all validation directly in your browser
- Does not send your card number to any server
- Does not store or track any information you enter
- Only checks if the number follows the Luhn algorithm pattern
While this tool can verify if a card number is properly formatted, it cannot determine if the card is active, has available credit, or is authorized for use.