IBAN validator and parser
Validate and parse IBAN numbers. Check if an IBAN is valid and get the country, BBAN, if it is a QR-IBAN and the IBAN friendly format.
About IBAN validator and parser
Checks whether an IBAN (International Bank Account Number) is valid and breaks it down: country, BBAN (the national account part), whether it is a Swiss QR-IBAN, and the standard grouped-by-four display format. Validation runs locally with the ibantools library.
When you would use it
- Verifying an IBAN typed into a form or received in an invoice before making a transfer.
- Finding out which country and bank an IBAN belongs to.
- Formatting an IBAN into readable groups of four characters for a document.
How to use it
- Paste the IBAN, with or without spaces.
- Read the validity, any errors found, the country code, the BBAN and the QR-IBAN flag.
- Copy the friendly format if you need it.
Things worth knowing
- Validation checks the length and structure defined for the country and the ISO 7064 mod-97 checksum. A valid IBAN means the number is well-formed, not that the account exists or belongs to a given person.
- The checksum catches almost all single typos and transpositions, which is why banks reject invalid IBANs immediately.
- A QR-IBAN is a Swiss or Liechtenstein IBAN whose bank code is in the 30000 to 31999 range, used only with QR-bills; it cannot be used for ordinary transfers.
- The IBAN is checked in your browser and not sent anywhere. Still, treat account numbers as personal data.
Frequently asked questions
- Why is a real IBAN reported as invalid?
- Most often a typo, a letter O instead of a zero, or a character lost when copying. Some countries also updated their format; make sure the full IBAN including the two check digits was pasted.
- Can it tell me the bank name?
- Only the country and the BBAN are extracted. The bank identifier is part of the BBAN and its meaning differs per country; look it up in that country's bank register.