BSN Validator (11-Proef, Netherlands)

Paste BSN numbers to check them with the 11-proef, or generate valid test numbers for development.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Paste numbers

    One BSN per line.

  2. 2
    Check

    See valid or not.

  3. 3
    Generate test data

    Press the button for valid test numbers.

  4. 4
    Export

    Download the results.

About this tool

The burgerservicenummer (BSN) is the personal identification number of everyone registered in the Netherlands. It has nine digits and must pass the 11-proef: multiply the first eight digits by 9, 8, 7, 6, 5, 4, 3 and 2, the last by −1, add them up, and the total must be divisible by 11. The check catches most typing errors. This validator checks numbers in batch and can generate valid numbers for testing software.

Who this is for

HR and payroll staff, developers building forms, healthcare administrators and anyone checking a number.

The 11-proef

Take 123456782: 1×9 + 2×8 + 3×7 + 4×6 + 5×5 + 6×4 + 7×3 + 8×2 + 2×(−1) = 9 + 16 + 21 + 24 + 25 + 24 + 21 + 16 − 2 = 154, which is 14 × 11. The number passes.

Eight-digit numbers

Older numbers can have eight digits; they are written with a leading zero to make nine. The validator adds the zero automatically.

Where the BSN appears

On your passport or identity card, your residence permit, your payslip and letters from the tax office. Foreigners get a BSN when registering in a municipality or at a RNI desk.

Privacy

The BSN is sensitive personal data. Organisations may only use it when a law allows it, such as employers, healthcare providers, schools and government. Do not ask for or store it otherwise, and never put it on public documents.

Test numbers

For software testing, use generated numbers that pass the check, never real people's numbers. The generator here produces random valid numbers.

Bank account numbers

Dutch bank account numbers used to pass a similar 11-proef; since IBAN, the check is done with the IBAN rules.

What the check proves

A valid number is consistent, not necessarily issued to anyone. Only government systems can confirm whom a number belongs to.

Developers

When validating a BSN field, accept eight or nine digits, add a leading zero if needed, strip spaces and dots, and apply the 11-proef. Do not reject a number solely because it looks unusual: some valid numbers start with zeros or have repeating digits. Never log BSNs in plain text, and mask them in user interfaces (for example showing only the last three digits).

Where to get a BSN

People who come to live in the Netherlands receive a BSN when registering at the municipality (BRP). People staying less than four months, such as seasonal workers, can register as non-residents at an RNI desk and also receive a BSN. Children born in the Netherlands receive one at birth registration.

Errors in records

If your BSN is wrong in an employer's or doctor's system, ask them to correct it quickly: errors can lead to wrong tax withholding or problems with health insurance.

Worked example

123456782 passes the 11-proef. 123456789 fails: the sum is 147, not divisible by 11. 012345672 passes.

Limits

A format check only, not a confirmation of identity.

Worked example

123456782 passes the 11-proef; 123456789 fails.

Quick facts

Frequently asked questions

What is the 11-proef?

A check: weighted sum of the digits (9 to 2 and −1) divisible by 11.

How many digits does a BSN have?

Nine; older eight-digit numbers get a leading zero.

Can I use the BSN freely?

No, only where a law allows it.

Can I generate test numbers?

Yes, valid random numbers for software tests.

Does a valid number belong to a person?

Not necessarily; it is only a format check.

Is my data stored?

No. It stays in your browser.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages