Check whether a San Marino IBAN is valid — country, length and mod-97 checksum — and break out the bank details. Instant and free, right in your browser.
| Country | San Marino (SM) |
| IBAN length | 27 characters |
| Structure | SM + 2 check digits + 23-character BBAN |
| Valid example | SM81 7654 3210 9876 5432 1098 765 |
Every San Marino IBAN starts with SM and is 27 characters long. The two digits after the country code are a checksum (ISO 7064 mod-97) computed from the rest of the number, so a single mistyped character makes the whole IBAN invalid — which is exactly what this validator catches before a payment is sent.
A San Marino IBAN is exactly 27 characters long, beginning with the country code SM followed by two check digits and the national bank account number (BBAN).
A correctly-formed example is SM81 7654 3210 9876 5432 1098 765. The two digits after SM are a mod-97 checksum that must match the rest of the number.
By confirming it is 27 characters, starts with SM, and passes the ISO 7064 mod-97 checksum. The tool above does all three instantly, in your browser — no data is sent anywhere.