# | Number | Valid | Type | MII | IIN-6 | IIN-8 | Len | Length OK | Copy |
---|---|---|---|---|---|---|---|---|---|
{{ i + 1 }} | {{ maskNumbers ? mask(r.number) : spaced(r.number, r.card_type) }} | {{ r.is_valid ? 'Yes' : 'No' }} | {{ r.card_type }} | {{ r.mii }} | {{ r.iin }} | {{ r.iin8 }} | {{ r.length }} | {{ r.length_valid ? 'Yes' : 'No' }} | |
No results yet. |
Number | {{ maskNumbers ? mask(summary.main.number) : spaced(summary.main.number, summary.main.card_type) }} |
---|---|
Type | {{ summary.main.card_type }} |
Length | {{ summary.main.length }} |
Expected Lengths | {{ (summary.main.expected_lengths && summary.main.expected_lengths.length ? summary.main.expected_lengths.join(', ') : '—') }} |
MII | {{ summary.main.mii }} |
IIN-6 | {{ summary.main.iin }} |
IIN-8 | {{ summary.main.iin8 }} |
Luhn Valid | {{ summary.main.is_valid ? 'Yes' : 'No' }} |
Length OK | {{ summary.main.length_valid ? 'Yes' : 'No' }} |
No details yet. |
Payment card validation confirms that a Primary Account Number (PAN) conforms to structural rules before any authorization attempt. A credit card validator online applies a standard check digit and issuer recognition to catch typos early and reduce declines. The concept spans card networks and point‑of‑sale systems, using the Issuer Identification Number (IIN), major industry identifier (MII), and a checksum to flag malformed inputs before storage, transmission, or security controls engage.
Here, you provide one or more numbers as plain text or import a small text file, and the utility evaluates each token independently. It reports checksum validity, likely brand type, high‑order industry category, and identification prefixes that support reconciliation or data hygiene. Results appear in a compact table for review and export, while summary charts help you spot outliers or duplicates during quality assurance without exposing full account details on screen.
For example, checking 4111111111111111 and 378282246310005 shows two structurally valid numbers from different schemes, signaling that a data import kept formatting consistent. You would then review any invalid entries before upload or handoff. A passing checksum and plausible prefix do not prove a live account, cardholder identity, or authorization outcome; they only indicate structural plausibility based on public numbering rules.
PANs are structured identifiers defined by ISO/IEC 7812 with an initial major industry identifier (MII), an issuer identification number (IIN), an account sequence, and a final check digit computed by the Luhn modulus‑10 algorithm. This tool treats each contiguous sequence of digits as an independent candidate, derives its MII and likely scheme from prefix patterns, and calculates the checksum to assess plausibility. Optional checks compare observed length against typical scheme lengths to highlight anomalies that can indicate OCR mistakes, truncated exports, or misplaced mask characters.
Here, di are base‑10 digits indexed from the right (i = 0), and f doubles every odd‑indexed digit, subtracting 9 where the product exceeds 9; other digits contribute unchanged.
Scheme | Typical Lengths (digits) | Notes |
---|---|---|
Visa | 13, 16, 19 | Starts with 4. |
MasterCard | 16 | Prefixes 51–55; 2221–2720. |
American Express | 15 | Prefixes 34, 37. |
Diner’s Club | 14 | Prefixes 300–305, 36, 38. |
Discover | 16, 17, 18, 19 | Prefixes 6011, 65, 644–649, 622126–622925. |
JCB | 16, 17, 18, 19 | Prefixes 2131, 1800, 35xx… |
Unknown | — | Prefix not matched to a known scheme. |
A number that passes Luhn but fails the scheme’s typical length suggests formatting or entry issues. Enable strict length checking to surface these mismatches during review.
Parameter | Meaning | Unit/Datatype | Typical Range | Notes |
---|---|---|---|---|
Input tokens | Digit sequences extracted from text or imported file. | String of digits | ≥ 1 digit | Whitespace and commas separate tokens; non‑digits removed per token. |
Strict length check | Show “Length OK” based on scheme‑typical lengths. | Boolean | Off/On | Neutral default is off. |
Remove duplicates | Drop repeated tokens after parsing. | Boolean | Off/On | Neutral default is off. |
Minimum digits per token | Discard tokens shorter than this many digits. | Integer | 0–∞ | Default is 0 (no filter). |
Import list | Load tokens from a local file. | .txt, .csv | Plain text | Processed entirely in your browser. |
Mask numbers | Display only the last four digits for safety. | Boolean | Off/On | Useful for demos and screen sharing. |
Input: 4111111111111111
Checksum: → Valid.
Classification: Scheme: Visa; MII: Banking; IIN‑6: 411111; IIN‑8: 41111111; Length: 16; Length OK: Yes.
ISO/IEC 7812 defines the numbering system, including MII and IIN structure. The Luhn (modulus‑10) algorithm underpins the checksum method. PCI DSS terminology clarifies PAN handling and masking expectations in operational environments.
Validation runs entirely in your browser; pasted text and imported files are processed locally and not uploaded. The charting layer may load assets from a public content network during page load. Outputs are educational and not financial advice.
Follow these steps to validate single numbers or lists quickly.
Example: Input “4111111111111111, 378282246310005” → both pass Luhn, with Visa and American Express classifications.
Warning Do not paste live customer PANs unless authorized and compliant with your organization’s security policies.
No. All parsing and validation happen locally in your browser; pasted text and imported files are not sent to a server.
The Luhn algorithm accurately detects common entry errors, and scheme rules screen typical prefixes and lengths. Passing results do not confirm card status, funds, or authorization.
Paste plain text with numbers separated by spaces, commas, or new lines. Non‑digits are stripped per token. File import accepts .txt and .csv.
Validation works without a network connection. Initial page load may retrieve the charting layer from a public content network.
Major Industry Identifier, derived from the first digit, indicating sectors like banking, travel, or telecommunications.
Yes. Copy the table as CSV, download CSV for spreadsheets, or copy/download structured JSON for integrations.
No license notice is embedded in this package; consult the site’s terms or repository for licensing and attribution requirements.