Sao Tome and Principe IBAN generator

IBANs in Sao Tome and Principe have 25 characters and start with ST. 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

ST29001187454216671364984

  1. Country ST
  2. Check digits 29
  3. Bank code 0011
  4. Branch code 8745
  5. Account number 4216671364984
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

Sao Tome and Principe IBAN format

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

IBAN length 25
BBAN length 21
BBAN pattern 4n4n11n2n
Structure STkk bbbb ssss ccccccccccccc
Example, electronic ST23000100010051845310146
Example, print ST23 0001 0001 0051 8453 1014 6
Letters in the BBAN None, digits only
National check digits None
Source SWIFT IBAN Registry, Release 102 (June 2026)

Position by position

Segment Positions Length Example
Country 1–2 2 ST
Check digits 3–4 2 23
Bank code 5–8 4 0001
Branch code 9–12 4 0001
Account number 13–25 13 0051845310146

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
Banco Internacional de São Tomé e Príncipe (BISTP) 0002
Afriland First Bank 0003
Ecobank 0008
BGFI Bank 0011

The branch code stays random.

What to test with ST IBANs

  • Accept exactly 25 characters for ST, after removing spaces, and reject 24 or 26.
  • Digits only after the check digits: a validator for ST should reject any letter there.
  • Ready-made invalid values for negative tests: ST23000100010051845310147 (last character changed, MOD-97 fails) and ST2300010001005184531014 (one character missing).
  • Bank directory checks: by default the generator uses real bank codes such as 0003 (Afriland First Bank), and random ones with Realistic off, so you can test a known and an unknown bank.

About IBANs in Sao Tome and Principe

IBANs from Sao Tome and Principe have 25 characters, all digits: a 4-digit bank code, a 4-digit branch code, an 11-digit account number and 2 final digits. That is the same layout as Portuguese IBANs. The format was added to the IBAN Registry in 2015 and revised in 2020, and the central bank says an IBAN is needed for cross-border transfers.

Questions about IBANs in Sao Tome and Principe

How long is an IBAN in Sao Tome and Principe?

25 characters: the country code ST, two check digits and a national part (BBAN) of 21 characters.

What does an IBAN from Sao Tome and Principe look like?

For example ST23 0001 0001 0051 8453 1014 6. That is the print format, in groups of four. Forms and files usually take it without spaces: ST23000100010051845310146.

Can Sao Tome and Principe IBANs contain letters?

No. After the check digits, ST IBANs contain only digits: the BBAN pattern is 4n4n11n2n.

Where is the bank code in Sao Tome and Principe IBANs?

The bank code, at positions 5–8: 0001 in the registry example. The branch code is at positions 9–12 (0001). By default (realistic mode) the generator uses real bank codes, such as 0002 for Banco Internacional de São Tomé e Príncipe (BISTP).

Will a test IBAN for Sao Tome and Principe 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 Sao Tome and Principe 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.