DevTools Logo

IBAN & SWIFT Generator

IBAN & SWIFT Generator

Validate, format and generate IBANs and SWIFT/BIC codes for 70+ countries.

    Privacy Notice: This tool runs entirely in your browser. Your data is never sent to any server or stored anywhere.

    IBAN Generator

    Testing Only: Generated IBANs have valid check digits but are NOT real bank accounts.

    IBAN Length: 22 characters

    If empty, a random bank code will be generated

    If empty, a random account number will be generated

    Country Reference

    Single Euro Payments Area - instant euro transfers
    ADAndorra
    ATAustria
    BEBelgium
    BGBulgaria
    HRCroatia
    CYCyprus
    CZCzech Republic
    DKDenmark
    EEEstonia
    FIFinland
    FRFrance
    DEGermany
    GIGibraltar
    GRGreece
    HUHungary
    ISIceland
    IEIreland
    ITItaly
    LVLatvia
    LILiechtenstein
    LTLithuania
    LULuxembourg
    MTMalta
    MCMonaco
    NLNetherlands
    NONorway
    PLPoland
    PTPortugal
    RORomania
    SMSan Marino
    SKSlovakia
    SISlovenia
    ESSpain
    SESweden
    CHSwitzerland
    GBUnited Kingdom
    VAVatican City

    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

    Input
    GB29 NWBK 6016 1331 9268 19
    Output
    Valid
    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

    Input
    GB90 NWBK 6016 1331 9268 19
    Output
    Invalid — 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

    1. Choose a mode

      Pick Validate to check an IBAN, Generate to create test IBANs, or the SWIFT/BIC tab to look up bank codes.

    2. Select a country

      Search any of the 70+ supported countries — length and structure rules adjust to the country automatically.

    3. 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

    CountryIBAN 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