UK IBAN generator

IBANs in the United Kingdom have 22 characters and start with GB. 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

GB49SRLG60837190169366

  1. Country GB
  2. Check digits 49
  3. Bank code SRLG
  4. Branch code 608371
  5. Account number 90169366
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

UK IBAN format

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

IBAN length 22
BBAN length 18
BBAN pattern 4a6n8n
Structure GBkk bbbb ssssss cccccccc
Example, electronic GB29NWBK60161331926819
Example, print GB29 NWBK 6016 1331 9268 19
Letters in the BBAN Positions 5–8: always letters
National check digits None
Same structure as Ireland (IE)
SEPA Member (EPC list, December 2025)
Source SWIFT IBAN Registry, Release 102 (June 2026)

Position by position

Segment Positions Length Example
Country 1–2 2 GB
Check digits 3–4 2 29
Bank code 5–8 4 NWBK
Branch code 9–14 6 601613
Account number 15–22 8 31926819

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 Branch code
NatWest NWBK 607080
Barclays BARC 201147
HSBC MIDL 404246
Santander UK ABBY 090099
Nationwide NAIA 070116
Monzo MONZ 040004
Starling Bank SRLG 608371

What to test with GB IBANs

  • Accept exactly 22 characters for GB, 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.
  • Same structure as Ireland (IE). The country code is part of the MOD-97 calculation, so a valid GB IBAN with another country code in front must fail.
  • Ready-made invalid values for negative tests: GB29NWBK60161331926810 (last character changed, MOD-97 fails) and GB29NWBK6016133192681 (one character missing).
  • Bank directory checks: by default the generator uses real bank codes such as BARC (Barclays), and random ones with Realistic off, so you can test a known and an unknown bank.

About IBANs in the United Kingdom

UK IBANs are 22 characters long. The BBAN starts with a 4-letter bank code taken from the bank's BIC, followed by the 6-digit sort code and the 8-digit account number that people in the UK use for domestic payments. UK banks started issuing IBANs in April 2001, and the UK stayed in SEPA after leaving the EU. GB IBANs are also used in Jersey, Guernsey and the Isle of Man.

Questions about IBANs in the United Kingdom

How long is an IBAN in the United Kingdom?

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

What does an IBAN from the United Kingdom look like?

For example GB29 NWBK 6016 1331 9268 19. That is the print format, in groups of four. Forms and files usually take it without spaces: GB29NWBK60161331926819.

Can UK IBANs contain letters?

Yes. GB IBANs always have uppercase letters at positions 5–8: NWBK in the registry example.

Where is the bank code in UK IBANs?

The bank code, at positions 5–8: NWBK in the registry example. The branch code is at positions 9–14 (601613). By default (realistic mode) the generator uses real bank codes, such as NWBK for NatWest.

Will a test IBAN for the United Kingdom 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 UK 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.