Home › Developer Tools › IBAN Validator

IBAN Validator

Paste an International Bank Account Number to check that its check digits, country code and length are correct before you send a payment. The tool splits the IBAN into bank code, branch and account number and shows the full mod-97 calculation. Everything runs in your browser.

Last updated:

Mode

Spaces, dashes and lower case are fine.

Enter your values to see the result.
Advertisement
Advertisement

How to use the IBAN Validator

  1. Choose single or bulk mode.
  2. Paste the IBAN (spaces and lower case are fine), or one IBAN per line in bulk mode.
  3. Click Check IBAN; the result also updates as you type.
  4. Read the verdict: country, length and check digits, plus the BBAN breakdown table.
  5. Copy the print format or download the bulk results as CSV.

How the IBAN mod-97 check works

Take the example GB82 WEST 1234 5698 7654 32:

  1. Remove spaces: GB82WEST12345698765432
  2. Move the first four characters to the end: WEST12345698765432GB82
  3. Convert letters to numbers (A = 10, B = 11 … Z = 35): W = 32, E = 14, S = 28, T = 29, G = 16, B = 11 → 3214282912345698765432161182
  4. Divide by 97. The remainder is 1, so the IBAN is valid. Any other remainder means a typo.

Because the number is too big for ordinary arithmetic, the calculation is done piece by piece: keep a running remainder, multiply it by 10, add the next digit and take mod 97 again.

IBAN length and structure by country

CountryLengthExampleBBAN structure
Germany (DE)22DE89 3704 0044 0532 0130 008-digit bank code (BLZ) + 10-digit account
United Kingdom (GB)22GB82 WEST 1234 5698 7654 324-letter bank code + 6-digit sort code + 8-digit account
France (FR)27FR14 2004 1010 0505 0001 3M02 606bank 5 + branch 5 + account 11 + RIB key 2
Spain (ES)24ES91 2100 0418 4502 0005 1332bank 4 + branch 4 + check 2 + account 10
Italy (IT)27IT60 X054 2811 1010 0000 0123 456CIN 1 + ABI 5 + CAB 5 + account 12
Netherlands (NL)18NL91 ABNA 0417 1643 004-letter bank code + 10-digit account
Belgium (BE)16BE68 5390 0754 7034bank 3 + account 7 + check 2
Switzerland (CH)21CH93 0076 2011 6238 5295 7bank 5 + account 12
Norway (NO)15NO93 8601 1117 947bank 4 + account 6 + check 1
Saudi Arabia (SA)24SA03 8000 0000 6080 1016 7519bank 2 + account 18

Always write an IBAN on paper in groups of four characters separated by spaces (the "print format"), and without spaces in electronic payment files.

Frequently asked questions

How is an IBAN validated?

Following ISO 13616 / ISO 7064 mod 97-10: remove spaces, move the first four characters (country code and check digits) to the end, replace each letter with a number (A = 10 … Z = 35) and divide the resulting number by 97. The IBAN is valid only if the remainder is 1.

Does a valid IBAN mean the account exists?

No. A passing check only proves the number is well-formed and has no typing errors the checksum can catch. It does not confirm that the account is open or who owns it; only the bank can confirm that.

How long is an IBAN?

It depends on the country, from 15 characters in Norway to 32 in Saint Lucia (33 in Russia). Germany uses 22, the UK 22, France 27, Spain 24 and the Netherlands 18. The tool checks the exact length for each country.

What are the IBAN check digits?

They are the two digits after the country code. They are computed as 98 minus the remainder of (BBAN + country code + 00, converted to numbers) divided by 97, so any single wrong character and almost all swapped adjacent characters are detected.

What is the BBAN?

The Basic Bank Account Number is the domestic part after the first four characters. Its structure is set nationally, for example an 8-digit bank code plus 10-digit account number in Germany, or a 4-letter bank code, 6-digit sort code and 8-digit account number in the UK.

Is IBAN the same as SWIFT/BIC?

No. The IBAN identifies an individual account, while the BIC (SWIFT code) identifies the bank. International transfers often need both.

Is it safe to paste my IBAN here?

Yes. The check runs entirely in your browser and nothing is sent to a server or stored.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

