IBAN Validator & Generator
Validate, format and generate IBANs and SWIFT/BIC codes for 69 countries.
Country Reference
Important Information
• This tool validates IBAN format and check digits, not account existence.
• Generated IBANs are for testing only - they are NOT real bank accounts.
• SWIFT codes are validated against format, not verified against bank directories.
• Always verify banking details with your bank before making transactions.
The IBAN Validator & Generator provides a comprehensive toolkit for working with International Bank Account Numbers and SWIFT/BIC codes across SEPA and non-SEPA countries, including specialized support for Middle Eastern and Asian banking formats. An IBAN (International Bank Account Number) is a standardized alphanumeric code that uniquely identifies a bank account across national borders — it consists of a two-letter country code, two check digits computed via the MOD-97 algorithm, and a Basic Bank Account Number (BBAN) whose internal structure varies by country. This tool validates IBANs by verifying the check digits against the official ISO 13616 algorithm, extracting the embedded country code, bank identifier, branch code, and account number, and formatting the result in both machine-readable (no spaces) and human-readable (4-character groups) formats. The validator covers 69 IBAN regions with their specific BBAN structures: Germany's 22-character format with 8-digit Bankleitzahl, Turkey's 26-character format with account suffix, the UAE's 23-character format, Saudi Arabia's 24-character format, and Singapore's unique non-IBAN system using bank and branch codes. For SWIFT/BIC codes, the tool validates the 8- or 11-character format (bank code, country code, location code, and optional branch code) and resolves the bank name and country from a built-in directory. The generator creates structurally valid test IBANs for any supported country by assembling the correct country-specific component lengths and computing the proper check digits. All processing runs entirely client-side — no bank account numbers are ever transmitted to any server. Common use cases include validating IBANs entered in payment forms before submitting transactions, generating test data for banking application QA, formatting IBANs for invoice templates, and verifying SWIFT/BIC codes before initiating international wire transfers.
All generated values are synthetic test fixtures for software QA: they pass the ISO 13616 structural rules but do not represent real, existing accounts. Likewise, validation confirms format and check digits only — never account existence, ownership or the ability to receive a payment. Every check runs locally in your browser; no bank data is uploaded.
Examples
Validate a well-formed GB IBAN
GB29 NWBK 6016 1331 9268 19Valid
Country: United Kingdom (GB)
Length: 22 characters
Check digits: 29 ✓After stripping spaces the structure and the mod-97 check digits pass, so the IBAN is internally consistent.
Reject a typo in the check digits
GB90 NWBK 6016 1331 9268 19Invalid — check digits should be 29 (entered 90)The first two digits after the country code are a checksum; changing them breaks the mod-97 validation.
About this tool
The IBAN & SWIFT tool validates, formats and generates International Bank Account Numbers for 70+ countries, and looks up SWIFT/BIC bank codes — with full Middle East coverage including Turkey, the UAE, Saudi Arabia, Qatar and Egypt, plus Singapore SWIFT/BIC codes (DBS, OCBC, UOB, Standard Chartered).
Generated IBANs are structurally perfect: correct country prefix, length and MOD-97 check digits. They are built for payment-flow development, bank-form validation and test fixtures — they do not point at real bank accounts, so no money can ever move through them.
Validation checks the country code, length and MOD-97 checksum and pinpoints exactly what is wrong with an invalid IBAN. Everything runs in your browser; account numbers you paste are never uploaded anywhere.
How to use this tool
Choose a mode
Pick Validate to check an IBAN, Generate to create test IBANs, or the SWIFT/BIC tab to look up bank codes.
Select a country
Search any of the 70+ supported countries — length and structure rules adjust to the country automatically.
Run it and copy the result
Validate your IBAN or generate a batch of test IBANs, then copy them straight into your tests or fixtures.
Use cases
Catching typos before a payout
Validate a customer-entered IBAN client-side so a transposed digit fails immediately instead of causing a rejected transfer.
Formatting copied IBANs
Paste a compact IBAN and read it back in printed groups, or strip spaces for an API that wants a contiguous string.
Confirming country and length
Check that an IBAN matches its country's expected length and structure before storing it.
Common IBAN lengths
| Country | IBAN length |
|---|---|
| Turkey (TR) | 26 characters |
| Germany (DE) | 22 characters |
| United Kingdom (GB) | 22 characters |
| France (FR) | 27 characters |
| Netherlands (NL) | 18 characters |
| Spain (ES) | 24 characters |
| Italy (IT) | 27 characters |
| Saudi Arabia (SA) | 24 characters |
| United Arab Emirates (AE) | 23 characters |
| Egypt (EG) | 29 characters |
…and 60+ more countries, covering the full IBAN registry.
Common mistakes
Mistake:Believing a valid IBAN proves the account exists.
Fix:Validation checks format and the mod-97 checksum only. It does not confirm the account is open or belongs to anyone — only the bank can do that.
Mistake:Mixing up the IBAN and the SWIFT/BIC code.
Fix:The IBAN identifies a specific account; the BIC identifies the bank. International transfers usually need both, and they are not interchangeable.
Mistake:Forgetting that spaces are cosmetic.
Fix:IBANs are often printed in 4-character groups for readability, but systems expect the contiguous 22 (or country-specific) character string with no spaces.
Frequently asked questions
What does the IBAN validator check?
It checks the supported country code, expected length, character structure and MOD-97 check digits. Passing these checks does not confirm that an account exists, belongs to someone or can receive payments.
Is my IBAN uploaded for validation?
IBAN format and checksum checks run locally in your browser. They do not require a request to a bank or an account-ownership service.
Does Singapore use IBANs?
No. Singapore is not part of the IBAN system. Use the receiving bank's account details and SWIFT/BIC instructions for a transfer; this tool can inspect SWIFT/BIC structure but cannot confirm a bank account.
Can I use a generated IBAN for a real transfer?
Do not use generated identifiers for real payments. They are synthetic test fixtures, and generation neither creates an account nor guarantees that the value is unassigned. Use your payment provider's documented sandbox data for integration tests.
How do I check a Turkish IBAN?
Select the IBAN validator and paste the number. A Turkish IBAN starts with TR, has 26 characters and must pass MOD-97. This validates structure only, not the account holder or bank account status.
Related guides
References & standards
Related tools
ABA Routing Number Generator
Generate 9-digit US ABA routing numbers with weighted Mod-10 checks.
Address Generator
Generate realistic addresses in the correct format for 21 countries — single-line, multi-line, JSON or HTML — plus a postcode validator. Test data only, runs in your browser.
ASCII Text Art Generator
Turn text into large ASCII art banners with multiple figlet fonts
Credit Card Generator
Generate Luhn-valid test credit card numbers for development and QA (not real cards)
Crypto Address Generator
Create testnet-shaped ETH, BTC, SOL and TRON addresses with checksums.
Driver's License Generator
Generate driver's license numbers in the correct format for 21 countries and all 50 US states, plus a format and Luhn validator — test data only, runs in your browser.