Validate credit card numbers against six checkpoints including Luhn algorithm, MII, IIN, length, and BIN checks.

Online Credit Card Validator App

This credit card validator app will check the card number against 6 different checkpoints. The following are the checks the app performs upon a user submitting the card number.

Personal Account Number Check

The personal account number and the checksum digit are extracted from the given credit card number. These two components play a critical role in the structure of a valid card number.

Luhn Algorithm Check

The Luhn algorithm (also known as modulus 10) is a checksum formula used to validate credit card numbers. The steps are:

  1. Drop the last digit (checksum digit)
  2. Reverse the remaining digits
  3. Multiply digits at odd positions by 2
  4. If the result is greater than 9, subtract 9
  5. Add all digits together. If total modulo 10 equals the checksum digit, the number is valid

Major Industry Identifier Check

The first digit of a credit card number identifies the major industry. The MII table below shows the industry assignment for each digit:

MII DigitIssuer Category
0ISO/TC 68 and other industry assignments
1Airlines
2Airlines, Financial and other future industry assignments
3Travel and Entertainment
4Banking and Financial
5Banking and Financial
6Merchandising and Banking/Financial
7Petroleum and other future industry assignments
8Healthcare, Telecommunications and other future industry assignments
9For assignment by national standards bodies

Issuer Identification Number Check

The first six digits of a credit card number identify the issuing network. The IIN/BIN table below maps prefixes to card networks:

Issuing NetworkIIN/BIN RangesActive
American Express34, 37Yes
China T-Union31Yes
China UnionPay62Yes
Dankort5019Yes
Diners Club International36, 300-305, 3095, 38Yes
Diners Club USA/Canada54, 55Yes
Discover6011, 622126-622925, 644-649, 65Yes
InterPayment636Yes
InstaPayment637-639Yes
JCB3528-3589Yes
Maestro5018, 5020, 5038, 5893, 6304, 6759, 6761-6763Yes
Maestro UK6759, 676770, 676774Yes
MasterCard51-55, 2221-2720Yes
RuPay60, 65, 81, 82, 508Yes
UATP1Yes
Verve506099-506198, 650002-650027Yes
Visa4Yes
Visa Electron4026, 417500, 4508, 4844, 4913, 4917Yes

Card Number Length Check

Different card networks require specific card number lengths:

Issuing NetworkLength
American Express15
China T-Union19
China UnionPay16-19
Dankort16
Diners Club International14-19
Diners Club USA/Canada16
Discover16-19
InterPayment16-19
InstaPayment16
JCB16-19
Maestro12-19
Maestro UK12-19
MasterCard16
RuPay16
UATP15
Verve16-19
Visa16
Visa Electron16

Bank Identification Number (BIN) Check

The first 6 digits are looked up in our BIN database to find the card issuer, type, country, and other information.

How to check it ?

Examples of some GOOD inputs:

  • 371449635358431
  • 5569755825672968

Examples of some BAD inputs:

  • 1234 (too short)
  • abcdefghijklm (not numeric)

Is This Credit Card Validator Secure to Use?

Credit Card Validator

Yes. All validation checks are performed client-side in your browser. No card numbers are transmitted to any server. FreeBINChecker does NOT save any submitted data.