IBAN Toolkit logoIBAN Toolkit

Switzerland IBAN Generator

Free test CH IBANs: 21 characters, official registry format, valid check digits.

Switzerland IBAN generator

21-character format, official registry structure.

Same country + seed + row order gives the same test values. Leave blank for random samples. Seed algorithm: v1. Do not enter personal data.

Switzerland IBAN format

A Switzerland IBAN is 21 characters long: the CH country code, 2 check digits, and a 17-character BBAN (5 digits + 12 letters/digits). Here is how a generated test IBAN breaks down:

PartExampleFormat
Country codeCH2 letters (ISO 3166)
Check digits922 digits: mod-97 checksum
Bank code961575 digits
Account numberPU8O7PAONMG012 letters/digits

Full test IBAN: CH92 9615 7PU8 O7PA ONMG 0 (random test value)

About Switzerland IBANs

  • Switzerland's 21-character IBAN: 5-digit clearing/BC number + 12-character account number.
  • Switzerland also uses the QR-IBAN variant for the Swiss QR-bill: IBANs whose institution ID falls in 30000: 31999 trigger QR-reference handling.
  • Switzerland is not in the EU but participates in SEPA.

Use test Switzerland IBANs for

  • Testing payment forms that accept Switzerland bank details.
  • QA fixtures and demo data with the correct 21-character structure.
  • Validating your own mod-97 implementation against known-correct outputs.

Country-specific testing notes

The bank identifier is numeric, while the account component permits alphanumeric characters. A national account field should be stored as text to retain its full representation.

Test more than the happy path

Generate with seed country-regression-v1, preserve the selected country and quantity, then run again to reproduce the same rows. Include an invalid-checksum input and a shorter input in your form tests. The versioned fixture pack supplies expected results for the implemented format checks.

Interpret the result correctly

Our checks cover the registered length, character pattern and international check digits. They do not certify domestic checksums, reserved-value rules, active bank codes, account existence or recipient ownership. Use bank-issued details for payments and your provider’s documented sandbox values for integration tests.

More countries

Frequently asked questions

21 characters: CH + 2 check digits + 5-digit bank clearing number + 12-character account.
A Swiss IBAN variant (institution ID 30000: 31999) used with the QR-bill's QR reference instead of the Creditor Reference.
They are synthetic test values with valid structure and check digits. This site does not query live bank directories, so generated values are not guaranteed to be unassigned.
Yes: paste any Switzerland IBAN into our IBAN validator to check its length, structure and mod-97 checksum.
Testing and educational use. Generated identifiers are synthetic and are not checked against live bank directories. A randomly generated value can coincidentally resemble or match a real identifier. Never use generated data for real payments, account applications, identity verification, or to represent a real person or institution.