Validate Credit Card Numbers

Check a credit card number with Luhn Algorithm MII IIN and Checksum online!

Enter credit card number

Example credit card numbers get more test data?

Credit Card Type IIN ranges Credit Card Number
Visa 4 4916077506643876
MasterCard 2221-2720 5229657264125429
American Express 34, 37 374313476701813
Discover 6011, 622126-622925, 644-649, 65 6011594786717005
Diners Club 300-305, 309, 36 30036592321275
JCB 3528-3589 3554770375953116

Luhn Algorithm Check

A Credit Card number must pass the Luhn Algorithm test to see if it is a valid credit card number.

The credit card number entered passed the Luhn Check so it is a valid credit card number!

The credit card number entered failed the Luhn Check. It's not valid!

Primary Account Number

Digits 7 to final number minus 1 indicate the individual account identifier (the last is the checksum).

Issuer identification number (IIN)

The first six digits of a card number identify the institution that issued the card to the card holder.

  • Visa
  • Mastercard
  • American Express
  • Discover
  • JCB
  • Diners Club

Major Industry Identifier (MII)

The first digit of which is the Major Industry Identifier (MII), it indicates the individual account identifier.

SHARE

Digits in a Debit or Credit Card Numbers

Card Information:

Issuing network IIN ranges Active Length Validation
Visa 4 Yes 13, 16 Luhn algorithm
MasterCard 2221-2720 No 16 Luhn algorithm
51-55 Yes 16 Luhn algorithm
American Express 34, 37 Yes 15 Luhn algorithm
Discover Card 6011, 622126-622925, 644-649, 65 Yes 16 Luhn algorithm
Diners Club International 300-305, 309, 36 Yes 14 Luhn algorithm
38-39 Yes 16 Luhn algorithm
Diners Club United States & Canada 54, 55 Yes 16 Luhn algorithm
Carte Blanche 300-305 Yes 14 Luhn algorithm
enRoute 2014, 2149 No 15 no validation
JCB 3528-3589 Yes 16 Luhn algorithm
Bankcard 5610, 560221-560225 No 16 Luhn algorithm
China UnionPay 62 Yes 16-19 Luhn algorithm
InterPaymentTM 636 Yes 16-19 Luhn algorithm
InstaPayment 637-639 Yes 16 Luhn algorithm
Laser 6304, 6706, 6771, 6709 No 16-19 Luhn algorithm
Maestro 50, 56-69 Yes 12-19 Luhn algorithm
Dankort 5019 Yes 16 Luhn algorithm
Solo 6334, 6767 No 16, 18, 19 Luhn algorithm
Switch 4903, 4905, 4911, 4936, 564182, 633110, 6333, 6759 No 16, 18, 19 Luhn algorithm
UATP 1 Yes 15 Luhn algorithm