IBAN & SWIFT Generator
Validate, format and generate IBANs and SWIFT/BIC codes for 70+ 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.
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
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
References & standards
Related tools
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)
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.
Email Signature Generator
Build a clean, cross-client HTML email signature — name, title, company, and contact links with an accent color and a live preview
Favicon Generator
Generate favicons (16x16, 32x32) from any image.