If you build forms, run automated tests, or put together a demo, sooner or later you need an IBAN that looks right but isn’t anyone’s actual account. Typing in your own bank details is a bad idea, and copying a stranger’s from the web is worse.
What “valid” actually means for an IBAN
An IBAN passes validation when three things line up: the country code is real, the total length matches that country’s rule, and the two check digits satisfy the ISO 7064 mod-97 calculation. That is the whole test most software runs. None of it confirms the account exists. It only confirms the number is internally consistent.
So a “valid example IBAN” is one that satisfies those structural rules while the account body is just random digits. It will sail through a length check, a format check and a checksum check, which is exactly what you want when you are testing that your own validation works.
How to generate one
Pick a country so the right length is used, then fill the account positions with random digits and compute the check digits for them. The IBAN generator does this for you: choose a country (or let it pick at random), press Generate, and copy the result. For test fixtures you can generate a batch of five at once.
If you would rather build one from specific bank and account numbers, the IBAN calculator takes those inputs and adds the check digits. To go the other way and check a number you already have, use the IBAN validator.
Why you should never treat it as real
A generated IBAN is for software, not money. Because the account body is random, two risks follow. First, it almost certainly maps to no open account, so a payment would bounce or sit in limbo. Second, by sheer chance it could match someone’s real account, and sending money there would be a mistake you cannot easily undo. Keep these numbers in test environments, sample data and screenshots, never in a real transfer.
TL;DR: A valid example IBAN has the right country, length and check digits but a random account body. Generate one in the IBAN generator for testing and demos, and never use it to move money.