Credit Card Number Validator
Check a card number against the Luhn checksum and detect its network (Visa, Mastercard, Amex, Discover, and more).
Luhn checksum—
Network—
Nothing is sent anywhere — this only runs a checksum in your browser. Never paste a real card number into an untrusted site.
The Luhn algorithm is a simple checksum used by all major card networks to catch typos and transposed digits — it confirms a number is well-formed, not that the card is active or has funds.
Frequently asked questions
How do I validate a credit card number online?
Type or paste the card number — the Luhn checksum result and detected network (based on the leading digits and length) appear instantly.
Does passing the Luhn check mean the card is real and active?
No — Luhn only confirms the number is internally consistent. A fabricated number can pass Luhn without belonging to a real, active account.