Test BSN Generator — Dutch Elfproef Valid
Generate valid Dutch BSN test numbers that pass the elfproef (11-check). Perfect for development and testing. Free online tool.
Validate BSN
About the elfproef (11-check)
A valid BSN must satisfy: 9×d1 + 8×d2 + 7×d3 + 6×d4 + 5×d5 + 4×d6 + 3×d7 + 2×d8 − 1×d9 must be divisible by 11 and not equal to 0.
Test BSN Generator — Dutch Citizen Service Numbers for Testing
Generate valid Dutch BSN (Burgerservicenummer) test numbers that pass the elfproef (11-check) validation. These numbers are essential for developers building Dutch government, healthcare, or financial applications where BSN validation is required. All generated numbers are fictional and not linked to real persons.
A valid BSN is a 9-digit number where the weighted sum 9×d1 + 8×d2 + 7×d3 + 6×d4 + 5×d5 + 4×d6 + 3×d7 + 2×d8 - 1×d9 must be divisible by 11 and the result must not be 0. The generator produces numbers satisfying this constraint, ensuring they pass any standard BSN validation library.
Software developers building DigiD integrations, healthcare (EPD/ECD) systems, and municipal (gemeente) applications need test BSNs for development. QA testers validate BSN input fields and error handling. Trainers use test BSNs for demonstrations without exposing real citizen data.
Using real BSN numbers in test environments is a violation of Dutch privacy law (AVG/GDPR) and can result in significant fines. Always use generated test numbers and clearly mark test environments. The Rijksdienst voor Identiteitsgegevens (RvIG) also publishes official test BSN ranges for specific use cases.
Unlike manually calculated test BSNs that developers pass around in Slack channels, this generator produces unique numbers on demand. For other Dutch test data, combine with our Test IBAN Generator for bank accounts and Test Document Number Generator for identity documents.
How the Test BSN Generator Works
- Select how many test BSN numbers you need
- Click Generate — each BSN passes the 11-check (elfproef) validation
- Copy the numbers for use in your development or test environment
- Verify the numbers with the built-in validation check
BSN Numbers in Dutch Software Development
The BSN (Burgerservicenummer) is the Dutch citizen service number, a 9-digit identifier used by government and healthcare systems. Valid BSNs must pass the '11-check' (elfproef): a weighted sum of all digits must be divisible by 11. When developing Dutch government or healthcare software, use generated test BSNs instead of real ones — using real BSNs in test environments violates Dutch privacy law (AVG/GDPR).
When to Use the Test BSN Generator
Use this generator when developing or testing software that processes Dutch BSN (Burgerservicenummer) numbers. This includes DigiD integrations, healthcare systems (EPD/ECD), municipal applications, tax software, and any government-related system in the Netherlands. Using generated test BSNs instead of real ones ensures GDPR/AVG compliance in your development environment.
Common Use Cases
- •Developing and testing DigiD authentication integrations for Dutch government services
- •Building healthcare systems (EPD/ECD) that require valid BSN input for patient records Test IBAN Generator — Valid Test IBANs
- •Populating staging databases for municipal and tax software with compliant test data
- •Training and demo environments for government employee onboarding
Expert Tips
- ✱Never use real BSN numbers in development or test environments — this violates Dutch privacy law (AVG/GDPR)
- ✱The RvIG publishes official test BSN ranges for specific governmental use cases — check their documentation for your context
- ✱Combine with Test IBAN Generator and Test Document Number Generator for a complete set of Dutch test identifiers
Frequently Asked Questions
- The elfproef is a checksum validation for BSN numbers. The formula is: 9×d1 + 8×d2 + 7×d3 + 6×d4 + 5×d5 + 4×d6 + 3×d7 + 2×d8 - 1×d9. The result must be divisible by 11 and cannot equal 0. This validation catches most typing errors and prevents random numbers from being accepted as valid BSNs.
- No. The generated numbers pass the mathematical validation (elfproef) but are not registered with the Basisregistratie Personen (BRP). They do not belong to real persons. Using real BSN numbers in test environments violates Dutch privacy law.
- These numbers are strictly for development and testing. Never accept self-generated BSN numbers in a production context. Production systems should validate BSN format and, where required, verify the number against the BRP (Basisregistratie Personen) through authorized channels.
- Yes, generating numbers that pass the elfproef for testing purposes is perfectly legal. What is illegal is using real BSN numbers in test environments (GDPR/AVG violation) or using generated numbers to impersonate real persons. The Rijksdienst voor Identiteitsgegevens (RvIG) also publishes official test BSN ranges.
What is the elfproef (11-check)?▾
Are these real BSN numbers?▾
Can I use these for production applications?▾
Is it legal to generate test BSN numbers?▾
Related Tools
Hypotheek Calculator — Maandlasten Berekenen
Calculate Dutch mortgage payments, interest, and total cost. Compare annuity vs linear repayment. Free online hypotheek calculator.
Bruto/Netto Calculator — Dutch Salary 2026
Calculate Dutch gross to net salary with 2026 tax brackets, AHK, and employment tax credit. Instant results. Free online tool.
BTW Calculator — Dutch VAT (21% & 9%)
Calculate Dutch VAT (BTW) instantly. Convert between excl. and incl. amounts for 21% and 9% rates. Free online calculator.
Test Document Number Generator — Dutch IDs
Generate Dutch test document numbers for ID cards, passports, and driving licenses. Valid format for development and testing.
Hash Generator — SHA-256, SHA-512 & More
Generate SHA-1, SHA-256, SHA-384, and SHA-512 hashes securely in your browser. Uses Web Crypto API — your data never leaves your device.
Lorem Ipsum Generator — Free Placeholder Text
Generate placeholder text for your designs, mockups, and layouts. Choose paragraphs, sentences, or word count. One-click copy.