Generators

Sample IBAN Generator

Generate checksum-valid sample IBAN numbers for testing in 14 European countries — structurally correct but not real bank accounts.

Loading interactive tool…

Embed this tool on your site

About this tool

The Sample IBAN Generator produces International Bank Account Number (IBAN) strings for testing and development. An IBAN is a 2-letter country code, 2 check digits and a country-specific Basic Bank Account Number (BBAN). Pick one of 14 countries (DE, GB, FR, ES, IT, NL, CH, AT, BE, SE, NO, DK, PL or PT) and the tool fills a BBAN of that country's official length with random characters, then computes the two check digits with the ISO 7064 MOD 97-10 method, so every IBAN passes a standard IBAN checksum test. UK IBANs always use the NWBK bank code and Dutch ones ABNA; other bank, branch and national check fields are random and will not match real banks. Generate 1 to 100 at a time, shown in print format with a space every four characters, and copy the list in one click. These are not real accounts and are safe for test environments and mock data.

Why use it

  • Every IBAN has MOD 97-10 check digits, so it passes standard IBAN checksum validators.

  • Correct total length for each of the 14 supported countries, from 15 characters (Norway) to 28 (Poland).

  • Generate up to 100 IBANs per click for seeding test fixtures.

  • Safe for development: the BBAN digits are random, so they do not belong to real accounts.

How to use

  1. Choose a country from the Country dropdown (14 options, Germany by default).
  2. Set Count to how many IBANs you need, from 1 to 100 (default 5).
  3. Click Generate; the list appears below, one IBAN per line in groups of four characters.
  4. Click Copy all to copy the whole list to your clipboard.
  5. Remove the spaces if your system expects the electronic format (e.g. DE89370400440532013000).

When it helps

  • Seeding test databases with IBAN-format bank account fields.
  • Testing IBAN checksum validation in payment, fintech, or accounting applications.
  • Generating mock IBANs for UI demos or design prototypes.
  • Unit testing IBAN parsers and formatters that handle country-specific lengths.

Examples

Germany (DE)

Input

Country: DE, Count: 1

Expected result

One 22-character IBAN such as DE89 3704 0044 0532 0130 00 (your digits will be random)

United Kingdom (GB)

Input

Country: GB, Count: 1

Expected result

A 22-character IBAN such as GB29 NWBK 6016 1331 9268 19 (GB IBANs always use the NWBK bank code)

Netherlands (NL), three at once

Input

Country: NL, Count: 3

Expected result

NL26 ABNA 6924 8550 21 NL71 ABNA 8791 2339 27 NL22 ABNA 3128 3900 38

Switzerland (CH)

Input

Country: CH

Expected result

CH93 0076 2011 6238 5295 7 (21 chars, MOD 97 valid)

Tips

  • Always store sample IBANs in a clearly labeled test fixture (e.g. fixtures/sample-ibans.json) so they never get confused with production data.
  • If your validator rejects a sample IBAN, check whether it also verifies national BBAN check keys or real bank codes; this tool only guarantees the IBAN-level MOD 97 check digits.
  • Strip the spaces before feeding IBANs to systems that expect the electronic format.
  • For multi-country tests, generate at least one IBAN per supported country to catch country-specific length bugs early.
  • IBANs alone often aren't enough for SEPA tests; plan separate BIC values if your flow needs them.
  • Never paste a generated IBAN into a real bank's transfer form, even by accident — checksum-valid does not mean the account exists.

Frequently Asked Questions

Are these real bank account numbers?
No. Generated IBANs are structurally valid (correct format and checksum) but do not correspond to real accounts. They will fail bank-level account verification.
How are check digits calculated?
IBAN check digits use the MOD 97-10 algorithm (ISO 7064). The BBAN and country code are rearranged and converted to numbers, then the check digits are chosen so the result ≡ 1 (mod 97).
What is a BBAN?
The Basic Bank Account Number (BBAN) is the country-specific portion of an IBAN. Its format and length vary by country — for example, UK IBANs use a 6-digit sort code and 8-digit account number.
Which countries are supported?
14: Germany, the United Kingdom, France, Spain, Italy, the Netherlands, Switzerland, Austria, Belgium, Sweden, Norway, Denmark, Poland and Portugal. Each uses that country's official IBAN length.
Do the bank codes look real?
Only partly. UK IBANs always use the NWBK bank code and Dutch IBANs always use ABNA. The rest of the BBAN is random digits (with random letters in the French branch position and the first Italian character), and national check keys inside the BBAN are not calculated, so country-specific BBAN validators may reject them even though the IBAN checksum passes.
Can I get IBANs without spaces?
The output is always in print format with a space every four characters. Strip the spaces, for example with find-and-replace, to get the electronic format.
Can I use these IBANs in production?
No. These are sample IBANs for development and testing only. Using them in production transactions will fail.

Explore the category

Glossary

IBAN
International Bank Account Number — an internationally agreed format (ISO 13616) for identifying bank accounts across national borders, with up to 34 alphanumeric characters.
MOD 97-10 / ISO 7064
The check-digit algorithm used by IBAN. The country code and BBAN are rearranged, letters are converted to numbers (A=10, B=11, ... Z=35), and the check digits are chosen so the integer is congruent to 1 modulo 97.
BBAN
Basic Bank Account Number — the country-specific portion of an IBAN that follows the country code and check digits. Format and length vary per country.
Country code
Two uppercase ISO 3166-1 alpha-2 letters at positions 1-2 of an IBAN identifying the country (e.g. DE for Germany, GB for the United Kingdom).
Check digits
The two numeric digits at positions 3-4 of an IBAN, computed from the rest of the IBAN using MOD 97-10. They detect single-digit and most transposition errors.
BIC / SWIFT
Bank Identifier Code (also called SWIFT code) — an 8 or 11 character code identifying a specific bank. Often paired with an IBAN for international transfers but separate from it.
SEPA
Single Euro Payments Area — the eurozone payment scheme that relies on IBAN as the universal account identifier for cross-border euro transfers.
Print vs electronic format
Print format groups IBAN characters in fours separated by spaces (DE89 3704 0044 0532 0130 00); electronic format omits all spaces (DE89370400440532013000).
A LITTLE HELP. A LOT DONE.
Good tools.
Great flow.

Your shortcut to the everyday. Create, convert, calculate,
and get back to what you love.

✓ Free to use✓ No sign-up✓ 500+ possibilities