💳 Credit Card Validator

Validate credit card numbers using the Luhn algorithm and detect the card network type.

About Credit Card Validator

This tool validates card numbers using the Luhn algorithm (mod-10 check) and identifies the card network from the IIN/BIN prefix ranges.

FAQ

How does the Luhn algorithm work?

From the rightmost digit, double every second digit. If doubling gives >9, subtract 9. Sum all digits. If the total mod 10 equals 0, the number is valid.

Which card types are detected?

Visa, Mastercard, American Express, Discover, Diners Club, JCB, and UnionPay.

Is my card number safe?

Yes. All validation is done 100% client-side. No data is transmitted anywhere.