Password Generator
A random password at the length and character mix you set.
Check whether a card number passes the Luhn checksum and see its likely brand, in your browser. It catches typos, not whether the card is real.
Your browser is preparing the tool. It runs 100% locally.
Enter a card number and the tool runs the Luhn checksum (the mod-10 test that every real card number satisfies) and tells you whether it passes, plus the likely brand (Visa, Mastercard, Amex, Discover) from its opening digits. A pass means the number is well-formed, catching typos and transpositions; it does not mean the card is real, active or has funds. Your browser runs the check, so the number is never sent anywhere.
This tool applies the Luhn algorithm to a card number and reports whether it passes, alongside a best guess at the card brand based on the leading digits. Spaces and dashes are ignored, so you can paste a number in its usual grouped form.
Use it to sanity-check a card number and catch a mistyped or misheard digit before you submit a form. It applies the same mathematical test that payment systems use as a first filter.
The Luhn check works from right to left. Starting with the second-to-last digit, every other digit is doubled; if doubling gives a two-digit result, 9 is subtracted. All the digits are then added together, and the number passes if that total is a multiple of 10. This catches any single wrong digit and most cases where two adjacent digits are swapped.
The brand guess comes from the opening digits, which follow industry ranges: numbers starting with 4 are Visa, 51 to 55 are Mastercard, 34 or 37 are American Express, and 6 is Discover. This is a rough identification from the prefix, not a lookup of the issuing bank.
from the right, double every 2nd digit (if over 9, subtract 9)
add all the digits together
valid if the total mod 10 = 04111 1111 1111 1111 → passes Luhn · Visa · change one digit (…1121) → failsA pass means the number is well-formed. The Luhn check detects all single-digit errors and most swaps of adjacent digits, but anyone can construct a number that passes, so it proves form, not legitimacy.
Your card number never leaves your device. The check runs in your browser with no network request, so the tool uploads nothing.
As a rule, never enter a real card number into a website you do not trust. This tool is built so the number stays local, but the safe habit is to test with the first digits or a known sample where possible.
The page keeps nothing between sessions. Close the tab and the number is gone.
The Luhn test is exact and standard, so a number that passes here passes everywhere, and the tool reliably flags the typing mistakes the algorithm is designed to catch.
A passing number is only well-formed, not real. The Luhn check cannot tell you whether a card exists, is active, has funds, or has been reported stolen. Anyone can generate a number that passes, which is why payment systems use it only as a first filter before contacting the bank.
The brand detection is a prefix guess and not exhaustive. It covers the major networks by their common ranges but may show Unknown for valid cards from other schemes, and it does not verify the issuer.
It checks the checksum, not the length rules of each network. Some numbers of the wrong length could still pass the Luhn test, so a pass is necessary but not sufficient for a number to be a genuine card.
Confirm a card number was entered without a wrong or swapped digit.
Run a client-side Luhn check before submitting a payment form.
See the likely card network from the opening digits.
Watch how the Luhn checksum responds to a changed digit.
Only a real authorisation through a payment processor tells you whether a card can be charged. The Luhn check is the first, offline filter. Never use it as proof a card is legitimate.
Runs the standard Luhn mod-10 checksum and guesses the brand from the prefix. A passing number is only well-formed, not necessarily real, active or funded.
A random password at the length and character mix you set.
An entropy estimate in bits, with tips to make it stronger.
Whole numbers in any range from a cryptographic source.
The SHA-256 hash of any text, computed in your browser.
Random words joined into a passphrase you can remember.
The MD5 checksum of any text.
Your browser generates and checks everything locally, so nothing secret is sent. No account needed.