Luhn Check Validator
Validate credit card numbers with the Luhn algorithm and detect the network such as Visa, Mastercard or Amex.
How to use
How the Luhn check works
Starting from the right, every second digit is doubled and its digits summed. If the total is divisible by ten the number passes. The tool also guesses the network from the leading digits.
- Type or paste the card number.
- The result and card type update as you type.
- Copy the normalised number if needed.
Frequently asked questions
Does a passing number mean the card is real?
No. The Luhn check only catches typing mistakes and random numbers. It says nothing about whether the card exists or is active.
Is my card number safe?
Yes, the check happens in your browser and the number is never transmitted.
Related tools
IBAN Validator
Validate an IBAN using the ISO 13616 Mod-97 checksum and read the country code and check digits.
Random String Generator
Generate secure random strings with custom length, character sets and ambiguous-character filtering.
UUID / GUID Generator
Generate random version 4 UUIDs and copy them one by one or in bulk.
Hash Generator
Compute MD5, SHA-1, SHA-256 and SHA-512 digests of any text.
Timestamp Converter
Convert between Unix timestamps, ISO 8601 and human readable local dates.
Regex Tester
Test regular expressions against sample text and inspect every match and capture group.