Skip to content
UniKit

Bank Card Validate

A real Luhn (ISO/IEC 7812) check plus BIN-based scheme detection (Visa, MasterCard, UnionPay, JCB, American Express, Discover) and per-scheme length rules; when the check digit is wrong it reports the expected digit and its position. Everything runs locally, nothing is sent anywhere.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Card numbers

Result

Numbers are masked and a wrong check digit reports the expected value.

Enter a card number to validate

Cards: 0 · Valid: 0 · Invalid: 0

What this tool does

  • Catch a mistyped digit before charging a card number.
  • Identify which card scheme a number belongs to.
  • Batch-check a pasted column of card numbers for check-digit errors.

Example

Input

4111111111111111

Output

第 1 行 / Line 1: 4111 **** **** 1111
  结果 / Result: 通过 / valid
  卡组织 / Scheme: Visa
  长度 / Length: 16 位
  Luhn / Luhn: 已按 ISO/IEC 7812 计算

统计 / Summary: 共 1 个卡号,通过 1 个,不通过 0 个

Frequently asked questions

Does it call an API?

No. It only performs the ISO/IEC 7812 Luhn check and BIN prefix matching; no issuer lookup and no data leaves the page.

Does a pass mean the card exists?

No. Luhn only catches mistakes such as a single wrong digit; it says nothing about whether the card was issued or is usable.

What does "expected digit at position N" mean?

The last digit is recomputed as a Luhn check digit, giving the value that should be there so you can find the typo.

Keywords:LuhnBINbank cardISO 7812

Related tools