Posted comments (22)

Posted by R.a. Porter at June 6, 2012 23:39:30 CEST
I needed some IBANs for a unit test and was happy to find your generator; however, I think you've got a subset of IBANs that are in error. Either that, or the documentation at ECBS and the checkiban Javascript at UN/CEFACT is in error.

According to ECBS's notes on French IBANs (, the IBANs for
should all begin with "FR", despite those territories all having their own ISO codes.
Posted by Robert Lie at June 7, 2012 21:39:20 CEST
R.a. Porter,

You are right! The documentation at ECBS are correct. I have updated the tool accordingly.
Posted by Henrik Larsson at September 4, 2012 23:06:20 CEST
I am looking for this, I have some questions, I work with financial questions on behalf of clients in Sweden, please contact me at [email protected] , thank you.
Posted by Lisa at October 3, 2012 23:56:30 CEST
I just wondered how you could be sure the IBANs were fictitious? I'd like to use some for testing but would be happier if reassured that these IBANs didn't belong to someone...somewhere. Or is there anyway of knowing this?

Posted by Jochem at October 25, 2013 20:21:16 CEST
Does the random IBAN genarator generate actual account numbers?

For an app I am working on, this would be necessary. Can it be done to first generate a random country code & then proceed with the corresponding IBAN length? How close would the result be to 'hitting' an existing account number?

Looking forward to your reply.
If you want to know more about the app & its use, let me know
Posted by Robert Lie at October 26, 2013 07:37:37 CEST
Lisa and Jochem,

I have created this tool to generate RANDOM Iban numbers for TEST purposes. I use these numbers to test my software. It randomly generates account numbers, then calculates valid checksums. I can not give any assurances that these account numbers does not belong to someone.
Posted by Igniti at February 12, 2014 09:00:21 CET
We have been using your generator to test Online-Shops after implementation of SEPA. It works like a charm. Thank you very much for that!
Posted by Joe at April 28, 2014 13:29:39 CEST
The spanish IBANs are all incorrect.

According the page

The checksums in the account numbers are incorrect.
Posted by Robert at April 29, 2014 09:12:06 CEST

Spanish bank account numbers (BBAN) are made up of 20 digits.

For example: 2100 2527 33 1234567890
-2100 is the name of the bank (ie. La Caixa)
-2527 is the branch code (ie. Mijas Pueblo)
-33 is the security code
-1234567890 is the 10 digit account number.

And other countries have BBAN numbers which are differently formatted.

This tool does not create correct or valid BBAN numbers.
The BBAN numbers are RANDOMLY generated.
Based on the randomly generated BBAN number the correct two digit checksum is calculated.
Posted by Sandeep at July 7, 2014 14:22:49 CEST
Thanks for this service. Its very useful of us who need to test systems with IBAN insertion.

Can you please provide a RESTful (or not) API that takes the same inputs and provides the same outputs as mentioned on this page? I would like to integrate that into my test cases.
Posted by Edgar at February 16, 2015 15:43:47 CET
The German IBANs do not work. I get a SEPA conversion failure. The only one working properly, is the one found within the table of countries.
Posted by Antti at September 25, 2015 06:59:32 CEST

Thanks for this very useful tool.

Seems that some of the generated IBANs are not valid per Finnish IBAN rules. Example: FI9430968691055442.

See link for details:
This IBAN has the correct length for this country (Finland).
The checksum in the account number is incorrect.
The IBAN checksum is correct.
Posted by Fjrjrjfjrjrj at November 4, 2015 20:37:34 CET
Hello there,

I'm not sure to be in the right place. I'm looking for a system which be able to generate random IBAN/BIC numbers all associated to my real IBAN/BIC numbers.

Is this possible ?

This would allow me to receive payments from my clients without they see my real IBAN/BIC numbers.

If Yes, could someone explain me how to proceed ?

Thank You !
Posted by Terion at November 14, 2016 12:13:20 CET
All the Testcountry2 IBANs fail in my testsuite, and they also fail in the validator on
Are they really correct?
Posted by Daniel at February 4, 2017 08:37:55 CET
I tried a Lot of german iban numbers but no one worked. Please help me
Posted by Tim Base at April 4, 2017 11:42:34 CEST
In Holland and I imagine in other European countries too; some services require a valid IBAN number to validate contact details even for some free services (email, hosting, etc). This generator worked perfectly and the number was validated as correct. Huge thank you for all the work put into this -- I will most definitely feature your tool in my blog whenever appropriate!

Tim Base (WebHostWhat).
Posted by Chiacchia at July 12, 2018 14:51:05 CEST
Bellissimo davvero
Posted by Gerda at November 6, 2018 16:36:44 CET
The generated Belgium accountnumbersdo not pass the AIBANcheck
Posted by Some Random Dev at November 14, 2018 15:28:37 CET
I believe that Finland pattern is missing an "n" at the end :D
Posted by David at February 13, 2019 10:15:19 CET

Thanks for the service. One little question, for Portugal Iban, the lengh is correct but for some reason, the IBAN numbers are not correct. I'll explain myself, in PT the 4 first digits are always PT50 the fumbers canĀ“t be aleatory and in the results given it change the 50 for 2 random number.
Anything that you could do about it?
Many thanks again for the tool
Posted by David A. at February 13, 2019 11:17:51 CET

There's a mistake for Portugal, the first 4 digits are always PT50 and not PT2 as written so the IBAN faile in any check.

Portugal    PT    PT2!n4!n4!n11!n2!n    25    PT50000201231234567890154

Can't it be fixed?
Many thanks for this amazing tool!!!
Posted by Robert Lie at February 13, 2019 17:15:54 CET
David A. the tool works correct.
PT50000201231234567890154 is a valid IBAN number for Portugal