Credit card number checker
Check card numbers against the Luhn checksum and detect the scheme — a developer tool for test numbers, not a card verifier.
Related tools
Credit card number checker
This is a checksum and format checker for developers and testers — not a card verifier. It runs the Luhn (mod 10) algorithm over each number and tells you whether the digits are self-consistent, plus which scheme the prefix and length suggest: Visa, Mastercard, American Express or Discover. It cannot tell whether a card actually exists, is active or has funds — no such check is possible without a payment network, and this tool never contacts one.
Use it when building or testing payment forms: verify that your fixture data passes the same Luhn check a real gateway performs, confirm that a validation regex accepts 13-digit Visa and 15-digit Amex numbers, or generate quick sanity checks for standard test numbers like 4111 1111 1111 1111 (Visa) or 5500 0000 0000 0004 (Mastercard). Paste one number per line — spaces and dashes inside a number are fine — and each line comes back annotated as valid, invalid checksum, or not a card number when it is not 12–19 digits.
The Show option switches between the full annotated report and a filtered list of only the valid or only the failing lines, which is handy for cleaning a fixture file. Scheme detection can be switched off if you only care about the checksum.
Everything runs locally in your browser: nothing is sent, logged or stored anywhere. Still, treat real card numbers as the sensitive data they are — this tool is meant for the publicly documented test numbers used in development.