IBAN validator and parser
Validate and parse IBAN numbers. Check if an IBAN is valid and get the country, BBAN, if it is a QR-IBAN and the IBAN friendly format.
Enable JavaScript to use the interactive tool. The guide below explains how it works.
IBAN Validator and Parser: A Technical Deep Dive
What the tool does
The IBAN Validator and Parser is a robust utility designed to verify the structural integrity and mathematical correctness of International Bank Account Numbers (IBAN). Beyond simple validation, it serves as a sophisticated parsing engine that decomposes a complex IBAN string into its constituent parts, such as the country code and the Basic Bank Account Number (BBAN).
The tool utilizes the ISO 13616 standard to perform its checks. It automatically handles common formatting issues like spaces and hyphens, normalizes the input to uppercase, and then applies a series of rigorous tests: length verification (specific to each country), character set validation, and the MOD-97-10 checksum algorithm. If an IBAN is invalid, the tool provides specific, human-readable error messages explaining exactly which part of the validation failed. Additionally, it identifies specialized variants like the Swiss QR-IBAN and provides a "friendly format" version of the input for better readability.
Why someone uses it
In the global financial landscape, the accuracy of bank account details is paramount. A single digit error in a cross-border transfer can lead to failed transactions, significant bank fees, and administrative delays.
1. Financial Data Integrity
Businesses processing payroll, supplier payments, or customer refunds use this tool to ensure that every IBAN entered into their systems is valid before attempting a transaction. This proactive validation saves thousands of dollars in "returned item" fees charged by banks.
2. Software Integration Testing
Developers building fintech applications or e-commerce platforms use the tool to generate or verify test data. By understanding why certain IBANs fail (e.g., "Wrong Checksum"), they can build better error-handling logic into their own software.
3. Cross-Border Remittance
Individuals sending money internationally often receive IBANs in various formats (scrunched together or separated by spaces). This tool allows them to verify the code is correct and see it in the standard "friendly" 4-character block format used by most banking interfaces.
4. Identification of QR-IBANs
With the rise of QR-bills in regions like Switzerland and Liechtenstein, distinguishing a standard IBAN from a QR-IBAN (which has specific routing requirements) is essential for modern payment processing.
Step-by-step instructions
- Input the IBAN: Locate the "IBAN validator and parser" tool. In the main input field, enter the IBAN you wish to check.
- Note: You don't need to worry about spaces or dashes; the tool cleans the input automatically.
- Instant Validation: As you type or paste, the tool immediately processes the input. A results card will appear below the input field.
- Interpret the Results:
- Is IBAN valid?: A clear "true" or "false" indicator.
- IBAN errors: If invalid, this section lists specific reasons (e.g., "Wrong IBAN checksum" or "No IBAN country").
- Is IBAN a QR-IBAN?: Indicates if this is a specialized Swiss QR-payment code.
- Country code: Displays the ISO country prefix (e.g., "FR" for France).
- BBAN: Shows the internal country-specific part of the account number.
- IBAN friendly format: Shows the IBAN separated into easy-to-read blocks (e.g.,
FR76 3000 6...).
- Copy Data: Click on any of the result values (like the BBAN or the friendly format) to copy them to your clipboard for use in other applications.
- Use Examples: If you just want to see how the tool works, the "Valid IBAN examples" section at the bottom provides clickable samples from different countries.
Examples
Example 1: A Valid French IBAN
- Input:
fr7630006000011234567890189 - Result: Validated as
true. The tool formats it asFR76 3000 6000 0112 3456 7890 189. - Use Case: A user wants to make sure they didn't miss a digit when copying from a paper statement.
Example 2: An Invalid Checksum
- Input:
DE89370400440532013001(last digit changed from 0 to 1) - Result: Validated as
false. - Error: "Wrong IBAN checksum".
- Analysis: This tells the user that while the length and country code are correct for Germany, the internal math doesn't add up, indicating a typo.
Example 3: Wrong Length for Country
- Input:
GB29NWBK601613319268(shorter than required for UK) - Result: Validated as
false. - Error: "Wrong BBAN length".
- Context: The tool knows that a UK IBAN must be exactly 22 characters long.
FAQs
Q: What is an IBAN?
A: An IBAN (International Bank Account Number) is an internationally agreed-upon system of identifying bank accounts across national borders with a reduced risk of propagating transcription errors.
Q: Does this tool store my bank details?
A: No. All validation and parsing happen locally in your browser. No data is sent to a server, making it safe for handling sensitive financial identifiers.
Q: Can this tool tell me who owns the account?
A: No. For security and privacy reasons, an IBAN only contains routing and account identification information. It does not contain the name of the account holder or the account balance.
Q: What is a QR-IBAN?
A: A QR-IBAN is a special version of an IBAN used specifically for Swiss QR-bills. It has a specific range of IID (Instituts-Identifikation) numbers and is mandatory for certain types of structured payments in Switzerland.
Q: Why does it say "Wrong Checksum" when the number looks right?
A: The last two digits of the IBAN are a "check" calculated from the rest of the number. If you change even one digit anywhere else in the IBAN, the check digits will no longer match the calculated result.
Common mistakes
1. Forgetting the Country Code
An IBAN must always start with a two-letter ISO country code. Providing just the local account number (like a RIB in France or a Sort Code in the UK) will result in a "No IBAN country" error.
2. Confusing zeros (0) and letters (O)
In some fonts, these look identical. The IBAN standard is strict about character types. If you get a "Wrong BBAN format" error, check for character substitution.
3. Thinking all IBANs are the same length
IBAN lengths vary by country. For example, Norway uses 15 characters, while Malta uses 31. Don't assume an IBAN is "too long" or "too short" without checking the specific country's standard.
4. Manually calculating checksums
Never try to "guess" the check digits. Use a tool like this one to verify them. The MOD-97 algorithm is complex and involves treating the entire IBAN string as a single massive integer.
Use cases
- Accounting Departments: Verifying vendor bank details before adding them to an ERP system (like SAP or Oracle).
- Freelancers: Checking their own IBAN before putting it on an invoice for an international client.
- Software Developers: Writing unit tests for payment gateways and needing valid/invalid IBAN strings.
- HR Managers: Ensuring employee bank details are correct for international payroll cycles.
- Customer Support: Helping users who are having trouble adding a payment method by identifying if their provided IBAN is structurally sound.
Related tools
- BIC/SWIFT Lookup: Often used alongside IBAN for international wire transfers.
- Phone Parser: Useful when collecting contact information alongside financial details.
- JSON to CSV Converter: Helpful for exporting lists of validated IBANs from a database export into a spreadsheet format.
- Basic Auth Generator: Used by developers when testing secure banking API endpoints.