iban-validator

Java IBAN validator

View the Project on GitHub

iban-validator

Codacy Badge Build Status

A Java IBAN validator library. No runtime dependencies, requires only JDK 1.6.

Basic usage

The central class is IbanValidator. One can be instanced freely, or an instance shared safely, including across threads.

Configuring validations

By default, the validator only performs a very basic IBAN format check. Further validations (see IbanValidation) can be configured by providing an SPI configuration file in the class path. See an example configuration and ServiceLoader docs. When the validator is configured to require additional validations, all validations capable of validating an IBAN must pass for the IBAN to be considered valid.