Skip to content
FastTool

Validate IBAN check digits and parse bank account fields

Check ISO 13616 country length, slice domestic bank and sort codes, read BigInt MOD 97-10 steps, and spot mistyped digits.

Runs in your browser. Nothing is uploaded.

Your IBAN or batch list

Spaces and hyphens are optional. Checks 89 ISO 13616 countries from 15 characters (Norway) to 33 characters (Russia).

1-click examples and error demos

Browse all 89 ISO 13616 country formats

Check result and parsed fields

Valid IBAN United Kingdom (GB) · 22 chars SEPA supported

GB82 WEST 1234 5698 7654 32

Passes United Kingdom (22 characters, 4a-6n-8n) structure and ISO 7064 MOD 97-10 remainder 1 (SEPA scheme country).

Segmented field breakdown

Positions 1–22

GBCountry codePos 1–2
82MOD-97 checkPos 3–4
WESTBIC bank codePos 5–8
123456Sort codePos 9–14
  • ✓ Allowed A–Z / 0–9
  • ✓ ISO country code
  • ✓ Country length
  • ✓ BBAN structure
  • ✓ MOD 97 remainder = 1

ISO 7064 MOD 97-10 calculation

Exact BigInt arithmetic

  1. 1. Move the first 4 characters (GB82) to the end:WEST12345698765432GB82
  2. 2. Replace letters A–Z with 10–35 (W=32, E=14, S=28, T=29, G=16, B=11):3214282912345698765432161182
  3. 3. Compute exact integer modulo 97:33136937240677306860125373 × 97 + 1 → Remainder = 1 (passes ISO 7064 MOD 97-10 check)
  • 1 MOD 97 remainder Matches expected 1
  • 22 chars IBAN length Expected 22 for GB
  • 4a-6n-8n BBAN format Matches GB format
  • Yes SEPA scheme EPC SEPA scheme

How to use

  1. Paste or type an IBAN into IBAN to check, with or without spaces and hyphens.
  2. Read the status pill to confirm country length, domestic BBAN character rules, SEPA support, and modulo 97 remainder 1.
  3. Inspect the color-coded segments to read the sliced bank identifier, branch or sort code, national check digit, and account number.
  4. When an IBAN fails modulo 97, check the 1-edit suggestions for O/0, I/1, B/8, or swapped neighbor digits.
  5. Copy the spaced 4-character print string for invoices, or copy the compact electronic string for online banking forms.
  6. Switch to Batch list (1–100) to check up to 100 pasted lines at once and export a clean CSV report.

Worked example

Input

Official United Kingdom test IBAN GB82 WEST 1234 5698 7654 32 (22 characters, SEPA supported).

Rearrange & expand

Move GB82 to the end and map letters A=10..Z=35 to get 3214282912345698765432161182.

Result

Dividing by 97 leaves exact remainder 1, slicing BIC code WEST, sort code 123456, and account 98765432.

Standard 64-bit JavaScript numbers lose integer precision above 15–16 digits, which breaks modulo math on a 28-digit expanded IBAN.

3214282912345698765432161182 mod 97 = (33136937240677306860125373 × 97 + 1) mod 97 = 1

Using native arbitrary-precision BigInt keeps every single digit intact from 15-character Norwegian IBANs up to 33-character Russian IBANs.

How it works

ISO 13616 country rules and domestic BBAN slices

An International Bank Account Number starts with a two-letter ISO 3166-1 country prefix and two check digits, followed by a domestic BBAN.

Each country fixes an exact length and character mask under ISO 13616 country rules and Deutsche Bundesbank SEPA guidance.

For example, Germany uses 22 characters (8n-10n), France uses 27 (5n-5n-11c-2n), and Turkey uses 26 characters (5n-1c-16c).

The parser also marks membership in the Single Euro Payments Area (SEPA) across Europe and participating territories.

ISO 7064 MOD 97-10 check digits and 1-edit typo hints

Under ISO 13616-1 and ISO/IEC 7064 MOD 97-10, moving the first four characters to the end and mapping A=10..Z=35 gives an integer.

Because 97 is a two-digit prime number, every single-character mistake and every pair of swapped neighbor characters changes the remainder away from 1.

When a check fails, the parser tests visual lookalikes (O/0, I/1, B/8, S/5) and neighbor swaps, warning you to confirm with the payee.

Sources checked 30 November 2026.

FAQ

Does a valid IBAN confirm that the bank account is open or belongs to a named payee?

No. Modulo 97 and ISO 13616 rules check formatting and catch typos. Only bank networks such as Confirmation of Payee can match account holder names.

What is the difference between IBAN print format and electronic format?

Print format inserts a single space every four characters (such as GB82 WEST 1234 5698 7654 32) for human reading on paper invoices. Electronic format removes all spaces for payment files and API fields.

Why did copying an IBAN from a scanned PDF invoice fail the check?

Optical character recognition often turns digit 0 into letter O, digit 1 into I, or 8 into B. Use PDF Table Extractor on text-based statements to preserve exact digits.

How do I clean leading zeros or duplicate IBAN rows in a supplier spreadsheet?

Export your batch CSV here first. Then run supplier sheets through CSV Cleaner & CSV to Excel to deduplicate rows and keep leading zeros.

How can I spot changed bank accounts between last month’s payroll CSV and today’s file?

Open both spreadsheets in Compare Two Spreadsheets to highlight every modified IBAN cell row by row before sending a payment batch.

Can I inspect IBAN fields inside a JSON payment payload?

Yes. Pretty-print or flatten your API payload in JSON Formatter & Validator, then paste the extracted IBAN column into Batch list (1–100) here.

Step by step: how IBAN MOD 97-10 check digits catch typos and transposed numbers.

Updated