Generate Credit Card Numbers

Get credit card numbers of many banks for testing!

Mastercard

  • 5209047487186115
  • 5393446582792874
  • 5450124906867009
  • 5200366294212974
  • 5228578537117285

VISA 16 digit

  • 4845518450680311
  • 4371156527600442
  • 4879963579373464
  • 4300865142247662
  • 4494130834669251

VISA 13 digit

  • 4684246768239
  • 4403354753096
  • 4812678411970
  • 4519003147692
  • 4351219446130

American Express

  • 370046655768818
  • 370746868812521
  • 370764330907794
  • 349523100991142
  • 340886320410194

Discover

  • 6559882092983132
  • 6229251546657660
  • 6568088918849122
  • 6570595952529291
  • 6011464553944242

Diners Club

  • 36170776038951
  • 36355820373328
  • 30388159935975
  • 30373639450738
  • 30562241400442

enRoute

  • 214943989284883
  • 201459984034176
  • 214924123141536
  • 201418116529934
  • 214900322637891

JCB

  • 3551960087507440
  • 3581624850229236
  • 3539509374449985
  • 3562271884086464
  • 3538642386885606

Voyager

  • 869916800986342
  • 869962790378941
  • 869934214313053
  • 869974343481388
  • 869962994425737

Maestro

  • 6763707041432711
  • 5015814759006311
  • 5017428933260468
  • 6765602103277393
  • 6753732065770384

LASER

  • 6304546688352238
  • 6771275922736600
  • 6709663557170483
  • 6304075203660610
  • 6709820301105070

InstaPayment

  • 6373716752358561
  • 6395829830890689
  • 6373640174660331
  • 6378827236132087
  • 6381132889582869
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.