Generate Credit Card Numbers

Get credit card numbers of many banks for testing!

Mastercard

  • 5450693473823025
  • 5495015916548984
  • 5375309048388657
  • 5300650715205074
  • 5497698081867319

VISA 16 digit

  • 4284782945996736
  • 4379359168732910
  • 4969888248205501
  • 4772373961381505
  • 4613506998944034

VISA 13 digit

  • 4051891414324
  • 4449675734628
  • 4644925543453
  • 4018053459203
  • 4438944394640

American Express

  • 344570688641090
  • 348942837376737
  • 340107166020132
  • 370174458185861
  • 374944751364471

Discover

  • 6221260788864627
  • 6229253656291074
  • 6011511399046382
  • 6011116678689447
  • 6011667668021942

Diners Club

  • 30483751620578
  • 30509876434550
  • 30923917778398
  • 30252661438979
  • 30293716723593

enRoute

  • 201467494018498
  • 201421802575928
  • 214901241742698
  • 201466756004503
  • 201488713987144

JCB

  • 3537553200314916
  • 3586394423205775
  • 3571194197346566
  • 3543687820977652
  • 3554086060435107

Voyager

  • 869925245112872
  • 869980386339846
  • 869966781203590
  • 869986314058949
  • 869900079109566

Maestro

  • 6754380605753608
  • 5029910702807591
  • 6757784841388441
  • 6762650678643682
  • 5023401925719264

LASER

  • 6709660356782575
  • 6706335693795324
  • 6709463931867643
  • 6706019046999128
  • 6709684903589077

InstaPayment

  • 6388419978870112
  • 6387597523423114
  • 6389498287989184
  • 6372358692824047
  • 6378580360261178

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.