GB test data

Free UK IBAN generator

Generate a checksum-valid United Kingdom IBAN for development, QA, demos, and form testing.

The output follows the published GB length and broad BBAN character pattern. It is synthetic and is not checked against a bank directory or account system.

Browser-based test data

Generate a United Kingdom Test IBAN

Create one or more synthetic GB IBANs and verify the MOD-97 checksum before display.

Runs locally in your browser
Output format
Ready to generate synthetic IBAN test data.
Your generated IBANs will appear here

Every result is checked for country length, character pattern, and MOD-97 checksum before display.

Testing only. A checksum-valid IBAN is not proof that a bank or account exists. Never use generated data for transfers, direct debits, identity claims, or financial verification.

Format facts

United Kingdom IBAN Structure

GB + 2 check digits + 4-letter bank identifier + 6-digit sort code + 8-digit account field.

A United Kingdom IBAN contains 22 characters in electronic format. Spaces are presentation separators and are not part of the stored value.

Country code
GB
Total length
22
Checksum
ISO 7064 MOD-97-10
Account existence
Not verified

How to Use This UK IBAN generator

  1. Keep United Kingdom selectedThe tool above is already configured for the GB format.
  2. Choose a quantityGenerate one value for a form test or several values for a small QA dataset.
  3. Select a display formatPrint format groups the IBAN every four characters; electronic format removes spaces.
  4. Generate and copyEach displayed value is rechecked for length, character structure, and MOD-97.

What “Valid” Means for a GB Test IBAN

On this page, valid means that the generated string has the expected country code, total length, broad BBAN character pattern, and a MOD-97 remainder of 1 after the standard rearrangement. That is useful for interface tests, validation libraries, database seeds, and demonstrations.

It does not mean a bank issued the number. The generator does not query bank identifiers, branch directories, account ownership records, payment rails, sanctions services, or account status. A generated value must never be presented as proof of an account or used for a real transfer.

United Kingdom IBAN Testing Notes

Some national IBAN formats contain domestic check fields in addition to the international check digits. This generator focuses on the published high-level character pattern and the international MOD-97 checksum. A receiving bank, payment provider, or specialist validator may apply deeper bank-directory and domestic rules that synthetic values do not satisfy.

For production onboarding or payments, obtain the IBAN directly from the account holder and validate it through an appropriate regulated provider. Use generated values only in isolated test, QA, staging, documentation, and training environments.

Test Plan for GB IBAN Inputs

A complete United Kingdom form test should include a generated checksum-valid value, the same value without print spaces, lowercase input where the interface permits typing, one value with a changed check digit, one value that is a character too short, and one value containing an invalid symbol. Verify both the user-facing message and the normalized value passed to the application layer.

CaseExpected handlingWhat it exercises
Generated GB valueAccept format and checksumSuccess state
Print spaces removedSame electronic valueNormalization
Changed check digitRejectMOD-97 error state
Wrong total lengthReject22-character boundary

Also test how the value behaves after a page refresh, API round trip, database write, CSV export, and copy-and-paste from a formatted document. The electronic form should retain exactly 22 uppercase alphanumeric characters, while a display layer may insert a space after each group of four. Trimming, localization, and spreadsheet software must not delete leading zeroes or convert a long field into scientific notation.

Do not make a browser form the only control for a real payment. Server-side validation should repeat the permitted character, length, and checksum checks, and a production workflow may also need current bank-directory data, recipient confirmation, fraud controls, and account verification. Store or log real financial data only when there is a defined purpose, appropriate authority, and suitable security.

FAQ

United Kingdom IBAN Generator FAQ

Does this generator create a real United Kingdom bank account?

No. It creates synthetic test data that matches the GB length and broad character structure and passes MOD-97. It does not open, locate, or verify an account.

How long is a United Kingdom IBAN?

The electronic GB IBAN format contains 22 characters. Spaces shown in print format are only visual separators.

Can I use the generated IBAN for a transfer?

No. Generated values are for software testing, QA, demos, and education only. Use bank-issued details for any real payment.

Can I validate a GB IBAN I already have?

Yes. Use the IBAN Checker to test its length, broad format, and MOD-97 checksum locally in your browser.