Payment card number checker
Check 13–19 digit numbers with Luhn, singly or in batches, without sending card data
All input is processed in this browser and is never sent to a server or written to local storage.
Enter data or load the example, then process it.
Up to 1,000 nonblank lines and 100,000 characters. Results show masked numbers.
Supported input and rules
Accepts 13–19 ASCII digits, optionally grouped with spaces or hyphens. After removing those separators, Luhn doubles alternating digits from the right and checks whether the total is divisible by ten. All-zero input is rejected. This is a format and checksum test, not a bank lookup.
How to use the result
Put one number on each line, then process. The output retains six leading and four trailing digits, with the middle hidden. A format error reports its original line number without repeating the raw value. Review failed rows against the original record; the tool never corrects or generates a card number.
Worked example
The public test number 4242424242424242 passes Luhn; changing its final digit to 1 fails. A value may have an allowed length yet fail the checksum. Conversely, passing the checksum alone cannot establish whether a real payment card exists.
Scope and limitations
No bank, payment network or identity registry is contacted. The tool does not confirm issuer, ownership, balance, card status or authorization to pay. Use only data you are entitled to process. Masked prefixes and suffixes can still reveal information, so review results before sharing.