Diners Club Card Number Validator

Validate a Diners Club card number: prefix, length and Luhn checksum. Runs in your browser.

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.

Diners Club card number format

Starts with (IIN)
300–305, 36, 38 or 39
Length
14–19 digits
Security code
3 digits
Check digit
Luhn (mod 10)
Test number
3056930009020004

A Diners Club number starts with 300–305, 36, 38 or 39 and has 14–19 digits. The last digit is a Luhn check digit, so a typo in one digit is almost always caught before the payment reaches the bank.

FAQ

How do I know if a Diners Club card number is valid?

Paste it above: the validator checks the prefix, the length and the Luhn checksum, and tells you which last digit is expected if the checksum fails.

Does a valid Diners Club number mean the card works?

No. Only the issuing bank can confirm the card exists and can be charged, during an authorization.

Where can I get Diners Club test numbers?

Use the Diners Club test card generator or the official sandbox cards of Stripe and Adyen, e.g. 3056930009020004.

Other card brands

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