Skip to main content
Skip to main content

Switzerland UID / IDE Validator

Online validation tool for Swiss Business Identification Numbers (UID / IDE / IDI) with Modulo 11 verification.

About Swiss Business Identification Number (UID / IDE)

The UID is the single corporate identifier for all registered business entities in Switzerland.

Administered by the Federal Statistical Office (BFS), it replaced the older cantonal commercial registry numbers.

Anatomy & Structure of Swiss UID / IDE

Formatted as CHE-NNN.NNN.NNC (with optional VAT suffix):

PositionFieldLengthMeaning & RuleExample
1 to 4Country Prefix4 chars"CHE-" prefix representing the Swiss ConfederationCHE-
5 to 12Sequential Number8 digitsUnique sequential number allocated by BFS (FSO)100.123.45
13Check Digit1 digitCalculated using BFS Weighted Modulo 116
SuffixOptional VAT SuffixVariableMWST, TVA, or IVA appended for VAT-registered entitiesMWST

Official Checksum Algorithm (Weighted Modulo 11 — BFS)

Official calculation formula of the Swiss Federal Statistical Office (BFS):

S = Σ (d[i] * W[i]) [W = 5, 4, 3, 2, 7, 6, 5, 4]; Remainder = S mod 11; Check = (11 - Remainder) mod 11.
  1. 1. Extract the first 8 numeric digits.
  2. 2. Multiply each digit by official weights [5, 4, 3, 2, 7, 6, 5, 4].
  3. 3. Sum the products and compute remainder modulo 11.
  4. 4. Check digit is (11 - Remainder) mod 11.
  5. 5. If the calculated check digit is 10, the sequence is illegal and rejected by BFS.

Frequently Asked Questions (FAQ)

Does it support formatted inputs and VAT suffixes?

Yes. Formats like "CHE-100.123.456 MWST" and raw "100123456" are accepted.

Is the check performed securely?

Yes, it is checked 100% locally in your browser.