Credit Card Validator

Check a Visa, Mastercard, American Express or Troy card number: network, length and the Luhn check digit.

Checked on this device only: the number is never sent, saved or put in a link.

Enter a card number •••• •••• •••• ••••
    What a card number can and cannot tell

    The first digits name the card network (Visa starts with 4, Mastercard with 51–55 or 2221–2720, American Express with 34 or 37, Troy with 9792), the length must suit that network, and the last digit is a check digit (the Luhn algorithm) that catches typing mistakes.

    A number that passes every check only has the right shape. Whether the card was really issued, is active, has funds or belongs to someone cannot be read from the number: only the issuing bank knows. The issuing bank itself is identified by the first 6 or 8 digits (the BIN), which needs a bank database Toolkit does not ship. An American Express “Member since” year is printed on the card; it is not part of the number.