UtilityKit

500+ fast, free tools. Most run in your browser only; Image & PDF tools upload files to the backend when you run them.

Sample IBAN Generator

Generate valid-format sample IBAN numbers for testing across 30+ countries — structurally correct but not real bank accounts.

About Sample IBAN Generator

The Sample IBAN Generator produces structurally valid International Bank Account Number (IBAN) strings for testing and development purposes. IBANs follow a country-specific format: a 2-letter country code, 2 check digits, and a country-specific Basic Bank Account Number (BBAN). This generator creates IBANs with correct format, length, and mathematically valid check digits (calculated using the MOD 97 algorithm) for over 30 countries including Germany (DE), France (FR), the UK (GB), Netherlands (NL), Spain (ES), Italy (IT), Switzerland (CH), and many more. These IBANs pass format validation and checksum tests but are not real bank accounts — safe for use in test environments and mock data.

Why use Sample IBAN Generator

  • Generates IBANs with valid format and MOD 97 check digits — pass validation tests.
  • Supports 30+ countries with country-specific BBAN formats.
  • Bulk generation for test data seeding.
  • Safe for development — clearly marked as sample/test data, not real accounts.
  • Generates IBANs with valid format and MOD 97 check digits — they pass any compliant validation library.
  • Supports 30+ countries with correct country-specific BBAN segment lengths and structure.

How to use Sample IBAN Generator

  1. Select a country from the dropdown.
  2. Click Generate to create a sample IBAN for that country.
  3. Use the Bulk mode to generate multiple IBANs at once.
  4. Click Copy to copy the IBAN to your clipboard.
  5. Select a country from the dropdown to use that country's BBAN structure and length.
  6. Click Generate to create one structurally valid sample IBAN with a correctly computed MOD 97 check digit.
  7. Switch to Bulk mode and enter a count to produce many IBANs at once for database seeding.

When to use Sample IBAN Generator

  • Seeding test databases with IBAN-format bank account fields.
  • Testing IBAN validation logic in payment or fintech applications.
  • Generating mock IBANs for UI demos or design prototypes.
  • Unit testing IBAN parsers and formatters.
  • Seeding test databases with realistic IBAN-format bank account fields for staging environments.
  • Testing IBAN validation logic in payment, fintech, or accounting applications.

Examples

Germany (DE)

Input: Country: DE

Output: DE89 3704 0044 0532 0130 00 (sample only — not a real account)

United Kingdom (GB)

Input: Country: GB

Output: GB29 NWBK 6016 1331 9268 19 (sample only — sort code/account number are random)

Bulk Netherlands (NL)

Input: Country: NL, Count: 3

Output: NL91 ABNA 0417 1643 00 NL44 RABO 0123 4567 89 NL12 INGB 0987 6543 21

Switzerland (CH)

Input: Country: CH

Output: 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, double-check it expects MOD 97-10 (not MOD 11 or some custom variant) and that you're passing the electronic format with no spaces.
  • For multi-country tests, generate at least one IBAN per supported country to catch country-specific length bugs early.
  • Pair the generator with a Sample BIC/SWIFT generator if your test flow requires both — IBANs alone often aren't enough for SEPA tests.
  • Use bulk mode + CSV export to seed thousands of test rows quickly instead of generating one at a time.
  • Never paste a generated IBAN into a real bank's transfer form, even by accident — checksum-valid does not mean the account exists.
  • When prototyping, prefix the account holder name with 'TEST_' alongside any sample IBAN to make accidental misuse obvious.

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?
30+ European and Middle Eastern countries including DE, FR, GB, NL, ES, IT, CH, AT, BE, DK, FI, NO, SE, PT, PL, CZ, HU, and others following the ISO 13616 IBAN standard.
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).