A dedicated validator for Saudi Arabia IBANs (country code SA, length 24) that checks every structural rule defined by SAMA (Saudi Central Bank) and the ISO 13616 standard. Paste in any SA IBAN — with or without spaces — and the tool immediately reports whether it passes the ISO 7064 MOD-97-10 checksum, whether its length is correct, which SAMA-registered bank the code points to, and the formatted IBAN ready to copy. Everything runs in your browser; no data is ever transmitted.
How it works
A Saudi IBAN is always exactly 24 characters:
- Characters 1–2: country code
SA - Characters 3–4: two check digits (computed, not arbitrary)
- Characters 5–6: two zero-padding digits, always
00per SAMA rules - Characters 7–8: two-digit SAMA bank code (e.g.
10= Al Rajhi,20= SNB) - Characters 9–24: 16-digit individual account number at that bank
The MOD-97 checksum (ISO 7064 MOD-97-10) is computed as follows:
- Strip spaces, convert to uppercase.
- Move the first four characters (
SAkk) to the end of the string. - Replace every letter with its numeric equivalent: A becomes
10, B becomes11, through to Z becoming35. - Read the entire resulting string as one very large integer and divide by 97.
- The remainder must equal exactly 1 for the IBAN to be valid.
Because the numeric string can be hundreds of digits long, the remainder is folded progressively (one digit at a time) rather than building a giant integer, which keeps everything fast even in the browser without any external library.
Worked example
Consider the test IBAN SA03 8000 0000 6080 1016 7519:
- Strip spaces:
SA0380000000608010167519(24 chars — correct length). - Rearrange: move
SA03to the end →80000000608010167519SA03. - Expand letters:
S=28,A=10 →800000006080101675192810 03. - Compute
800000006080101675192810 03 mod 97. Folding progressively yields remainder 1 — checksum passes. - Bank code in positions 7–8:
80— Emirates NBD Saudi Arabia.
The validator shows all five figures — country, length check, check digits, MOD-97 remainder, and bank name — in a single breakdown table.
| Segment | Value | Meaning |
|---|---|---|
| SA | Country | Saudi Arabia |
| 03 | Check digits | ISO 7064 MOD-97 |
| 00 | BBAN padding | SAMA zero-fill |
| 80 | Bank code | Emirates NBD SA |
| 00000060801016 7519 | Account number | Individual account |
A “valid” result means the IBAN is structurally sound. It does not confirm the account exists — contact the bank directly for that. All calculation happens locally in your browser.