CRC32 Checksum CalculatorCalculate CRC-32, CRC-32C, CRC-16 and Adler-32 checksums of text or large files.Barcode GeneratorCreate Code 128, EAN-13, UPC-A, EAN-8, Code 39 and ITF-14 barcodes as PNG or SVG.ISBN Converter & ValidatorConvert ISBN-10 to ISBN-13 and back, validate check digits and hyphenate, one or in bulk.Hash GeneratorGenerate MD5, SHA-1, SHA-256 and SHA-512 hashes of text or files.VIN DecoderValidate a 17-character VIN's check digit and decode model year, maker, country, plant and serial.JSON FormatterBeautify, minify and validate JSON, with a collapsible tree view.SQL Formatter & BeautifierFormat, beautify or minify SQL queries for MySQL, PostgreSQL and more.JavaScript BeautifierFormat and beautify messy or minified JavaScript, or minify it.HTML FormatterBeautify and indent HTML code with a live preview.CSS FormatterBeautify CSS with indent controls and optional property sorting.XML FormatterBeautify, validate and minify XML with a collapsible tree view.ZIP File CreatorCompress files and folders into a ZIP.YAML Validator & FormatterValidate, format and minify YAML, and convert YAML to JSON or back.HTML MinifierMinify HTML: strip comments and whitespace safely and see how many bytes you save.CSS MinifierMinify CSS with csso or a built-in engine and see the size saved instantly.JavaScript MinifierMinify JavaScript with Terser: compress, mangle and see how many bytes you save.JSON MinifierMinify and validate JSON, sort keys and see exactly how many bytes you save.Code Diff CheckerCompare two code files side by side or unified, with syntax colors and changes highlighted.IPv6 Expander & CompressorExpand IPv6 addresses to full form or compress them per RFC 5952, one or many at once.GraphQL FormatterPretty-print and indent GraphQL queries, mutations and schemas, or minify them, instantly.CSS ValidatorValidate CSS: syntax errors, unknown properties and invalid values by line, plus auto-fix.Gzip Compress / DecompressGzip or deflate text and files, get Base64 output, and decompress Base64 or .gz files.JavaScript Syntax CheckerCheck JavaScript for syntax errors with line and column, for any ES version, script or module.JSON Schema ValidatorValidate JSON against a JSON Schema (draft-07, 2019-09, 2020-12) with clickable error paths.Markdown FormatterBeautify Markdown with Prettier: list markers, prose wrap, aligned tables and live preview.PHP FormatterBeautify PHP code with Prettier PHP: PSR-12 style, indent and brace options, syntax errors.TypeScript FormatterFormat TypeScript and TSX code with Prettier: width, tabs, semicolons and quotes options.XML MinifierMinify and validate XML: strip whitespace and comments, keep CDATA, see the size savings.C# FormatterBeautify C# code online: Allman or K&R braces, indent size and line width, clang-format option.HTML ValidatorCheck HTML for errors and warnings with line numbers, locally or with the W3C Nu checker.Java FormatterBeautify Java code online: indent size, brace style and line width, with clang-format option.JavaScript ObfuscatorObfuscate JavaScript with string encoding, renaming and control-flow flattening presets.Phone Number FormatterFormat and validate lists of phone numbers to E.164, international or national style.Python FormatterFormat Python code in Black/Ruff style: line length, quote style, indent, copy or download.Responsive Design CheckerPreview any website at phone, tablet, laptop and desktop sizes side by side, with rotate and zoom.Browser Compatibility CheckerSearch CSS, JavaScript and HTML features and see which browser versions support them.Core Web Vitals CheckerCheck real-user LCP, INP and CLS for any URL or site and see if it passes Core Web Vitals.Heading Structure CheckerPaste HTML to see its H1-H6 outline and catch missing H1s, multiple H1s and skipped levels.Strftime Format BuilderBuild Python and C strftime format strings by clicking tokens, with a live preview and reference.Website Hosting CheckerFind out who hosts a website: hosting provider, IP addresses, ASN, network owner and location.Routing Number ValidatorCheck a US ABA routing number's checksum and format and see its Federal Reserve district.Spam Word CheckerScan an email subject and body for spam trigger words, excess caps, exclamation marks and risky links.Check Digit CalculatorCalculate or validate check digits for UPC, EAN, GTIN, SSCC, ISBN, ISSN and mod 11 codes.Luhn Algorithm CheckerValidate numbers with the Luhn mod 10 check or calculate the missing check digit, step by step.XSD ValidatorValidate XML against an XSD schema in your browser and see each error with its line number.
See all 41 Code Formatters & Validators →