Online Credit Card Validator Tool

Check a credit card number with our online credit card Validator!

You can now validate any credit card number using our credit card validator online! Our credit card validator and checker checks the credit card number and return valid results such as Major Industry Indentifier which can be checked by analysing the credit card number prefix. Our validator checks MasterCard, Visa, Discover Card, JCB Card, and American Express cards.


Sample Valid Credit Card Numbers:

Generate a fresh credit card number by clicking refresh button.

Visa

  • 4374387885717927
  • 4243329135699371
  • 4996121957798343
  • 4052390246628451
  • 4442670061834931

MasterCard

  • 5314487699885827
  • 5508042381314507
  • 5518914605632260
  • 5409654736157918
  • 5227361805180009

Discover

  • 6011639008695644
  • 6011481948193988
  • 6011331732075679
  • 6011941396389131
  • 6011356035080415

AmericanExpress

  • 376398081318283
  • 375510906224477
  • 349084695351720
  • 377414227922968
  • 376824004295308

JCB

  • 3568533930455926
  • 3538323699130986
  • 3529573151786169
  • 3548693717633841
  • 3579480789054680

Enter Credit Card Number to Validate

Result:

Luhn Algorithm Check

We'll check your number against the Luhn Algorithm to see if it is a valid credit card number.

Major Industry Identifier

The first digit of a credit card number represent the category of entity which issued the card.

Issuer identification number

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

Personal Account Number

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


How to validate a Credit Card Number?

Most credit card number can be validated using the Luhn algorithm, which is more or a less a glorified Modulo 10 formula!

The Luhn Formula:
  • Drop the last digit from the number. The last digit is what we want to check against
  • Reverse the numbers
  • Multiply the digits in odd positions (1, 3, 5, etc.) by 2 and subtract 9 to all any result higher than 9
  • Add all the numbers together
  • The check digit (the last number of the card) is the amount that you would need to add to get a multiple of 10 (Modulo 10)
Step Total
Original Number: 4 5 5 6 7 3 7 5 8 6 8 9 9 8 5 5
Drop the last digit: 4 5 5 6 7 3 7 5 8 6 8 9 9 8 5
Reverse the digits: 5 8 9 9 8 6 8 5 7 3 7 6 5 5 4
Multiple odd digits by 2: 10 8 18 9 16 6 16 5 14 3 14 6 10 5 8
Subtract 9 to numbers over 9: 1 8 9 9 7 6 7 5 5 3 5 6 1 5 8
Add all numbers: 1 8 9 9 7 6 7 5 5 3 5 6 1 5 8 85
Mod 10: 85 modulo 10 = 5 (last digit of card)

Frequently Asked Questions:

What Are the Validation Processed?

We check for the following:

  • First Digit - Major Industry Identifier
  • Six Digit - Issuer identification number
  • Seven Digit - Personal Account Number and Checksum

How Mod 10 or Modulus 10 is Performed on Generating a Valid Credit Card?

The Luhn algorithm or Luhn formula, also known as the "modulus 10" or "mod 10" algorithm, is a simple checksum formula used to validate a variety of identification numbers, such as credit card numbers, IMEI numbers, National Provider Identifier numbers in the United States, Canadian Social Insurance Numbers, Israel ID Numbers and Greek Social Security Numbers (ΑΜΚΑ). It was created by IBM scientist Hans Peter Luhn and described in U.S. Patent No. 2,950,048, filed on January 6, 1954, and granted on August 23, 1960. [source:wikipedia]

Assume an example of an account number "7992739871" that will have a check digit added, making it of the form 7992739871x:

luhn algorithm

The sum of all the digits in the third row is 67+x.

The check digit (x) is obtained by computing the sum of the non-check digits then computing 9 times that value modulo 10 (in equation form, ((67 × 9) mod 10)). In algorithm form:

  1. Compute the sum of the non-check digits (67).
  2. Multiply by 9 (603).
  3. The units digit (3) is the check digit. Thus, x=3.

(Alternative method) The check digit (x) is obtained by computing the sum of the other digits (third row) then subtracting the units digit from 10 (67 => Units digit 7; 10 − 7 = check digit 3). In algorithm form:

  1. Compute the sum of the non-check digits (67).
  2. Take the units digit (7).
  3. Subtract the units digit from 10.
  4. The result (3) is the check digit. In case the sum of digits ends in 0 then 0 is the check digit.

This makes the full account number read 79927398713.

Do we store these credit card numbers?

Absolutely not! Credit card number entered on our validator undergone process using validating rules. However, we do not store these credit cars for security purposes.

Is this online checker tool safe to use?

Yes! Our validator only checks the Major Industry Identifier or MII, the Personal Account Number and Issuer Identification Number. You can read the detailed table for MII Below.

MII Digit Category
0 ISO/TC 68 and other industry assignments
1 Airlines
2 Airlines, financial and other future industry assignments
3 Travel and entertainment
4 Banking and financial
5 Banking and financial
6 Merchandising and banking/financial
7 Petroleum and other future industry assignments
8 Healthcare, telecommunications and other future industry assignments
9 For assignment by national standards bodies

Using the table you assumed that Visa which starts with number 4 belongs to Banking and financial as well as MasterCard which is prefixed with number 5.

  • 4 for Visa - Banking and financial
  • 5 for MasterCard - Banking and financial
  • 3 for Discover Card - Travel and entertainment