Valid random IBAN generator

Generate valid random IBANs with correct MOD-97 check digits for 40+ countries, including Spain, Germany, France and the UK. Create a single test IBAN or bulk-export up to 100 values to CSV, JSON, or TXT for QA, payment-form testing, demos, and fixtures — all in your browser, with no real banking data and no sign-up.

Configure your IBAN

More than thirty countries with official formats and dynamically calculated checksum digits.

1

Select a country to generate an IBAN.

Country Code
Check Digits
BBAN

Length

BBAN structure

IBAN generation runs in your browser IBAN values are not sent by the tool Up to 100 per batch No Signup Required

Methodology & sources

What the generator verifies — and what it cannot

The browser selects characters that fit the configured national BBAN pattern and computes the two international check digits with MOD97-10. Some supported countries also use curated bank-code lists or domestic check-digit logic where implemented.

Passing length, pattern, and MOD-97 checks proves only structural validity. It does not prove that a bank code is current, that an account exists, that it can receive funds, or that a generated value is unassigned.

Country lengths and BBAN patterns are reviewed against the public SWIFT IBAN Registry, version 102 (June 2026).

Methodology last reviewed July 18, 2026. RandomIBAN is not affiliated with SWIFT, ISO, or any bank.

Understanding IBAN Structure

ES76 2100 0418 4502 0005 1332
CC — ISO 3166-1 country code
CD — Check digits (mod 97)
BBAN — Basic Bank Account Number

History & purpose

Discover the story behind the IBAN

Every IBAN reflects decades of cross-border collaboration. The International Bank Account Number emerged in the 1990s to solve a persistent challenge: moving money between European banks with inconsistent account data. The European Committee for Banking Standards and ISO joined forces to design a structure that would be instantly recognisable worldwide. Today, more than seventy territories rely on the IBAN to route payments without friction.

Why the IBAN matters

A well-formed IBAN allows banks to validate an account number automatically before they move any funds. The checksum digits catch typing mistakes and dramatically reduce the risk of rejected or delayed transfers. Each segment in the code identifies the country, the financial institution, and the internal account reference, creating a consistent language for reconciliation and customer experiences.

Organisations that operate across multiple markets rely on accurate test IBANs while they configure payment gateways, automation scenarios, or QA suites. This generator mirrors each country’s official format so you can validate integrations without exposing sensitive production data.

Evolution and curiosities

Since its official adoption in 1997, the IBAN has expanded far beyond Europe to markets across the Middle East, the Caribbean, and North Africa. Some jurisdictions lengthen the structure to include regional banking codes, while others keep compact versions that favour mobile-first banking journeys.

  • ISO 13616 permits IBANs of up to 34 characters. In this generator, supported formats range from Norway at 15 characters to Malta at 31.
  • Modern open-banking platforms validate IBANs in real time, displaying contextual messages when an account exists and is ready to receive funds.
  • Training teams rely on synthetic IBANs like the ones you can generate here to simulate reimbursements or refunds without risking real balances.

How is an IBAN validated?

Generation creates synthetic test data; validation checks a value you already have. Use the dedicated validator for country, length, format and MOD-97 checksum results.

Open the IBAN validator →

Make the most of this generator

Experiment with different countries and pin your favourite examples in the built-in history. Whenever you prepare a new environment, you can instantly recover the IBANs that already work with your payment flows.

Share curated lists with QA or engineering peers to maintain a shared library of fictitious financial data. Every IBAN produced here includes the correct structure and checksum, making them perfect for automated tests, sales demos, or educational workshops.

Best practices for your projects

Document your testing scenarios in internal wikis or repositories and reference the IBANs alongside the expected outcomes. Clean up old datasets when you migrate environments and limit access to sensitive records so that only synthetic accounts are used in each sprint.

Complement the IBAN with other synthetic attributes, such as account holder names or BIC codes, to recreate full user journeys. This approach reveals cross-validation bugs, approval workflows, and event-driven automations within minutes.

Supported Countries

Click any country to generate an IBAN for it.

Frequently Asked Questions

Common questions about IBAN generation and usage

What is an IBAN?

An IBAN (International Bank Account Number) is a standardized international numbering system developed to identify bank accounts across national borders. It consists of a country code, two check digits, and a Basic Bank Account Number (BBAN) that includes the bank identifier and account number. IBANs were introduced to reduce errors in cross-border transactions and are used in over 70 countries worldwide.

Are the generated IBANs safe to use?

Generated IBANs are intended for isolated testing, development, and demonstrations. They include a country pattern and correct MOD-97 check digits, but are not checked against bank or account directories, so an accidental match cannot be ruled out. Never use them for a payment, a live customer record, or a production payment system.

Which countries are supported?

