Skip to content

Card number — Luhn and test data

Check number length and checksum or choose an official Stripe test number. Runs locally without sending or saving the number.

Data is processed locally. The page link excludes entered numbers.

Result: —

Fill in the fields above — the result is computed on this page.

Sources and adopted values

Result breakdown

Item Value
Fill in the fields above — the result is computed on this page.
How do I use this page?
  1. Enter data and choose a scenario.
  2. Click Calculate and inspect the result.

What this page does not do: A valid checksum does not confirm existence, activity, balance or ownership. Test data is for the operator sandbox only. Do not enter CVV or owner details. Page links and QR omit the number. Result export includes entered data — use test data.

Further reading

Theory — Card number

Luhn: starting from the right, double every second digit and subtract 9 from values above 9, then sum. A total divisible by 10 passes. The validator accepts 12–19 digits; network recognition is indicative, not a BIN database. Test mode only selects from the published Stripe list.

Frequently asked questions

How does Luhn validation work?
Luhn: starting from the right, double every second digit and subtract 9 from values above 9, then sum. A total divisible by 10 passes. The validator accepts 12–19 digits; network recognition is indicative, not a BIN database. Test mode only selects from the published Stripe list.
Does this number mean a working card?
A valid checksum does not confirm existence, activity, balance or ownership. Test data is for the operator sandbox only. Do not enter CVV or owner details. Page links and QR omit the number. Result export includes entered data — use test data.

See also

← All calculators

Offline app and draw notifications

My saved selections

Selections saved only in this browser. Numbers are shown exactly as saved; this is not a lottery ticket.

Open the My saved selections hub
Restore with preview

Restore in the hub: review the file and confirm first. Both old backups and the complete selections + journal backup are supported. Nothing is uploaded.