Bahraini IBAN generator

IBANs in Bahrain have 22 characters and start with BH. The one below is random, follows the national structure and passes the MOD-97 check, so form validation accepts it. No bank issued it.

Format

BH35NBOB71893204306880

  1. Country BH
  2. Check digits 35
  3. Bank code NBOB
  4. Account number 71893204306880
Generate a list Up to 100 IBANs, as CSV, JSON, SQL or plain text

In CSV, JSON and SQL, every IBAN segment (bank, branch, account, check digits) gets its own column.

MOD-97 valid

Realistic mode: real bank code, random account number. No bank issued this IBAN, but it could match a real account by chance. Never use it for payments.

Check an IBAN

Paste an IBAN from any country to check its length, format and check digits.

Without JavaScript, this form opens the full IBAN validator.

Full IBAN validator

Bahraini IBAN format

Length, pattern and the position of each segment in BH IBANs, with a sample IBAN.

IBAN length 22
BBAN length 18
BBAN pattern 4a14c
Structure BHkk bbbb cccccccccccccc
Example, electronic BH67BMAG00001299123456
Example, print BH67 BMAG 0000 1299 1234 56
Letters in the BBAN Positions 5–8: always letters
Positions 9–22: letters or digits
National check digits None
Source SWIFT IBAN Registry, Release 102 (June 2026)

Position by position

Segment Positions Length Example
Country 1–2 2 BH
Check digits 3–4 2 67
Bank code 5–8 4 BMAG
Account number 9–22 14 00001299123456

In the pattern, n stands for a digit, a for an uppercase letter and c for a letter or digit. The number before each letter is how many characters that block has.

Real bank codes in realistic mode

In realistic mode, the default, the generator takes the bank code from this list and keeps the account number random, so no bank issued these IBANs. With Realistic off, the bank code is random too.

Bank Bank code
National Bank of Bahrain NBOB
BBK BBKU
Bahrain Islamic Bank BIBB
Al Salam Bank ALSA
KFH Bahrain (ex Ahli United Bank) AUBB
Khaleeji Bank KHCB

What to test with BH IBANs

  • Accept exactly 22 characters for BH, after removing spaces, and reject 21 or 23.
  • Letters are required at positions 5–8. Test lowercase input too, and convert it to uppercase before you validate.
  • Letters or digits at positions 9–22: a digits-only regex rejects valid BH IBANs. Realistic mode, the default, uses digits only there; with Realistic off, the generator puts letters there about half the time.
  • Ready-made invalid values for negative tests: BH67BMAG00001299123457 (last character changed, MOD-97 fails) and BH67BMAG0000129912345 (one character missing).
  • Bank directory checks: by default the generator uses real bank codes such as BBKU (BBK), and random ones with Realistic off, so you can test a known and an unknown bank.

About IBANs in Bahrain

Bahraini IBANs are 22 characters long: a 4-letter bank code, which is the first 4 letters of the bank's BIC, followed by a 14-character account number that can contain letters. Shorter account numbers are padded with zeros on the left. Bahrain's format was registered in 2011, and IBANs have been required for domestic and cross-border electronic payments since 31 January 2012.

Questions about IBANs in Bahrain

How long is an IBAN in Bahrain?

22 characters: the country code BH, two check digits and a national part (BBAN) of 18 characters.

What does an IBAN from Bahrain look like?

For example BH67 BMAG 0000 1299 1234 56. That is the print format, in groups of four. Forms and files usually take it without spaces: BH67BMAG00001299123456.

Can Bahraini IBANs contain letters?

Yes. BH IBANs always have uppercase letters at positions 5–8: BMAG in the registry example. Letters or digits are allowed at positions 9–22, although the registry example has only digits there.

Where is the bank code in Bahraini IBANs?

The bank code, at positions 5–8: BMAG in the registry example. By default (realistic mode) the generator uses real bank codes, such as NBOB for National Bank of Bahrain.

Will a test IBAN for Bahrain pass validation?

It passes the checks most forms run: country code, length, character format and MOD-97 check digits. In realistic mode, the default, the bank code is real too, so a bank directory check accepts it. An account lookup or a payee name check will not confirm it, because the account number is random.

Can I use a generated Bahraini IBAN to sign up for a service or receive money?

No. It is test data that no bank issued to you. Money sent to it is rejected or, if the number happens to belong to someone, reaches a stranger, and using it for a sign-up, a free trial or a direct debit is misuse. Your own IBAN is in your banking app and on your statements.

Other countries

Pick a country to see its IBAN format and get a valid test IBAN. The number next to each code is the IBAN length.