Two layers inside one number
A card number has two parts: the first six digits identify the issuer and scheme, and the rest carry the account and a check digit. Validation uses the Luhn or mod-ten algorithm: from the right, double every second digit, subtract nine when the result exceeds nine, sum everything, and require divisibility by ten. It catches a mistyped digit, not forgery, since anyone can compute a fake number that passes. The tool checks Luhn and identifies the scheme; the result speaks to format only.
Steps
- Paste the number, spaces and hyphens removed.
- Check to get the Luhn result, scheme guess and issuer range.
- Read the scheme: four often Visa, fifty-one to fifty-five and 2221 to 2720 Mastercard, sixty-two UnionPay, thirty-five JCB, thirty-four and thirty-seven American Express.
- On failure, look first for a mistyped digit or wrong length.
- Copy for reconciliation, clear the field, or load the sample.
- Mask other people's numbers, keeping the first six and last four.
Schemes, lengths and safety
Lengths differ: Visa usually sixteen, UnionPay sixteen to nineteen, American Express fifteen. Length plus prefix identifies a scheme without proving a card exists or works. New ranges arrive and identifications drift, since schemes keep adding prefixes. The safety point dominates: a card number is sensitive, never entered on an unknown page and never left in logs or screenshots. The tool checks locally, but the input decision is yours. Real validity comes from an issuer authorisation involving expiry and security code, which no formatter performs.
Common mistakes
Reading a Luhn pass as a live card confuses format with validity. Treating a fifteen-digit Amex as sixteen guarantees failure. Conflating debit and credit ranges mislabels the scheme. Using a number to infer balance or limit is unrelated. Storing it in plaintext or photographing it is careless. And checking on an unknown page collects the very data you meant to protect.
Where a check must stop
Payment capability belongs to a compliant gateway, not a formatter. Testing other people's numbers or generating fakes for signups and verification bypass is unlawful. Personal information rules require encryption and minimum necessity in storage and transport. Scheme patterns change and cannot carry risk control alone. And the result says nothing about a card's state, ownership or usability.