Generate Credit Card Numbers

Get credit card numbers of many banks for testing!

Mastercard

  • 5195648026022467
  • 5387401945104562
  • 5507098259483197
  • 5570880241297849
  • 5464447031862866

VISA 16 digit

  • 4384286799668143
  • 4070440869487160
  • 4487244241922358
  • 4299707302273810
  • 4956409818042532

VISA 13 digit

  • 4366440472203
  • 4953417516690
  • 4125918573075
  • 4008137771840
  • 4039751000185

American Express

  • 347694692839506
  • 378462347547569
  • 348918478651601
  • 378694829673330
  • 374855793568722

Discover

  • 6229253672256689
  • 6229253098786087
  • 6011774407963820
  • 6221265882742512
  • 6221261440079380

Diners Club

  • 30954233408766
  • 30131002443528
  • 30246201444950
  • 30286928920478
  • 30381037339882

enRoute

  • 214950319699908
  • 201491805639519
  • 201445687557446
  • 201471262825771
  • 214922091856505

JCB

  • 3545996268084766
  • 3566537546012023
  • 3528480060918548
  • 3529850310430792
  • 3536876586772279

Voyager

  • 869996907348047
  • 869933592179403
  • 869949930775575
  • 869987247555403
  • 869998192269726

Maestro

  • 6760558896351768
  • 6760102124711988
  • 6761169123641226
  • 5017528876085978
  • 5026228554967261

LASER

  • 6706990750619328
  • 6771896446028750
  • 6709581197290539
  • 6771563924212773
  • 6304431313228618

InstaPayment

  • 6387936289306172
  • 6390324466752952
  • 6390983777848658
  • 6389003660299738
  • 6382359128504151
Get new numbers

If you want to validate a credit card number, here is a Credit Card Validator.

What is Credit Card Number?


Credit Card issuers refer to the leading six digits on the card as an "bank identification number (BIN)", or "issuer identification number (IIN)". The remaining numbers on the card are referred to as the primary account number (PAN).

Bank card numbers are allocated in accordance with ISO/IEC 7812. IINs and PANS have a certain level of internal structure and share a common numbering scheme.

The prefix or first digit of the issuer identification number is the MII (major industry identifier). If this digit is 9 the next three digits are the country code from ISO 3166-1. The first digit identifies the industry where the card will be most used in.

Afterwards country code digits comes the account number, digit 7 to last minus one. This is an individual account identifier.

The last digit is the checksum which must pass the Luhn algorithm check to protect against accidental errors.


Issuer identification number (IIN)


Online merchants like Amazon Google may use IIN lookups to help validate transactions when you give them a Credit Card number. For example, if the customer's billing address is in on country, while, the credit card's IIN indicates a bank in another country, the transaction may call for extra scrutiny or the transactions will suspend.

ISO/IEC 7812 IINs can be up to 19 digits, are six digits in length,. The structure is as follows:

  • a variable length (up to 12 digits) individual account identifier
  • a six-digit Issuer Identification Number (IIN), the first digit of which is the MII ( Major Industry Identifier)
  • single check digit calculated using the Luhn algorithm

Luhn algorithm


The Luhn algorithm, also known as the "mod 10" or "modulus 10" algorithm or Luhn formula, is a simple checksum formula used to validate a variety of identification numbers, such as National Provider Identifier numbers, credit card numbers, IMEI numbers in the US, and Canadian Social Insurance Numbers. Most credit cards use the algorithm as a simple method of distinguishing valid numbers, so it was designed to protect against accidental errors, not malicious attacks.

How to pass the following test (form Wikipedia)?

  1. From the rightmost digit, which is the check digit, moving left, double the value of every second digit; if the product of this doubling operation is greater than 9 (e.g., 8 × 2 = 16), then sum the digits of the products (e.g., 16: 1 + 6 = 7, 18: 1 + 8 = 9).
  2. Take the sum of all the digits.
  3. If the total modulo 10 is equal to 0 (if the total ends in zero) then the number is valid according to the Luhn formula; else it is not valid.

Term meanings

  • Credit Card - A credit card is a payment card issued to users as a system of payment.
  • Issuer - an institution that issues credit cards to cardholders.
  • Cardholder - an individual to whom a credit card is issued.
  • Credit Limit - The amount of credit made available.
  • Merchant/Accepter - an corporation or organization that accepts credit cards for business.
  • Billing Cycle - The date that your statement is produced every month.
  • Personal Identification Number (PIN) - PIN is a numeric password shared between a system and a user, that can be used to authenticate the user to the system.