ToolerCat / IBAN Generator

IBAN Generator

Random test IBANs that pass validation: right length, check digits and national rules.

Check an IBAN in the IBAN validator →

Output
⚠ For testing only. Generated IBANs have the correct format and check digits, but they are random and not linked to any real account. Never use them to send or request money.

How the IBAN generator works

Each IBAN is built from the country's structure in the SWIFT IBAN registry: country code, two check digits and the BBAN (bank code, branch and account number). The check digits are calculated with ISO 7064 mod-97, and national checks such as the French RIB key, the Spanish control digits or the Belgian check are satisfied too, so the IBAN passes any validator — including our IBAN validator.

Use a specific bank code

Enter a bank code (for example a German Bankleitzahl or a UK bank code) to get IBANs for that bank — handy when your system routes payments by bank.

IBAN length and structure by country

The BBAN is the national part after the country code and the two check digits. Click a country for its position-by-position breakdown and test cases.

CountryCodeLengthBBANBank codeSEPA
AustriaAT2016 digits5 (Bankleitzahl)Yes
BelgiumBE1612 digits3 (Bank)Yes
BulgariaBG224 letters + 6 digits + 8 letters or digits4 ()Yes
CroatiaHR2117 digits7 ()Yes
CyprusCY288 digits + 16 letters or digits3 (Bank code)Yes
Czech RepublicCZ2420 digits4 ()Yes
DenmarkDK1814 digits4 ()Yes
EstoniaEE2016 digits2 (Bank)Yes
FinlandFI1814 digits3 ()Yes
FranceFR2710 digits + 11 letters or digits + 2 digits5 (Code banque)Yes
GermanyDE2218 digits8 (Bankleitzahl)Yes
GreeceGR277 digits + 16 letters or digits3 (Bank)Yes
HungaryHU2824 digits3 ()Yes
IcelandIS2622 digits2 ()Yes
IrelandIE224 letters or digits + 14 digits4 (Bank)Yes
ItalyIT271 letters + 10 digits + 12 letters or digits5 (ABI)Yes
LatviaLV214 letters + 13 letters or digits4 (Bank (BIC))Yes
LiechtensteinLI215 digits + 12 letters or digits5 ()Yes
LithuaniaLT2016 digits5 (Bank)Yes
LuxembourgLU203 digits + 13 letters or digits3 ()Yes
MaltaMT314 letters + 5 digits + 18 letters or digits4 ()Yes
MonacoMC2710 digits + 11 letters or digits + 2 digits5 ()Yes
NetherlandsNL184 letters + 10 digits4 (Bank)Yes
NorwayNO1511 digits4 ()Yes
PolandPL2824 digits—Yes
PortugalPT2521 digits4 (Bank)Yes
RomaniaRO244 letters + 16 letters or digits4 ()Yes
Saudi ArabiaSA242 digits + 18 letters or digits2 ()No
SlovakiaSK2420 digits—Yes
SloveniaSI1915 digits2 ()Yes
SpainES2420 digits4 (Entidad)Yes
SwedenSE2420 digits3 ()Yes
SwitzerlandCH215 digits + 12 letters or digits5 (Clearing)Yes
TurkeyTR265 digits + 17 letters or digits—No
UkraineUA296 digits + 19 letters or digits—No
United Arab EmiratesAE2319 digits3 ()No
United KingdomGB224 letters + 14 digits4 (Bank code (+ sort code next 6))Yes

How to test an IBAN field

FAQ

Are generated IBANs real bank accounts?

No. They are random numbers with a valid structure. No real account is behind them, and a bank transfer to them would be rejected.

What can I use them for?

Testing payment and payout forms, SEPA direct debit mandates, KYB onboarding, database fixtures and demos.

Which format should I store?

The electronic format without spaces. Show the print format with spaces to people.

Can I use them in a PSP sandbox?

Sometimes. Many sandboxes only accept their own test IBANs — check your provider's documentation.

What is the maximum length of an IBAN?

34 characters according to ISO 13616. The longest IBAN in the SWIFT registry today has 33 characters; in Europe Malta has 31.

Why do generated IBANs fail at my bank or PSP?

They pass every format check, but no real account is behind them. Live payment systems and many sandboxes check accounts, so use the provider's own test IBANs there.

IBAN generator by country

Austria · Belgium · Bulgaria · Croatia · Cyprus · Czech Republic · Denmark · Estonia · Finland · France · Germany · Greece · Hungary · Iceland · Ireland · Italy · Latvia · Liechtenstein · Lithuania · Luxembourg · Malta · Monaco · Netherlands · Norway · Poland · Portugal · Romania · Saudi Arabia · Slovakia · Slovenia · Spain · Sweden · Switzerland · Turkey · Ukraine · United Arab Emirates · United Kingdom

More about this tool

Generate random IBANs for over 70 countries with correct length, bank-code structure and mod-97 check digits. Output can be printed with spaces, without spaces, or exported as JSON or CSV.

These IBANs are meant for test environments, form validation and demo data. They are not real accounts — never use them for payments or to verify a customer’s identity.