Credit Card Validator

Check the correctness of the bank card number and determine its type using the Luhn algorithm

Card type: Not defined
Status: Not checked
Sample cards for testing: Click to paste

What is credit card validation?

Credit card validation is the process of checking a bank card number against standard algorithms and formats.

Luhn algorithm

The Luhn algorithm is used to verify identifier numbers, including credit card numbers.

This algorithm:

  • Checks the number's checksum
  • Detects input errors
  • Does not require connection to banking systems
Bank card types
  • Visa starts with 4
  • MasterCard starts with 5
  • American Express 34, 37
  • Discover 6011, 65
  • JCB 35
  • MIR 2200-2204

How does the validator work?

Our tool performs the following checks:

  1. Removes all non-digit characters from the entered number
  2. Checks the number length (must be 13 to 19 digits)
  3. Determines the card type by the first digits
  4. Checks the checksum using the Luhn algorithm
  5. Displays verification results
Important: This service does not store card numbers and does not perform financial transactions. The check is performed entirely on the client side for your safety.