Password Generator
Password Generator computed locally with Web Crypto — your secrets never leave the page.
Check whether a card number passes the Luhn checksum — and see its likely brand — right 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. It runs entirely in your browser, 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.
It is the quick way to sanity-check a card number — to catch a mistyped or misheard digit before submitting a form — using 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 entirely in your browser with no network request, so nothing is uploaded.
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.
Nothing persists 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.
To know whether a card can actually be charged, a real authorisation through a payment processor is the only answer — the Luhn check is just 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; honest that a passing number is only well-formed, not necessarily real, active or funded.
Password Generator computed locally with Web Crypto — your secrets never leave the page.
Use Password Strength Checker for stronger security hygiene — private, instant and free.
Random Number Generator computed locally with Web Crypto — your secrets never leave the page.
SHA-256 Hash Generator computed locally with Web Crypto — your secrets never leave the page.
Passphrase Generator computed locally with Web Crypto — your secrets never leave the page.
Use MD5 Hash Generator for stronger security hygiene — private, instant and free.
It is free, private and runs entirely in your browser — no sign-up, no uploads, no limits.