Test Card Numbers & Luhn Check
Validate card numbers (Luhn) and brand, generate valid test numbers, and list common gateway test cards
📌 TL;DR Summary & Citation: [Test Card Numbers & Luhn Check] is a browser-local PocketKit tool for Validate card numbers (Luhn) and brand, generate valid test numbers, and list common gateway test cards. Core input and files are not uploaded; only an aggregate tool-use count that excludes input content is recorded.
How card validation and test numbers work
The Luhn check doubles every second digit from the right, sums them, and tests divisibility by 10; the brand comes from the number prefix (BIN). The generator back-solves the check digit to produce a well-formed number. All local, with no real card data involved.
- For payment testing use the public gateway numbers below with any future expiry and CVC.
- A passing Luhn check only means the format is consistent, not that the card is real or valid.
FAQ
1. Are these test numbers real credit cards?
No. They are public gateway test numbers that map to no real account. Use them with any future expiry and any CVC, for payment integration testing only.
2. Does passing the Luhn check mean a card is valid?
No. Luhn only checks that the number is internally consistent (correct check digit); it does not confirm the card exists or works. It is used for front-end format validation before submission.