Test IBAN generator
Generate IBANs that pass validation, for testing payment and bank details forms. The checksum and length are right for the country; the bank and account numbers are random.
runs in your browser · nothing uploaded
How to use it
- Choose a country and how many IBANs you need.
- Untick "groups of four" for the compact form most APIs expect.
- To check an IBAN, paste it in the box below the list.
How the IBAN check works
An IBAN is a two-letter country code, two check digits and the country's domestic account format (ISO 13616). To check one, move the first four characters to the end, replace each letter with a number (A = 10 up to Z = 35), and divide the result by 97: a valid IBAN leaves a remainder of 1. Each country also has a fixed length, such as 22 characters for the UK and Germany and 27 for France.
Use them for testing only
A test IBAN passes format checks, but it is not a real account, and a bank will reject a payment to it. Many banking APIs also check that the bank code exists, so use your provider's sandbox IBANs when testing real transfers.
Questions
Is anything sent to a server?
No. The data is generated in your browser and nothing you set or generate is uploaded or stored by us.
Could a generated IBAN belong to a real account?
It is possible by chance, as with any random account number, though the bank code is random too. Never send money to a generated IBAN.