Our generator supports over 30 countries including all major European markets (Germany, France, Spain, Italy, United Kingdom, Netherlands, Belgium, Portugal, Ireland, Switzerland, Austria), Nordic countries (Sweden, Norway, Finland, Denmark, Iceland), Eastern European countries (Poland, Czech Republic, Slovakia, Hungary, Romania, Bulgaria, Croatia, Slovenia, Serbia), Baltic states (Estonia, Latvia, Lithuania), and select Middle Eastern and other regions (Saudi Arabia, UAE, Qatar, Turkey, Cyprus, Malta, Brazil, Costa Rica, Dominican Republic, Israel). Each country implementation follows the official IBAN format specifications published by national banking authorities.

How does IBAN validation work?

IBAN validation uses the modulo 97 algorithm defined in ISO 13616. The process involves moving the first four characters (country code and check digits) to the end of the IBAN, converting all letters to numbers (A=10, B=11, ... Z=35), and performing a modulo 97 operation on the resulting number. If the result equals 1, the IBAN is valid. Our generator automatically calculates the correct check digits for each generated IBAN to ensure they pass this validation.

Can I use these IBANs in production systems?

No, absolutely not. The generated IBANs are synthetic test data and must never be used in production payment systems, live transactions, or any real financial operations. They are intended solely for testing environments, quality assurance, demonstrations, training materials, and documentation. Using fake IBANs in production could lead to payment failures, compliance issues, and potential legal problems.

Can I generate multiple IBANs at once?

Yes. The quantity control creates between 1 and 100 IBANs in one batch. You can copy the batch or export CSV, JSON, or plain text. Larger datasets should be generated with reviewed code in an isolated test environment.

What is the structure of an IBAN?

An IBAN consists of up to 34 alphanumeric characters with the following structure: a two-letter country code (e.g., DE for Germany), two check digits calculated using modulo 97, and a Basic Bank Account Number (BBAN) that varies by country. The BBAN typically includes a bank code, branch identifier, and account number. For example, a German IBAN has 22 characters, while a UK IBAN has 22 characters, and a French IBAN has 27 characters. The exact length and format depend on each country''s banking standards.

What is a test IBAN?

A test IBAN is a synthetic value used in development, QA, or demonstrations. It can match a configured country pattern and pass MOD-97, but it is not checked against bank directories, account assignments, or provider sandboxes; an accidental match cannot be ruled out. Use generated values only in isolated format tests and use a provider's current designated values for integration testing.

How do I generate a valid fake IBAN?

Select a country and click "Generate IBAN". The tool builds a BBAN matching its configured national pattern and calculates the MOD-97 check digits. The result can pass structural validation, but bank-code currency, account existence, and assignment are not verified. Generate up to 100 values and export CSV, JSON, or plain text.

What is the format of a Spanish IBAN?

A Spanish IBAN has 24 characters with the format ES + 2 check digits + 20-digit BBAN. The BBAN consists of: bank code (4 digits), branch code (4 digits), national check digits (2 digits), and account number (10 digits). For example: ES76 2100 0418 4502 0005 1332. Major Spanish banks include Santander (0049), BBVA (0182), CaixaBank (2100), and Sabadell (0081). Our generator draws Spanish bank codes from a configured reference list, but does not certify that a code is current or that an account exists.

How do I validate an IBAN number?

IBAN checksum validation uses the MOD-97 algorithm defined in ISO 13616. The process involves moving the first 4 characters to the end, converting all letters to numbers (A=10, B=11... Z=35), and dividing the resulting number by 97. A remainder of 1 means the checksum passes, not that the bank or account exists. Our validator performs this check in your browser without submitting the IBAN value to RandomIBAN.

What is an IBAN calculator?

An IBAN calculator is a tool that computes valid IBAN numbers from basic bank account details. It takes a country code and BBAN (bank code, branch, and account number) and calculates the two check digits using the MOD-97 algorithm defined in ISO 13616. Our IBAN generator works as a full IBAN calculator — it generates structurally correct BBANs for supported countries and automatically calculates the check digits, producing valid IBANs ready for testing, QA, and development environments.

How is an IBAN number generated?

An IBAN is generated in three steps: first, a Basic Bank Account Number (BBAN) is created following the configured character pattern for the target country. Where implemented, the generator also uses a curated bank-code list or national checksum rule; otherwise those positions are synthetic pattern-matching values. Second, the check digits are calculated using the MOD-97 algorithm. Third, the final IBAN is assembled as country code + check digits + BBAN. Passing these checks establishes structural validity only, not bank-code currency or account existence.

Important: generated IBANs are structurally valid and include correct check digits, but RandomIBAN does not query any bank or account directory. An accidental match with an issued account cannot be ruled out. Use values only in isolated test or demo environments, never for payments or production customer records.