ISO 13616 formats
IBAN Countries, Formats, and Test Generators
Compare supported national IBAN lengths and broad character structures, then open a country-focused generator with the correct preset.
The directory is based on the Swift ISO 13616 Registry model. Generated values are mathematical test data, not verified bank accounts.
- IBAN countries online free reference — country format
- IBAN countries online free reference — expected length
- IBAN countries online free reference — character pattern
- IBAN countries online free reference — MOD-97 checksum
- IBAN countries online free reference — national BBAN
Popular country IBAN generators
Supported IBAN Country Formats
An IBAN has a common outer structure: two country letters, two international check digits, and a fixed-length national BBAN. The BBAN is where formats diverge. It may contain numeric or alphabetic bank identifiers, branch fields, account fields, reserve positions, and domestic check characters.
The table below lists the country rules currently available in the browser tool. Country-specific landing pages are provided for the highest-intent formats; every listed country remains selectable in the main generator. A format being listed does not mean the site can verify every domestic banking rule or identify a real bank account.
| Code | Country | Length | Generator |
|---|
ISO 13616 standardizes the way an IBAN is communicated internationally, but it preserves national BBAN structures. That is why Norway uses a compact format while Malta uses a much longer one. A form should therefore validate the country-specific length rather than applying one global minimum or maximum as if every national format were identical.
Why IBAN Lengths Differ by Country
ISO 13616 standardizes the way an IBAN is communicated internationally, but it preserves national BBAN structures. That is why Norway uses a compact format while Malta uses a much longer one. A form should therefore validate the country-specific length rather than applying one global minimum or maximum as if every national format were identical.
Electronic format contains no spaces. Print format groups characters in blocks of four from the left to improve readability; the final block may be shorter. Spaces do not change the checksum or form part of the stored IBAN.
Countries That Do Not Use IBAN
Not every country uses the IBAN standard. Japan, the United States, Canada, Australia, and several other banking markets use different domestic account and routing systems. A responsible generator should not invent an IBAN format for a country that has not registered one.
If a country is absent from the selector, do not substitute a random country code. Consult the receiving bank or an authoritative payment provider for the routing identifiers required in that market.
Registry Data and Validation Limits
Swift acts as the ISO 13616 registration authority and publishes the national format registry. This site uses that model for country codes, lengths, and broad field types and records its own implementation date separately from the registry's publication cycle.
The free tools validate visible structure and MOD-97. They do not include the paid directory and account-verification services needed to determine whether a bank identifier is assigned or an account is open. Always separate format testing from real payment verification.
IBAN Countries by Length and Structure
IBAN countries share the same four-character opening but not the same total length or BBAN layout. Germany and the United Kingdom both use twenty-two characters, yet Germany follows its check digits with a numeric bank code and account field while the UK uses an alphabetic bank identifier, sort code, and account field. France uses twenty-seven characters and includes bank, branch, account, and national-key fields. The Netherlands uses a shorter eighteen-character format with an alphabetic bank identifier.
Other IBAN countries illustrate why a universal mask is unreliable. Belgium uses sixteen characters, Croatia uses twenty-one, Pakistan and Saudi Arabia use twenty-four, Portugal uses twenty-five, and Turkey uses twenty-six. Some BBANs are numeric; others combine letters and digits. A form should select the country rule first, then apply the matching maximum length, allowed character classes, presentation grouping, and checksum validation.
Testing Forms Across IBAN Countries
Country length is a useful early check but not a complete result. A string can have the correct prefix and total length while containing an invalid character or incorrect check digits. After checking the country format, rearrange the characters and run ISO 7064 MOD-97-10. Production systems may then need a current bank directory and domestic validation rules beyond the public IBAN countries structure.
Build a test matrix that represents short, medium, and long IBAN countries as well as numeric and alphanumeric BBANs. Include a valid synthetic value, print spacing, lowercase input, leading zeroes, an altered check digit, an invalid symbol, and values one character shorter and longer than the registered format. Verify the displayed error reason and the normalized electronic value sent to the application layer.
Formats for Supported IBAN Countries
When a user changes country, update the input hint and expected length without silently truncating an existing value. Do not reject a partially entered IBAN as a checksum failure before the required number of characters is present. On submission, repeat validation on the server and preserve the value as text so databases and spreadsheets cannot remove leading zeroes or apply numeric formatting.
Registry maintenance matters because participating authorities can publish format updates. Record the registry version used by an application, keep format data separate from code where practical, and add regression tests before deploying changes. The directory on this page is suitable for understanding supported IBAN countries and opening synthetic generators; authoritative production routing and bank-assignment decisions require current specialist data.
Iban Countries Testing Guidance 7
Formats for supported IBAN countries should be maintained as structured rules rather than copied from interface labels. Each rule needs a country code, fixed total length, broad BBAN character pattern, and a source version. Applications can then reuse the same data for input hints, validation, test generation, documentation, and regression tests without allowing those implementations to drift apart.
Supported IBAN countries still require different product decisions. A payment form may enable only the markets served by its provider, while a developer utility can expose a wider registry-based selector. Clearly distinguish enabled payment destinations from formats that are available only for syntax testing. Never interpret inclusion in a format list as proof that a particular bank, branch, or account is reachable.
Iban Countries Testing Guidance 8
Formats for supported IBAN countries also need a clear boundary between international and national layers. The country code, check digits, and MOD-97 process are shared; bank identifiers, branch fields, account fields, reserve positions, and domestic checks are national. This separation helps teams compare IBAN countries, update format rules safely, explain validation results accurately, and avoid applying one country's assumptions to another country's banking structure.
FAQ
IBAN Country FAQ
How many characters can an IBAN contain?
ISO 13616 permits a country code, two check digits, and a BBAN of up to 30 alphanumeric characters, for a maximum of 34 characters. Each registered country uses a fixed length.
Does every country have an IBAN format?
No. Only countries and territories with a registered national IBAN format should appear in an IBAN generator.
Why is a UK IBAN the same length as a German IBAN?
Both are 22 characters, but their BBAN fields differ. Equal length does not imply equal internal structure. No. Character pattern and MOD-97 should also be checked, and production services may apply deeper bank-directory and domestic rules. The primary reference is the Swift ISO 13616 IBAN Registry, maintained from submissions by national standards bodies or central banks.