IBAN Format by Country: Lengths, Examples & Generator Links

IBAN Format by Country: Lengths, Examples & Generator Links

Compare IBAN length, BBAN structure, examples, and test IBAN generators for Germany, Spain, France, the UK, and supported countries.

Written by David S · Published on 2026-02-18 · Updated on 2026-04-25
#IBAN format #IBAN by country #IBAN length #IBAN examples #IBAN country list #IBAN structure by country

Use this page as a country-by-country IBAN format hub. It lists the fixed IBAN length, BBAN structure, realistic example, and the fastest test-data link for every country currently supported by RandomIBAN.

If you are validating payment forms or building QA fixtures, start with the table below, then generate fresh values with the linked country generators. For background on the shared parts of an IBAN, see What is an IBAN?, IBAN checksum validation, and the IBAN validator.

Quick Country Generator Links

How to Read the Table

Every IBAN starts with a 2-letter country code and 2 check digits. The country-specific part is the BBAN, which can include bank codes, branch codes, national checksums, account numbers, and sometimes letters. The table uses:

  • Bank for a national bank or institution identifier.
  • Branch for a branch, sort code, agency, or local clearing identifier.
  • Account for the customer account number or alphanumeric account reference.
  • Checksum/key/type for country-specific control digits or account-type fields inside the BBAN.

IBAN Format Table by Country

Country Code Length BBAN structure Example IBAN Test generator
Germany DE 22 8-digit bank code + 10-digit account number DE18 6002 0030 6175 0435 46 Generate DE IBAN
Spain ES 24 Bank (4) + branch (4) + national check digits (2) + account (10) ES44 1491 9826 5263 0010 0901 Generate ES IBAN
France FR 27 Bank (5) + branch (5) + alphanumeric account (11) + national key (2) FR95 1056 7840 15S6 0U0D 5O1R U54 Generate FR IBAN
Italy IT 27 CIN (1 letter) + bank (5) + branch (5) + account (12) IT28 E083 2786 7115 1107 5166 323 Generate IT IBAN
Netherlands NL 18 Bank code (4 letters) + account number (10) NL11 RBRB 9722 3918 00 Generate NL IBAN
Belgium BE 16 Bank code (3) + account number (7) + checksum (2) BE77 0155 3383 6442 Generate BE IBAN
Portugal PT 25 Bank (4) + branch (4) + account (11) + national checksum (2) PT50 0007 5245 4279 5848 6997 1 Generate PT IBAN
Ireland IE 22 Bank code (4 letters) + branch (6) + account (8) IE45 WNSB 6632 3664 3525 78 Generate IE IBAN
United Kingdom GB 22 Bank code (4 letters) + sort code (6) + account (8) GB48 NTHQ 6359 0036 3190 47 Generate GB IBAN
Switzerland CH 21 Bank (5) + account number (12) CH32 5380 1554 6428 2579 8 Generate CH IBAN
Austria AT 20 Bank (5) + account number (11) AT08 6843 6925 3380 5257 Generate AT IBAN
Sweden SE 24 Bank (3) + account number (17) SE91 9090 0676 2258 9972 2173 Generate SE IBAN
Norway NO 15 Bank (4) + account number (7) NO18 3199 5492 202 Generate NO IBAN
Finland FI 18 Bank identifier (6) + account number (8) FI39 9536 4839 1256 91 Generate FI IBAN
Denmark DK 18 Bank (4) + account number (9) + checksum (1) DK78 5119 6344 4421 38 Generate DK IBAN
Poland PL 28 Bank (8) + account number (16) PL15 0241 8036 2147 1282 1610 5777 Generate PL IBAN
Czechia CZ 24 Bank (4) + account number (16) CZ36 9713 7073 7390 0956 2334 Generate CZ IBAN
Slovakia SK 24 Bank (4) + account number (16) SK41 8631 0725 5638 9983 5041 Generate SK IBAN
Hungary HU 28 Bank (3) + branch (4) + checksum (1) + account (15) + checksum (1) HU87 1279 3272 4058 1033 9460 7559 Generate HU IBAN
Romania RO 24 Bank code (4 letters) + alphanumeric account identifier (16) RO58 BKIM LH3Y G3U8 WITR 9N96 Generate RO IBAN
Greece GR 27 Bank (3) + branch (4) + alphanumeric account (16) GR17 5668 374C SM8H FX2A JDNE PYQ Generate GR IBAN
Estonia EE 20 Bank (2) + branch (2) + account number (11) + checksum (1) EE79 5740 2177 8302 7895 Generate EE IBAN
Latvia LV 21 Bank code (4 letters) + alphanumeric account (13) LV33 LGEC O9CU CJW2 UUNG Q Generate LV IBAN
Lithuania LT 20 Bank (5) + account number (11) LT30 1198 0016 4955 6380 Generate LT IBAN
Luxembourg LU 20 Bank identifier (3) + alphanumeric account (13) LU56 596G 0TFR PDRU WVIT Generate LU IBAN
Croatia HR 21 Bank (7) + account number (10) HR95 8225 3399 0528 4073 3 Generate HR IBAN
Slovenia SI 19 Bank (5) + account (8) + checksum (2) SI83 4899 9594 4028 849 Generate SI IBAN
Serbia RS 22 Bank (3) + account number (13) + checksum (2) RS36 6269 6709 6725 8971 05 Generate RS IBAN
Iceland IS 26 Bank (4) + type (2) + account (6) + additional identifier (10) IS07 4403 5146 9807 4015 9427 44 Generate IS IBAN
Turkey TR 26 Bank (5) + type (1) + alphanumeric account (16) TR72 9602 5213 1J20 7UUV RQCV SH Generate TR IBAN
Cyprus CY 28 Bank (3) + branch (5) + alphanumeric account (16) CY10 5326 9097 4SNA 3YOY JE9U MP15 Generate CY IBAN
Malta MT 31 Bank (4 letters) + branch (5) + alphanumeric account (18) MT23 JNLV 5458 6A46 FTFV HMZG 4P3Y C6U Generate MT IBAN
Andorra AD 24 Bank (4) + branch (4) + alphanumeric account (12) AD84 2428 7563 QV9N 0L4C 7IQZ Generate AD IBAN
Liechtenstein LI 21 Bank (5) + alphanumeric account (12) LI93 8752 4D7P BB8Y RTW2 Y Generate LI IBAN
Bulgaria BG 22 Bank (4 letters) + branch (4) + type (2) + alphanumeric account (8) BG05 PPQR 7111 63L9 RB6A V9 Generate BG IBAN
Saudi Arabia SA 24 Bank code (2) + alphanumeric account number (18) SA64 844H PYU6 CQLP 3R1M IIOX Generate SA IBAN
United Arab Emirates AE 23 Bank (3) + account number (16) AE40 0504 4854 3508 4939 309 Generate AE IBAN
Qatar QA 29 Bank (4 letters) + alphanumeric account (21) QA92 MBSU 2KZ9 JORQ MOPE IKO3 5TWO 3 Generate QA IBAN
Brazil BR 29 Bank (8) + branch (5) + account (10) + additional identifiers (2) BR51 7271 9047 8277 1117 1758 518B 7 Generate BR IBAN
Costa Rica CR 22 Bank (3) + account (14) + checksum (1) CR85 6585 0751 9997 3720 25 Generate CR IBAN
Dominican Republic DO 28 Bank (4 letters) + account number (20) DO93 MDIK 0520 3345 2291 6207 5866 Generate DO IBAN
Israel IL 23 Bank (3) + branch (3) + account (13) IL56 7549 4747 3505 6225 853 Generate IL IBAN

