How does the Luhn algorithm work?
The last digit of a card number is a check digit. Starting from the right, every second digit is doubled; if the result is greater than 9, 9 is subtracted. When the sum of all digits is divisible by 10, the number has a valid format. This catches most typos, which is why payment forms check it before contacting the bank.
What is a BIN?
The Bank Identification Number is the first 6 or 8 digits of a card. It identifies the card brand and issuer. Generating cards from a BIN lets you test BIN-based logic such as installment tables, routing or brand detection.
Can these cards be used for real payments?
No. Generated numbers only have a valid format. They are not linked to an account, have no balance and are rejected by real payment networks. For end-to-end payment tests, use your provider's official sandbox cards from the third tab.