Ten checksum-valid United Kingdom test IBANs with their domestic bank code, sort code and account number, ready for a payment form, fixture or unit test, plus invalid GB cases that a correct validator must reject.
Synthetic only: the bank code may belong to a real United Kingdom bank, but each account number is random. Never use these values for payments or to represent a real account.
TSB BANK PLC (FORMERLY LLOYDS TSB SCOTLAND PLC), Aberdeen
GB74 TSBS 6484 6965 6296 88
TSBS
648469
65629688
TSB BANK PLC (FORMERLY LLOYDS TSB SCOTLAND PLC), Aberdeen
GB17 TSBS 2803 0290 2386 85
TSBS
280302
90238685
TSB BANK PLC (FORMERLY LLOYDS TSB SCOTLAND PLC), Aberdeen
GB64 RAPH 9040 1780 4950 53
RAPH
904017
80495053
R RAPHAELS AND SONS PLC, London
GB22 COUT 6047 3023 1752 85
COUT
604730
23175285
COUTTS & CO
GB46 BOFA 2292 8997 4693 17
BOFA
229289
97469317
BANK OF AMERICA, N.A. LONDON, Bromley
Invalid GB IBANs for negative tests
Each value is derived from the first valid IBAN above and re-checked, so the expected result is exact.
Case
Input
Expected validator result
Wrong check digits
GB30PAED17571130953008
Reject: MOD-97 checksum fails
Transposed BBAN digits
GB29APED17571130953008
Reject: MOD-97 checksum fails
One character too short
GB29PAED1757113095300
Reject: length does not match the country format
Wrong country prefix
FR29PAED17571130953008
Reject: length or checksum fails for the other country
Lowercase with spaces
gb29 paed 1757 1130 9530 08
Accept after normalizing case and whitespace
United Kingdom IBAN format
GB + 2 check digits + 4 uppercase letters + 6 digits + 8 digits = 22 characters. Validate the length and character classes first, then the MOD-97 checksum: move the first four characters to the end, convert letters to numbers (A=10 … Z=35) and the remainder modulo 97 must be 1.
Need rows for the same bank, city or BIC your integration talks to? The generator can target them, keep a stable seed and export 1,000 rows at a time.
Are these United Kingdom test IBANs real bank accounts?
No. They are synthetic GB IBANs with a correct national format and MOD-97 checksum. The bank code can match a real institution, but the account number is random and must never be used for payments.
How long is a United Kingdom IBAN?
A United Kingdom IBAN has 22 characters: the country code GB, two check digits and a 18-character BBAN (4 uppercase letters, 6 digits, 8 digits).
Can I get more United Kingdom test IBANs for a specific bank or city?
Yes. The United Kingdom generator creates up to 10 rows free. Paid plans add bank, city and exact BIC targeting, 1,000-row batches, CSV/JSON exports and the same data through the API.