ToolerCat / Card Number Validator

Card Number Validator

Luhn check, card brand and length — instantly, without sending the number anywhere.

Try a test card:

Need test numbers? Use the test card generator →

🔒 The check runs entirely in your browser — the number is never sent or stored. Still, avoid typing real card numbers into any website; use test cards instead.

What the card validator checks

FAQ

Does a valid result mean the card is real?

No. It only means the number is well-formed. Whether the card exists, is active or has funds can only be checked by the issuing bank during an authorization.

Is it safe to check my card here?

The check runs in your browser and the number is never sent. Still, the safest habit is not to type real card numbers into tools at all.

Why does a UnionPay card fail the Luhn check?

Some UnionPay cards do not use the Luhn check digit, so the validator accepts them when the brand and length are right.

Where do I get numbers for testing?

Use the test card generator or the providers' official test cards.

Validator by card brand

Visa · Mastercard · American Express · Discover · JCB · Diners Club · UnionPay · Maestro

More about this tool

Check whether a card number is correctly formed: the validator runs the Luhn checksum, detects the card brand from its prefix (IIN) and checks that the length matches that brand.

Everything happens in your browser and nothing is stored. A valid result means only that the number is well-formed — whether the card is active or has funds can be known only by the issuing bank.