IBAN Validator & Formatter
Is this IBAN right? Every check explained, its bank and account parts shown, nothing sent.
Checks
Parts
- Electronic format
- Print format
- BBAN (national account number)
- SEPA
- These IBANs are also used in
How the check digits were tested
- Move the first four characters to the end:
- Write each letter as a number (A = 10, B = 11 … Z = 35):
- Divide that number by 97. The remainder is ;
BIC (SWIFT code)
See the BIC’s parts and look it up in GLEIF’s open records with the SWIFT / BIC Code Checker
Every IBAN country: length, format and SEPA
The 89 countries and territories of the SWIFT IBAN Registry, with the registry’s example IBAN for each.
| Country | Length | Format after the check digits, and an example | SEPA |
|---|---|---|---|
| Albania AL 28 characters | 28 | 8 digits, then 16 letters or digits AL47 2121 1009 0000 0002 3569 8741 | Yes |
| Andorra AD 24 characters | 24 | 8 digits, then 12 letters or digits AD12 0001 2030 2003 5910 0100 | Yes |
| Austria AT 20 characters | 20 | 16 digits AT61 1904 3002 3457 3201 | Yes |
| Azerbaijan AZ 28 characters | 28 | 4 letters, then 20 letters or digits AZ21 NABZ 0000 0000 1370 1000 1944 | No |
| Bahrain BH 22 characters | 22 | 4 letters, then 14 letters or digits BH67 BMAG 0000 1299 1234 56 | No |
| Belarus BY 28 characters | 28 | 4 letters or digits, 4 digits, then 16 letters or digits BY13 NBRB 3600 9000 0000 2Z00 AB00 | No |
| Belgium BE 16 characters | 16 | 12 digits BE68 5390 0754 7034 | Yes |
| Bosnia & Herzegovina BA 20 characters | 20 | 16 digits BA39 1290 0794 0102 8494 | No |
| Brazil BR 29 characters | 29 | 23 digits, 1 letter, then 1 letter or digit BR18 0036 0305 0000 1000 9795 493C 1 | No |
| British Virgin Islands VG 24 characters | 24 | 4 letters, then 16 digits VG96 VPVG 0000 0123 4567 8901 | No |
| Bulgaria BG 22 characters | 22 | 4 letters, 6 digits, then 8 letters or digits BG80 BNBG 9661 1020 3456 78 | Yes |
| Burundi BI 27 characters | 27 | 23 digits BI42 1000 0100 0100 0033 2045 181 | No |
| Costa Rica CR 22 characters | 22 | 18 digits CR05 0152 0200 1026 2840 66 | No |
| Croatia HR 21 characters | 21 | 17 digits HR12 1001 0051 8630 0016 0 | Yes |
| Cyprus CY 28 characters | 28 | 8 digits, then 16 letters or digits CY17 0020 0128 0000 0012 0052 7600 | Yes |
| Czechia CZ 24 characters | 24 | 20 digits CZ65 0800 0000 1920 0014 5399 | Yes |
| Denmark DK 18 characters | 18 | 14 digits DK50 0040 0440 1162 43 | Yes |
| Djibouti DJ 27 characters | 27 | 23 digits DJ21 0001 0000 0001 5400 0100 186 | No |
| Dominican Republic DO 28 characters | 28 | 4 letters or digits, then 20 digits DO28 BAGR 0000 0001 2124 5361 1324 | No |
| Egypt EG 29 characters | 29 | 25 digits EG38 0019 0005 0000 0000 2631 8000 2 | No |
| El Salvador SV 28 characters | 28 | 4 letters, then 20 digits SV62 CENR 0000 0000 0000 0070 0025 | No |
| Estonia EE 20 characters | 20 | 16 digits EE38 2200 2210 2014 5685 | Yes |
| Falkland Islands FK 18 characters | 18 | 2 letters, then 12 digits FK88 SC12 3456 7890 12 | No |
| Faroe Islands FO 18 characters | 18 | 14 digits FO62 6460 0001 6316 34 | No |
| Finland FI 18 characters | 18 | 14 digits FI21 1234 5600 0007 85 | Yes |
| France FR 27 characters | 27 | 10 digits, 11 letters or digits, then 2 digits FR14 2004 1010 0505 0001 3M02 606 | Yes |
| Georgia GE 22 characters | 22 | 2 letters, then 16 digits GE29 NB00 0000 0101 9049 17 | No |
| Germany DE 22 characters | 22 | 18 digits DE89 3704 0044 0532 0130 00 | Yes |
| Gibraltar GI 23 characters | 23 | 4 letters, then 15 letters or digits GI75 NWBK 0000 0000 7099 453 | Yes |
| Greece GR 27 characters | 27 | 7 digits, then 16 letters or digits GR16 0110 1250 0000 0001 2300 695 | Yes |
| Greenland GL 18 characters | 18 | 14 digits GL89 6471 0001 0002 06 | No |
| Guatemala GT 28 characters | 28 | 24 letters or digits GT82 TRAJ 0102 0000 0012 1002 9690 | No |
| Honduras HN 28 characters | 28 | 4 letters, then 20 digits HN88 CABF 0000 0000 0002 5000 5469 | No |
| Hungary HU 28 characters | 28 | 24 digits HU42 1177 3016 1111 1018 0000 0000 | Yes |
| Iceland IS 26 characters | 26 | 22 digits IS14 0159 2600 7654 5510 7303 39 | Yes |
| Iraq IQ 23 characters | 23 | 4 letters, then 15 digits IQ98 NBIQ 8501 2345 6789 012 | No |
| Ireland IE 22 characters | 22 | 4 letters, then 14 digits IE29 AIBK 9311 5212 3456 78 | Yes |
| Israel IL 23 characters | 23 | 19 digits IL62 0108 0000 0009 9999 999 | No |
| Italy IT 27 characters | 27 | 1 letter, 10 digits, then 12 letters or digits IT60 X054 2811 1010 0000 0123 456 | Yes |
| Jordan JO 30 characters | 30 | 4 letters, 4 digits, then 18 letters or digits JO94 CBJO 0010 0000 0000 0131 0003 02 | No |
| Kazakhstan KZ 20 characters | 20 | 3 digits, then 13 letters or digits KZ86 125K ZT50 0410 0100 | No |
| Kosovo XK 20 characters | 20 | 16 digits XK05 1212 0123 4567 8906 | No |
| Kuwait KW 30 characters | 30 | 4 letters, then 22 letters or digits KW81 CBKU 0000 0000 0000 1234 5601 01 | No |
| Latvia LV 21 characters | 21 | 4 letters, then 13 letters or digits LV80 BANK 0000 4351 9500 1 | Yes |
| Lebanon LB 28 characters | 28 | 4 digits, then 20 letters or digits LB62 0999 0000 0001 0019 0122 9114 | No |
| Libya LY 25 characters | 25 | 21 digits LY83 0020 4800 0020 1001 2036 1 | No |
| Liechtenstein LI 21 characters | 21 | 5 digits, then 12 letters or digits LI21 0881 0000 2324 013A A | Yes |
| Lithuania LT 20 characters | 20 | 16 digits LT12 1000 0111 0100 1000 | Yes |
| Luxembourg LU 20 characters | 20 | 3 digits, then 13 letters or digits LU28 0019 4006 4475 0000 | Yes |
| Malta MT 31 characters | 31 | 4 letters, 5 digits, then 18 letters or digits MT84 MALT 0110 0001 2345 MTLC AST0 01S | Yes |
| Mauritania MR 27 characters | 27 | 23 digits MR13 0002 0001 0100 0012 3456 753 | No |
| Mauritius MU 30 characters | 30 | 4 letters, 19 digits, then 3 letters MU17 BOMM 0101 1010 3030 0200 000M UR | No |
| Moldova MD 24 characters | 24 | 20 letters or digits MD24 AG00 0225 1000 1310 4168 | Yes |
| Monaco MC 27 characters | 27 | 10 digits, 11 letters or digits, then 2 digits MC58 1122 2000 0101 2345 6789 030 | Yes |
| Mongolia MN 20 characters | 20 | 16 digits MN12 1234 1234 5678 9123 | No |
| Montenegro ME 22 characters | 22 | 18 digits ME25 5050 0001 2345 6789 51 | Yes |
| Netherlands NL 18 characters | 18 | 4 letters, then 10 digits NL91 ABNA 0417 1643 00 | Yes |
| Nicaragua NI 28 characters | 28 | 4 letters, then 20 digits NI45 BAPR 0000 0013 0000 0355 8124 | No |
| North Macedonia MK 19 characters | 19 | 3 digits, 10 letters or digits, then 2 digits MK07 2501 2000 0058 984 | Yes |
| Norway NO 15 characters | 15 | 11 digits NO93 8601 1117 947 | Yes |
| Oman OM 23 characters | 23 | 3 digits, then 16 letters or digits OM81 0180 0000 0129 9123 456 | No |
| Pakistan PK 24 characters | 24 | 4 letters, then 16 letters or digits PK36 SCBL 0000 0011 2345 6702 | No |
| Palestinian Territories PS 29 characters | 29 | 4 letters, then 21 letters or digits PS92 PALS 0000 0000 0400 1234 5670 2 | No |
| Poland PL 28 characters | 28 | 24 digits PL61 1090 1014 0000 0712 1981 2874 | Yes |
| Portugal PT 25 characters | 25 | 21 digits PT50 0002 0123 1234 5678 9015 4 | Yes |
| Qatar QA 29 characters | 29 | 4 letters, then 21 letters or digits QA58 DOHB 0000 1234 5678 90AB CDEF G | No |
| Romania RO 24 characters | 24 | 4 letters, then 16 letters or digits RO49 AAAA 1B31 0075 9384 0000 | Yes |
| Russia RU 33 characters | 33 | 14 digits, then 15 letters or digits RU03 0445 2522 5408 1781 0538 0913 1041 9 | No |
| San Marino SM 27 characters | 27 | 1 letter, 10 digits, then 12 letters or digits SM86 U032 2509 8000 0000 0270 100 | Yes |
| São Tomé & Príncipe ST 25 characters | 25 | 21 digits ST68 0001 0001 0051 8453 1011 2 | No |
| Saudi Arabia SA 24 characters | 24 | 2 digits, then 18 letters or digits SA03 8000 0000 6080 1016 7519 | No |
| Serbia RS 22 characters | 22 | 18 digits RS35 2600 0560 1001 6113 79 | Yes |
| Seychelles SC 31 characters | 31 | 4 letters, 20 digits, then 3 letters SC18 SSCB 1101 0000 0000 0000 1497 USD | No |
| Slovakia SK 24 characters | 24 | 20 digits SK31 1200 0000 1987 4263 7541 | Yes |
| Slovenia SI 19 characters | 19 | 15 digits SI56 2633 0001 2039 086 | Yes |
| Somalia SO 23 characters | 23 | 19 digits SO21 1000 0010 0100 0100 141 | No |
| Spain ES 24 characters | 24 | 20 digits ES91 2100 0418 4502 0005 1332 | Yes |
| St. Lucia LC 32 characters | 32 | 4 letters, then 24 letters or digits LC55 HEMM 0001 0001 0012 0012 0002 3015 | No |
| Sudan SD 18 characters | 18 | 14 digits SD21 2901 0501 2340 01 | No |
| Sweden SE 24 characters | 24 | 20 digits SE45 5000 0000 0583 9825 7466 | Yes |
| Switzerland CH 21 characters | 21 | 5 digits, then 12 letters or digits CH93 0076 2011 6238 5295 7 | Yes |
| Timor-Leste TL 23 characters | 23 | 19 digits TL38 0080 0123 4567 8910 157 | No |
| Tunisia TN 24 characters | 24 | 20 digits TN59 1000 6035 1835 9847 8831 | No |
| Türkiye TR 26 characters | 26 | 6 digits, then 16 letters or digits TR33 0006 1005 1978 6457 8413 26 | No |
| Ukraine UA 29 characters | 29 | 6 digits, then 19 letters or digits UA21 3223 1300 0002 6007 2335 6600 1 | No |
| United Arab Emirates AE 23 characters | 23 | 19 digits AE07 0331 2345 6789 0123 456 | No |
| United Kingdom GB 22 characters | 22 | 4 letters, then 14 digits GB29 NWBK 6016 1331 9268 19 | Yes |
| Vatican City VA 22 characters | 22 | 18 digits VA59 0011 2300 0012 3456 78 | Yes |
| Yemen YE 30 characters | 30 | 4 letters, 4 digits, then 18 letters or digits YE15 CBYE 0001 0188 6123 4567 8912 34 | No |
About the IBAN Validator & Formatter
An IBAN (International Bank Account Number, ISO 13616) identifies one bank account for payments: two letters for the country, two check digits, then the national account number, whose length and layout the SWIFT IBAN Registry fixes for each country. Paste one and the validator checks all of it in your browser: the country, the exact length, letters and digits where the registry puts them, the two check digits (ISO 7064 MOD 97-10) and, for 20 countries, the check digits inside the account number itself — the French RIB key, the Spanish DC, the Italian CIN, the UK sort code modulus check and more.
It then shows the parts under the names you know from local bank details (bank code, sort code, Bankleitzahl, code guichet …), writes the IBAN in print format (groups of four) and in the electronic format of payment files, says whether its country is in the SEPA payment area, and tests a BIC (SWIFT code) you were given with it. A valid IBAN is well formed; only the bank can confirm that the account exists and whose it is.
How to use it
- Paste or type the IBAN. Spaces, hyphens, lower case and a leading “IBAN” are fine, and you can paste a whole line from an invoice: the IBAN, and a BIC after it, are picked out. While you type, the check waits until the IBAN is complete; press Enter or Check IBAN to check it sooner.
- Read the verdict and the checklist: country, length, format, check digits and, where the country has them, the domestic check digits. A problem names the character and what belongs there.
- Compare the parts (bank code, branch or sort code, account number) with the details you were given, then copy the IBAN in electronic or print format, or a summary of the checks.
- If you have the BIC (SWIFT code), enter it too: its format is checked, and whether its country and bank code fit the IBAN.
Examples
de89 3704 0044 0532 0130 00
Valid IBAN · Germany · 22 characters · check digits 89 are right Bank code (Bankleitzahl) 37040044 · account number (Kontonummer) 0532013000 Print: DE89 3704 0044 0532 0130 00 · electronic: DE89370400440532013000
DE89 3704 0044 0532 0130 01
Not a valid IBAN: the check digits (89) do not match the rest of the IBAN
DE89 37O4 0044 0532 0130 00
Character 7 (“O”): in an IBAN from Germany, characters 5 to 22 are digits With “O” → “0” it is a valid IBAN
A correction is offered only when every misplaced character has a look-alike (O and 0, I and 1, B and 8 …) and the corrected IBAN passes every check. A wrong digit gets no guess: any character could be the wrong one.
FR14 2004 1010 0505 0001 3M02 606
Valid IBAN · RIB key (clé RIB) right Code banque 20041 · code guichet 01005 · numéro de compte 0500013M026 · clé 06
BE54 3101 0027 0000
Valid IBAN format, but the account number fails its domestic check: the Belgian check digits do not match
The first ten digits, 3101002700, divide by 97 with no remainder, so their check digits must be 97, never 00. The IBAN’s own check digits fit either way, which is why such an IBAN gets a warning rather than a pass.
GB29 NWBK 6016 1331 9268 19 · BIC NWBKGB2L
Valid IBAN · UK modulus check passes for sort code 60-16-13, account 31926819 The BIC starts with NWBK, the bank code in the IBAN
CH44 3199 9123 0008 8901 2
Valid IBAN · QR-IBAN: bank code 31999 is in the range 30000–31999, used only to pay QR-bills with a QR reference
Common uses
- Checking an IBAN from an invoice, an email or a supplier form before you set up a payment.
- Finding which part of an IBAN is the bank code, the branch or sort code and the account number, under their local names.
- Writing an IBAN correctly on an invoice or a letter: in groups of four for print, without spaces for payment files.
- Testing your own forms and software with the registry’s example IBAN of every country.
What is checked
- Country: the first two letters must be the ISO code of a country in the SWIFT IBAN Registry, which SWIFT keeps as the registration authority of ISO 13616-1. Territories that use another country’s IBANs are named: Réunion and Mayotte have French IBANs, Jersey and the Isle of Man UK ones, the Åland Islands Finnish ones.
- Length: exactly the registry’s length for that country, from 15 characters (Norway) to 33 (Russia).
- Format: letters and digits where the registry puts them. A German IBAN has 18 digits after DE and the check digits; a UK one has 4 letters, then 14 digits.
- Check digits: characters 3 and 4, tested with MOD 97-10 of ISO/IEC 7064. The calculation always gives 02 to 98, so 00, 01 and 99 are refused even where they pass the arithmetic.
- Domestic check digits: in 20 countries, the check digits inside the account number itself (below).
What is not an IBAN is named as well: a BIC, a UK sort code and account number (with a link that opens the UK sort code checker with them), an Indian IFSC, a US routing number, a domestic account number, or a line of text with no IBAN in it.
How the IBAN check digits work
Move the first four characters to the end, write each letter as a number (A = 10, B = 11 … Z = 35) and divide the long number by 97: for a valid IBAN the remainder is 1. For DE89 3704 0044 0532 0130 00 that is 370400440532013000 followed by 13 14 (D and E) and 89: 370400440532013000131489, which leaves 1.
Banks make the check digits the other way round: with 00 in their place they take the remainder and subtract it from 98. The test catches every single mistyped digit and every swap of two neighbouring digits, and almost every other typing mistake. The page shows the working for your IBAN under the result.
Domestic check digits
Many countries put check digits into the account number itself. The validator runs the methods that apply to every account in a country, each tested against real IBANs:
- France and Monaco: the RIB key (clé RIB): bank code, branch code, account number and key together divide by 97 (letters in the account number count as the digits 1 to 9).
- Italy and San Marino: the CIN check character, calculated from the ABI, the CAB and the account number.
- Spain: the two control digits (DC), each a weighted modulus 11 check.
- Belgium: the last two digits are the first ten modulo 97 (97 instead of 0).
- Portugal (the NIB), Bosnia and Herzegovina, Montenegro, North Macedonia, Serbia and Slovenia: ISO 7064 MOD 97-10 check digits at the end of the account number.
- Poland: the check digit of the 8-digit bank branch code.
- Czechia and Slovakia: weighted modulus 11 checks on the account prefix and on the account number (Czech National Bank Decree 169/2011 Sb.).
- Hungary: weights 9, 7, 3, 1 on the bank branch code and on the account number.
- Croatia: ISO 7064 MOD 11,10 on the bank code and on the account number.
- Estonia: the 7-3-1 check digit of the account number.
- Norway: a modulus 11 check digit.
- United Kingdom: the sort code and account number modulus check with the tables Vocalink publishes, the same as in the UK sort code checker.
When the IBAN’s own check digits are right but these are not, the IBAN was probably calculated from a mistyped or made-up account number, so the page warns instead of calling it valid. Germany is not covered, because its banks use their own check digit methods, and neither is the Netherlands, where not every account number passes the old 11-test.
The BIC (SWIFT code)
A BIC (ISO 9362) identifies the bank: 8 or 11 letters and digits, with the country in characters 5 and 6 (ISO TC 68: What is BIC?). Enter the one you were given and the page checks its format with the rules of the SWIFT / BIC code checker, whether its country is the IBAN’s (or a territory that uses its IBANs), and, where the IBAN holds the bank’s 4-letter code (the UK, Ireland, the Netherlands, Bulgaria, Romania, Latvia, Malta, Bahrain, Kuwait, Qatar and others), whether the BIC starts with the same four letters. Whether a BIC is assigned at all only SWIFT’s directory can say.
SEPA
The SEPA schemes carry euro transfers and direct debits between the EU countries and a number of other European countries and territories (European Central Bank: SEPA). Outside the EU they are the United Kingdom, Switzerland, Norway, Iceland, Liechtenstein, Monaco, San Marino, Andorra, Vatican City, Jersey, Guernsey and the Isle of Man (European Commission: SEPA); Albania, Montenegro, Moldova, North Macedonia and Serbia, which joined by decisions of the European Payments Council (European Commission: Serbia joins SEPA); and Gibraltar, which the SWIFT IBAN Registry lists as a SEPA country. The result says whether the IBAN’s country is in the area. Being in it means a SEPA payment can reach the account when both banks take part in the scheme; your bank can tell you which payments it offers.
QR-IBAN (Switzerland and Liechtenstein)
A QR-IBAN has the format of a normal Swiss or Liechtenstein IBAN, but its bank code (the IID, characters 5 to 9) is between 30000 and 31999, a range reserved for it. It is used only to pay QR-bills that carry a QR reference (SIX). The page marks it, so you do not use it for an ordinary transfer.
Limitations
- A valid IBAN is well formed; it does not prove that the account exists, is open or belongs to the person you expect. Your bank’s payee name check, where it offers one, compares the name.
- No bank directory: the page shows the bank code but not the bank’s name or address, and cannot tell whether a BIC is assigned.
- Domestic check digits are tested for 20 countries only; the bank-specific methods of German banks and the Dutch 11-test are not run.
- It does not calculate an IBAN from a domestic account number: ask the bank, which makes it.
- Countries outside the SWIFT IBAN Registry, such as the United States, Canada, Australia, India and China, have no IBANs; for IBAN-style numbers from other countries only the check digits are tested.
- One IBAN at a time.
Privacy
The IBAN and BIC you enter are checked in your browser and never sent or stored. IBANs are shared to receive payments, but treat bank details with the usual care.
Frequently asked questions
Does a valid IBAN mean the account exists?
No. It means the IBAN is well formed for its country and its check digits match, so it was probably copied correctly. Whether the account exists and whose it is, only the bank knows: use your bank’s payee name check where it offers one, and confirm new bank details through a channel you trust before a large payment.
Why does my bank reject an IBAN that is valid here?
The account may be closed or moved, the receiving bank may not take part in the payment scheme you chose, or the IBAN may be a special one: Swiss and Liechtenstein QR-IBANs, for example, work only for QR-bill payments. Ask the payee to confirm the details.
What are the two check digits?
Characters 3 and 4. They are calculated from the rest of the IBAN with ISO 7064 MOD 97-10, so every single wrong digit and every swap of two neighbouring digits, and almost every other typing mistake, makes them stop matching. The page shows the calculation for your IBAN.
What is the difference between an IBAN and a BIC?
The IBAN identifies the account; the BIC (or SWIFT code, ISO 9362) identifies the bank. Many payment forms ask for both. The SWIFT / BIC code checker can also look a BIC up in GLEIF’s open records.
Do I need the BIC as well?
Use what the payment form asks for. Many euro transfers inside the SEPA area need only the IBAN; other payments often need the BIC too. If you have one, enter it here to check its format and that it fits the IBAN.
Which countries use IBANs?
The countries in the SWIFT IBAN Registry: most of Europe, much of the Middle East and North Africa, and some countries in Latin America, Africa and Asia. The table under the checker lists every one with its length and format. The United States, Canada, Australia, India and China do not use IBANs.
How is an IBAN written?
On paper, in groups of four characters separated by spaces (the last group can be shorter), often after the word IBAN: IBAN DE89 3704 0044 0532 0130 00. In payment files and most online forms, without spaces: DE89370400440532013000. Letters are always capitals. The page gives both forms to copy.
Why is there no domestic check for my country?
Only methods that apply to every account in a country are run, each tested against real IBANs. German banks use their own methods, Dutch account numbers no longer all pass the old 11-test, and for other countries no single published method could be verified. The IBAN’s own check digits still catch almost every typing mistake.
Is it safe to type an IBAN here?
The check runs in your browser: nothing you type is sent or stored. An IBAN on its own lets people pay you, but share bank details only with people you trust.