IBAN Validator
IBAN (International Bank Account Number) · Issuer: ISO 13616 / SWIFT. International payments, SEPA, and IBAN-using LatAm countries (Brazil, Costa Rica, Dominican Republic, El Salvador, Guatemala).
Free online validator
Validated with the public algorithm; we don't store your input.Format
Country code (2 letters), 2 check digits and up to 30 account characters; length depends on the country (e.g. ES 24, DE 22, BR 29).
Check-digit algorithm
- Move the first 4 characters to the end.
- Replace letters with numbers (A=10 … Z=35).
- The resulting number mod 97 must equal 1.
- Also check the country length from the SWIFT registry.
Use cases
International payments, SEPA, and IBAN-using LatAm countries (Brazil, Costa Rica, Dominican Republic, El Salvador, Guatemala).
Code examples
# curl (RapidAPI)
curl -X POST "https://validalatam.p.rapidapi.com/validate" -H "Content-Type: application/json" \
-H "X-RapidAPI-Key: $RAPIDAPI_KEY" -H "X-RapidAPI-Host: validalatam.p.rapidapi.com" \
-d '{"type":"IBAN","value":"DE72815492680220564834"}'
# Python
import requests
r = requests.post("https://validalatam.p.rapidapi.com/validate", json={"type": "IBAN", "value": "DE72815492680220564834"},
headers={"X-RapidAPI-Key": KEY, "X-RapidAPI-Host": "validalatam.p.rapidapi.com"})
print(r.json()["valid"], r.json()["formatted"])
// JavaScript (fetch)
const r = await fetch("https://validalatam.p.rapidapi.com/validate", { method: "POST",
headers: { "Content-Type": "application/json", "X-RapidAPI-Key": KEY, "X-RapidAPI-Host": "validalatam.p.rapidapi.com" },
body: JSON.stringify({ type: "IBAN", value: "DE72815492680220564834" }) });
const { valid, formatted, error } = await r.json();
# Response
{
"valid": true,
"type": "IBAN",
"country": "XX",
"input": "DE72815492680220564834",
"normalized": "DE72815492680220564834",
"formatted": "DE72 8154 9268 0220 5648 34"
}
API plans on RapidAPI
Free plan to get started; paid plans for production volume and batch validation (up to 1000 per request).
FAQ
How is the IBAN check digit calculated?
Move the first 4 characters to the end. Replace letters with numbers (A=10 … Z=35). The resulting number mod 97 must equal 1. Also check the country length from the SWIFT registry.
What is the IBAN format?
Country code (2 letters), 2 check digits and up to 30 account characters; length depends on the country (e.g. ES 24, DE 22, BR 29).
Which Latin American countries use IBAN?
Brazil, Costa Rica, Dominican Republic, El Salvador, Guatemala, Honduras and Nicaragua, among others.
Is this validator free?
Yes, the web tool is free. To integrate it, use the API: there's a free plan on RapidAPI.
Does the API store the numbers I validate?
No. Validation is deterministic, with no storage and no third-party lookups.