ToolerCat / IBAN Generator / Switzerland

Switzerland IBAN Generator

Random test IBANs for Switzerland that pass validation. Runs in your browser.

Check an IBAN in the IBAN validator →

Output
⚠ For testing only. Generated IBANs have the correct format and check digits, but they are random and not linked to any real account. Never use them to send or request money.

Switzerland IBAN format

Country code
CH
IBAN length
21 characters
BBAN structure
5 digits + 12 letters or digits
Bank code
5 characters (Clearing)
SEPA
Yes
Example (print)
CH55 7251 6911 7869 3013 2
Example (electronic)
CH5572516911786930132

A Switzerland IBAN starts with CH, then two check digits calculated with ISO 7064 mod-97, then the 17-character BBAN (5 digits + 12 letters or digits). Every IBAN generated here passes the checksum and the national check digits, so it is accepted by form validation and IBAN libraries.

Switzerland IBAN position by position

Example: CH55 7251 6911 7869 3013 2

PartCharactersPositions
Country codeCH1–2
IBAN check digits (mod-97)553–4
Institution ID (IID, clearing number)725165–9
Account number91178693013210–21

The BBAN is a 5-digit institution ID (IID) and a 12-character account number. IBANs whose IID is between 30000 and 31999 are QR-IBANs: they are valid, but only for QR-bill payments with a QR reference.

Test cases for Switzerland IBAN fields

InputExpectedWhy
CH55 7251 6911 7869 3013 2validprint format
CH5572516911786930132validelectronic format
ch55 7251 6911 7869 3013 2validlower case — normalize first
CH5672516911786930132invalidwrong check digits
CH557251691178693013invalid20 characters, Switzerland needs 21
CH55725169117869301321invalid22 characters

FAQ

How many characters does a Switzerland IBAN have?

21 characters, for example CH5572516911786930132.

Is Switzerland in SEPA?

Yes — euro transfers and SEPA direct debits work with this IBAN format.

Are these real Switzerland bank accounts?

No. They are random numbers with a valid structure, for testing only. A transfer to them would be rejected.

How do I check an IBAN someone gave me?

Use the IBAN validator: it shows the country, checksum result and where a typo probably is.

More test data for Switzerland

Switzerland VAT number · Switzerland phone numbers · Switzerland addresses

Other countries

Austria · Belgium · Bulgaria · Croatia · Cyprus · Czech Republic · Denmark · Estonia · Finland · France · Germany · Greece · Hungary · Iceland · Ireland · Italy · Latvia · Liechtenstein · Lithuania · Luxembourg · Malta · Monaco · Netherlands · Norway · Poland · Portugal · Romania · Saudi Arabia · Slovakia · Slovenia · Spain · Sweden · Turkey · Ukraine · United Arab Emirates · United Kingdom