🏦 IBAN Validator & Generator 🏦

Validate IBAN format, check structure, and generate test IBANs for all countries

πŸ“‹ Load Sample:

πŸ” Validation Result

πŸ“‹ IBAN Information

πŸ“š IBAN Format Explained

πŸ“‹ What is an IBAN?

IBAN (International Bank Account Number) is an internationally agreed system of identifying bank accounts across national borders. It was originally developed to facilitate payments within the European Union but has been adopted by many countries worldwide.

IBAN Structure

An IBAN consists of up to 34 alphanumeric characters:

  • Country Code (2 letters): ISO 3166-1 alpha-2 country code (e.g., GB, DE, FR)
  • Check Digits (2 digits): Modulo 97-10 validation digits
  • BBAN (Basic Bank Account Number): Country-specific bank account identifier

Format: CCKKBBBBBBBBBBBBBBBB

  • CC = Country Code (2 letters)
  • KK = Check Digits (2 digits)
  • BBBBBBBBBBBBBBBBBB = BBAN (variable length, country-specific)
Country-Specific IBAN Lengths

IBAN length varies by country. Common lengths:

  • 15 characters: Norway (NO)
  • 16 characters: Belgium (BE)
  • 18 characters: Netherlands (NL), Denmark (DK), Finland (FI), Faroe Islands (FO), Greenland (GL)
  • 19 characters: Slovenia (SI), North Macedonia (MK)
  • 20 characters: Austria (AT), Luxembourg (LU), Estonia (EE), Lithuania (LT), Bosnia (BA), Kosovo (XK)
  • 21 characters: Switzerland (CH), Croatia (HR), Liechtenstein (LI), Latvia (LV)
  • 22 characters: United Kingdom (GB), Germany (DE), Ireland (IE), Bulgaria (BG), Serbia (RS), Montenegro (ME), Azerbaijan (AZ), Georgia (GE), Kazakhstan (KZ)
  • 23 characters: United Arab Emirates (AE), Gibraltar (GI), Israel (IL)
  • 24 characters: Spain (ES), Sweden (SE), Czech Republic (CZ), Slovakia (SK), Romania (RO), Poland (PL), Portugal (PT), Andorra (AD), Albania (AL), Moldova (MD), Pakistan (PK), Saudi Arabia (SA), British Virgin Islands (VG), Tunisia (TN)
  • 25 characters: Portugal (PT)
  • 26 characters: Iceland (IS), Turkey (TR)
  • 27 characters: France (FR), Italy (IT), Greece (GR), Monaco (MC), San Marino (SM), Mauritania (MR)
  • 28 characters: Poland (PL), Hungary (HU), Albania (AL), Azerbaijan (AZ), Belarus (BY), Lebanon (LB), Morocco (MA)
  • 29 characters: Brazil (BR), Egypt (EG), Palestine (PS), Ukraine (UA), Dominican Republic (DO), Guatemala (GT)
  • 30 characters: Jordan (JO), Kuwait (KW), Mauritius (MU)
  • 31 characters: Malta (MT)
  • 32 characters: Saint Lucia (LC)
  • United States (US): Not officially supported (uses routing numbers)

πŸ”’ Check Digit Calculation

The IBAN check digits are calculated using Modulo 97-10 algorithm:

  1. Move the first 4 characters (country code + check digits) to the end
  2. Replace letters with numbers (A=10, B=11, ..., Z=35)
  3. Calculate: remainder when divided by 97
  4. Check digits = 98 - remainder (if remainder is 0, check digits are 97, but displayed as 01)

βœ… Validation Rules

  • Must start with 2-letter country code
  • Followed by 2 check digits (00-99)
  • Followed by country-specific BBAN
  • Total length must match country's IBAN length
  • Check digits must be valid (Modulo 97-10)
  • BBAN format must match country's requirements

πŸ’‘ Common Use Cases

  • International Payments: SEPA transfers within Europe
  • Bank Transfers: Cross-border money transfers
  • Invoice Processing: Automated payment processing
  • Account Verification: Validate bank account numbers
  • Financial Software: Integration with banking systems

About This Tool & Methodology

This validator implements the official IBAN specification. Validation includes country code and length checks, structural BBAN rules where available, and the ISO 13616 Mod 97‑10 check digit calculation. The generator creates test IBANs for development by producing random BBANs that meet length constraints and valid check digits; these are not guaranteed to be real bank accounts.

Authorship & Review
  • Author: 8gwifi.org engineering team
  • Reviewed by: Anish Nath (tools maintainer)
  • Last updated: 2025-11-19
Trust & Privacy
  • Validation runs entirely in your browser; IBANs are not stored on our servers.
  • Generated IBANs are for testing only and should not be used for real payments.
  • Questions or feedback? Reach us via Contact.

Support This Free Tool

Every coffee helps keep the servers running. Every book sale funds the next tool I'm dreaming up. You're not just supporting a site β€” you're helping me build what developers actually need.

500K+ users
200+ tools
100% private
Privacy Guarantee: Private keys you enter or generate are never stored on our servers. All tools are served over HTTPS.