An IBAN is validated by converting any non-numeric values into integers and performing the MOD97 operation. MOD97 involves diving the resulting number by 97 and taking the remainder of that number. If the remainder is 1, then the IBAN is considered valid. The easiest way to validate IBAN or convert IBAN is to use a Javascript library or dedicated endpoint.