Testing Tools

Credit Card Generator

Generate valid credit card numbers for testing and development purposes instantly across all major networks.

Visa
16 Digits
4024 0071 4562 0703
Exp: 12/30 CVV: 356
MasterCard
16 Digits
5585 4163 1605 4527
Exp: 12/29 CVV: 276
Amex
15 Digits
3458 0377 4069 554
Exp: 12/27 CVV: 101
Discover
16 Digits
6011 5460 2822 1857
Exp: 12/27 CVV: 921
Diners Club
14 Digits
3037 7508 0367 18
Exp: 12/29 CVV: 945
JCB
16 Digits
3576 9178 0272 5674
Exp: 12/27 CVV: 685
Maestro
16 Digits
6304 6147 2348 1394
Exp: 12/31 CVV: 215
Laser
16 Digits
6709 1900 4550 3026
Exp: 12/28 CVV: 433
InstaPayment
16 Digits
6395 7772 4012 0538
Exp: 12/27 CVV: 206

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). The last digit is the checksum which must pass the Luhn algorithm check.

Luhn Algorithm

The Luhn algorithm, also known as the "mod 10" or "modulus 10" algorithm, is a simple checksum formula used to validate a variety of identification numbers.

  1. Double every second digit from the right.
  2. If the product is > 9, sum the digits of the product.
  3. Take the sum of all digits.
  4. If the total modulo 10 is 0, the number is valid.

Term Meanings

  • Issuer: An institution that issues credit cards.
  • Merchant: An organization that accepts cards.
  • PIN: Personal Identification Number.