Card Number Validator
Luhn check and card brand detection
All processing happens locally in your browser. Your data is never uploaded to a server.
Luhn check and card brand detection
All processing happens locally in your browser. Your data is never uploaded to a server.
The Luhn algorithm (ISO/IEC 7812) walks right to left, doubling every second digit and subtracting 9 when the product exceeds 9, then sums everything — divisible by 10 means it passes. It is designed to catch the two commonest typing mistakes, a single wrong digit and a transposed pair, not to prove authenticity: anyone can construct a number that passes.