Iran Bank Card and Sheba Validator

Paste card numbers or Sheba numbers, one per line, to check them and see which bank issued each.

S'executa al teu navegador. Els fitxers mai no surten del dispositiu. Mira com comprovar-ho

…

Com es fa

  1. 1
    Paste card or Sheba numbers

    Put one number per line; cards and Sheba numbers can be mixed.

  2. 2
    Let it detect the type

    Lines starting with IR or with 24 digits are read as Sheba, 16 digits as a card.

  3. 3
    Read the bank

    See the bank from the BIN or the Sheba bank code.

  4. 4
    Fix failing lines

    Check the digits of any line that fails.

  5. 5
    Copy the results

    Copy the valid numbers or download the list.

Sobre aquesta eina

Payments inside Iran use two numbers: the 16-digit bank card number on the Shetab network, used for card-to-card transfers, and the Sheba number, Iran's IBAN, used for Paya and Satna bank transfers. A card number ends in a Luhn check digit, and its first six digits (the BIN) identify the bank. A Sheba number has 26 characters: IR, two check digits, a three-digit bank code and the account number, and it is checked with the ISO 13616 mod 97 rule. One mistyped digit sends money to the wrong place or makes a transfer bounce days later. This validator checks both kinds of number in one box, detects which kind each line is, reads Persian digits and spaces or dashes, and names the bank from the published prefixes and codes.

Who this is for

Developers of Iranian payment and payroll forms, accountants preparing salary transfer files, sellers checking a buyer's card before a card-to-card payment, and Iranians abroad checking details for a family transfer.

Bank cards

- 16 digits, often printed in four groups. - The first six digits are the bank's BIN, for example 603799 for Bank Melli, 610433 for Bank Mellat and 621986 for Saman Bank. - The last digit is a Luhn check digit: double every second digit from the right, subtract 9 from results above 9, add everything, and the total must end in 0.

Sheba numbers

- 26 characters: IR followed by 24 digits. - Characters 3 and 4 are check digits. - Characters 5 to 7 are the bank code, for example 017 for Bank Melli, 012 for Bank Mellat and 054 for Parsian Bank. - The rest is the account number in the bank's own format. To check, move IR and the check digits to the end, turn I into 18 and R into 27, and the whole number mod 97 must be 1.

Persian digits and formats

Numbers copied from Persian receipts often use Persian digits and spaces or dashes. The validator converts the digits and removes the separators. A 24-digit Sheba typed without IR is checked with IR added.

Mergers

Several banks and credit institutions merged into Bank Sepah, and some cards still carry the old prefix. The bank shown is the one that issued the prefix; your bank can tell you how such cards are handled today.

Worked example

6037-9975-9942-1170 passes the Luhn check and shows Bank Melli. IR11 0170 0000 0012 3456 7890 01 passes the mod 97 check and shows bank code 017, Bank Melli. Changing any one digit makes either number fail.

Limits

A format check only. It does not prove that the card or account exists, is open, or belongs to the person you expect.

Exemple resolt

6037-9975-9942-1170 is a well-formed Bank Melli card number; IR11 0170 … 01 is a well-formed Sheba.

En resum

Preguntes freqüents

What is a Sheba number?

Iran's IBAN: IR plus 24 digits, used for Paya and Satna bank transfers.

How is a card number checked?

With the Luhn rule on its 16 digits.

How do I know the bank?

From the first six digits of a card or digits 5 to 7 of a Sheba.

Can I paste Persian digits?

Yes, they are converted automatically.

Does a valid number mean the account exists?

No, only that it is well formed.

Is my data uploaded?

No, nothing leaves your browser.

Totalment gratisSense cost, sense registre
Els fitxers es mantenen privatsTot funciona al teu navegador
Fàcil en el teu idiomaDisponible en molts idiomes