IBAN and BIC.
One API.
Correct by design.
Parse, validate, create, and format bank identifiers. Pololei brings IBAN, BBAN fields, national check digits, BIC, SEPA Creditor Identifiers, and EPC QR payloads together in one Java and GWT code base.
Less validation code.
More Java.
Immutable values for your domain model and structured results for your forms. Choose parsing with exceptions or validation with error details.
// Accept print format and normalize the value Iban iban = Iban.parse("DE89 3704 0044 0532 0130 00"); String electronic = iban.toString(); String printed = iban.toPrintFormat(); // Validate form input without throwing boolean valid = Iban.isValid("DE89370400440532013000"); // Inspect bank and branch information Bic bic = Bic.parse("DEUTDEFF500"); String institution = bic.institutionCode();
Validation you can explain
Check structure and international check digits. Inspect typed errors, expected length, and character positions to build useful form feedback.
National checks when you need them
Configure an immutable validator with optional or required national check digit checks. Add your own rule per validator.
Country data included
Use generated definitions from SWIFT IBAN Registry release 100 for 89 countries, with BBAN structure, field positions, and SEPA membership.
Create valid identifiers
Calculate IBAN check digits from a BBAN or use a builder. Generate reproducible test data with an explicit Random instance.
SEPA payment helpers
Create EPC QR payload text for credit transfers and validate SEPA Creditor Identifiers for direct debits using optional modules.
Java and GWT together
Use the same API on the JVM and in GWT. The GWT module includes RPC serializers; immutable values can be shared safely.
Start with a working example
Requirements, Maven setup, imports, and your first validation. Read the quickstart →
Choose your modules
Core library, GWT integration, EPC QR payloads, and Creditor Identifiers. Browse modules & capabilities →
Discover the API
Release 1.0.0-rc01: parsing, builders, national checks, error handling, and migration guides. Open the reference →