Testing Tools

Credit Card Generator

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

Visa
16 Digits
4556 5202 9091 3331
Exp: 12/29 CVV: 368
MasterCard
16 Digits
5319 9128 3731 4963
Exp: 12/30 CVV: 572
Amex
15 Digits
3460 8793 1847 065
Exp: 12/29 CVV: 884
Discover
16 Digits
6011 2921 2825 4742
Exp: 12/30 CVV: 261
Diners Club
14 Digits
3615 4547 7687 81
Exp: 12/29 CVV: 830
JCB
16 Digits
3545 4306 5453 9365
Exp: 12/28 CVV: 837
Maestro
16 Digits
6759 7966 4369 7140
Exp: 12/28 CVV: 453
Laser
16 Digits
6706 0854 8327 3244
Exp: 12/27 CVV: 310
InstaPayment
16 Digits
6397 9817 0902 1215
Exp: 12/28 CVV: 954

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.