Format Notes for High-Volume Testing

Germany, Spain, and France

These three markets are common first targets for European payment testing. Germany uses a compact bank-code plus account pattern. Spain adds national check digits inside the BBAN, so it is useful for testing more than the global MOD-97 checksum. France includes a RIB-style national structure with bank, branch, alphanumeric account, and national key fields.

UK and Ireland

UK and Irish IBANs include a 4-letter bank identifier followed by routing and account fields. For UK flows, remember that domestic users may still think in sort code plus account number, while cross-border and SEPA-adjacent flows often ask for the IBAN.

Long and Short IBANs

Norway has the shortest supported IBAN at 15 characters. Malta has the longest supported IBAN at 31 characters. Use both ends of that range when testing input masks, database column sizes, line wrapping, and CSV exports.

Non-European IBANs

Brazil, Costa Rica, the Dominican Republic, Saudi Arabia, the UAE, Qatar, and Israel are useful when your product has to handle IBANs outside Europe. They expose alphanumeric account fields, longer lengths, and regional banking assumptions that simple SEPA-only test data may miss.

Related IBAN Resources

FAQ

Which country has the shortest IBAN?

Norway has the shortest supported IBAN in this generator: 15 characters. It uses the country code, two check digits, and an 11-character BBAN.

Which country has the longest IBAN?

Malta has the longest supported IBAN in this generator: 31 characters. Some official IBAN registries allow up to 34 characters, but each country has a fixed length.

Is IBAN length always fixed by country?

Yes. Each participating country defines one fixed IBAN length. If a German IBAN is not 22 characters after removing spaces, or a Spanish IBAN is not 24 characters, it should fail format validation before the checksum step.

What is the difference between IBAN format and BBAN format?

The IBAN format includes the country code, two check digits, and the BBAN. The BBAN is the country-specific bank account structure after the first four IBAN characters.

Can these example IBANs be used for real payments?

No. Treat every example on this page as synthetic test data. The values are structurally valid for development and QA, but they are not intended for live transactions or production payment instructions.

How should I test country-specific IBAN validation?

Test at least one short format, one long format, one numeric-only BBAN, one alphanumeric BBAN, and one country with national check digits. A practical set is Norway, Malta, Germany, France, Spain, and Brazil.

Try Our IBAN Tools

Put your knowledge into practice with our free tools.