Random IBAN generator

Valid test IBANs with the right format for each country and correct MOD-97 check digits, ready to copy and never issued by a bank.

  • 91 countries
  • Free, no sign-up
  • API and MCP server
Format

DE58120300004548519791

  1. Country DE
  2. Check digits 58
  3. Bank code 12030000
  4. Account number 4548519791
Generate a list Up to 100 IBANs, as CSV, JSON, SQL or plain text

In CSV, JSON and SQL, every IBAN segment (bank, branch, account, check digits) gets its own column.

MOD-97 valid

Realistic mode: real bank code, random account number. No bank issued this IBAN, but it could match a real account by chance. Never use it for payments.

Germany IBAN format

Random IBAN Generator: Valid Test IBANs for 91 Countries on LaunchNest

Use it from your AI assistant

Add the MCP server to Claude, Cursor or VS Code and ask for test IBANs right in the chat. No account, no API key.

What is inside an IBAN

Every IBAN has the same three parts. Only the last one changes from country to country.

DE893704 0044 0532 0130 00

Country code DE

Two letters from ISO 3166-1, such as DE for Germany or IT for Italy. They say which national format the rest follows.

Check digits 89

Two digits computed with MOD-97 from the whole IBAN. They catch nearly every typo, such as a wrong digit or two swapped characters.

BBAN 3704…

The national account number: a bank code, often a branch code, the account number and in some countries a national check digit. Here it is 11 to 27 characters long, depending on the country.

How check digits are calculated What is an IBAN?

IBAN generator by country

Pick a country to see its IBAN format and get a valid test IBAN. The number next to each code is the IBAN length.

Use it from your code

Need IBANs in a test suite, a CI pipeline or an AI agent? The same generator runs behind a REST API and a public MCP server.

  • REST API Generate up to 100 IBANs per request, validate IBANs and read country formats. Needs an API key, issued by email.
  • MCP server Lets AI agents generate and validate test IBANs. Public, no key needed.
  • iban-check Open-source library to validate and parse IBANs offline in JavaScript and TypeScript. No dependencies, MIT licence. GitHub · npm
Request
curl -H "X-API-Key: YOUR_KEY" \
  "https://generaterandomiban.com/api/v1/generate/DE?count=2"
Response
{
  "country": { "code": "DE", "iban_length": 22 },
  "count": 2,
  "ibans": [
    {
      "iban": "DE89370400440532013000",
      "formatted": "DE89 3704 0044 0532 0130 00",
      "valid": true
    },
    …
  ]
}

Frequently asked questions

What is a random IBAN generator?

A tool that creates IBANs with a valid structure: the right country code, length and format, plus check digits that pass the MOD-97 test. Developers and testers use them to fill in payment forms and test data without touching real bank details.

Are these IBANs real or fake?

They are test IBANs, sometimes called fake IBANs: the account number is random and the check digits are correct. No bank issued them, so never use one for a real payment.

Will a generated IBAN pass validation?

It passes the structural checks: country code, length, character format and MOD-97 check digits, plus the national check digits wherever an official algorithm is known. Checks that need bank data are different. A bank directory check accepts it if realistic mode, the default, gave it a real bank code, which we have for some countries, and usually rejects it otherwise. An account lookup will not confirm it.

How does the MOD-97 check work?

Move the first four characters to the end, replace each letter with two digits (A = 10, B = 11, up to Z = 35) and divide the resulting number by 97. If the remainder is 1, the check digits are correct. The method comes from ISO 7064 and is part of the IBAN standard, ISO 13616.

Which countries are supported?

91 countries and territories: every one in the SWIFT IBAN Registry, plus Algeria and Morocco. They include all 27 EU member states, the United Kingdom, Switzerland and Norway, and countries across the Middle East, Africa, Asia and the Americas, such as Turkey, Saudi Arabia, Kazakhstan, Brazil and Costa Rica. Each one follows its own national format.

See all questions Check an existing IBAN