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.
This is one of 21 tools built on actual Dutch regulations rather than generic maths: salary and severance, notice periods and WW duration, BTW and mortgages, public holidays, AOW age, and GDPR-safe test data for Dutch systems.
See all Dutch toolsThis generator is part of a set of GDPR-safe Dutch test data tools: test BSNs, IBANs, document numbers, BRP records, and UPA files. All of them work in the browser, and several are available as a REST API and MCP server for CI pipelines and AI agents.
View the Dutch test data toolkitHow the Test BSN Generator Works
- 01Select how many test BSN numbers you need
- 02Click Generate - each BSN passes the 11-check (elfproef) validation
- 03Copy the numbers for use in your development or test environment
- 04Verify 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
- 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
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
12 suggested- 01Test Document Number Generator - Dutch IDsGenerate Dutch test document numbers for ID cards, passports, and driving licenses. Valid format for development and testing.
- 02UPA File Generator - Dutch Pension Test DataGenerate UPA (Uniforme Pensioenaangifte) XML test files for Dutch pension funds. UPA 2024, 2025 and 2026, life events, multiple schemes, deliberate defects, up to 10,000 employments per period, plus a participant overview as CSV or Excel.
- 03BRP Test Data Generator - Dutch Person RecordsGenerate fictional BRP persoonslijst test data: person, parents, partnership, death, residence and children. Map the output onto the header row of the system you feed. Valid BSN and A-nummer.
- 04Dutch Exam Grade Calculator - Eindexamen SE/CE Pass CheckCalculate Dutch eindexamen final grades from SE and CE marks and check the havo/vwo slaag-zakregeling. Free, instant, browser-based.
- 05Dutch School Holidays - Schoolvakanties 2026-2027 per RegionAll Dutch school holiday dates (schoolvakanties) for regio noord, midden, and zuid with a countdown to the next break. Free and browser-based.
- 06Dutch Student Finance Calculator - Studiefinanciering 2026Estimate your monthly DUO studiefinanciering: basisbeurs, aanvullende beurs, and student travel product, with official 2026 amounts. Free and instant.
- 07Dutch Doorstroomtoets Guide - Score to SchooladviesConvert a doorstroomtoets standaardscore into the matching toetsadvies and secondary school level, with an explainer of the advies process. Free, browser-based.
- 0830% Ruling Calculator - Dutch Expat Tax Benefit 2026Calculate your tax-free allowance under the Dutch 30% ruling with 2026 rules: salary norms, WNT cap, and net advantage. Free, instant, browser-based.
- 09Dutch Holiday Allowance Calculator - Vakantiegeld Gross and NetCalculate your Dutch 8% holiday allowance (vakantiegeld) and estimate the net payout after the bijzonder tarief. Free, instant, browser-based.
- 10Dutch Severance Calculator - Transitievergoeding 2026Calculate your statutory Dutch transition payment: 1/3 monthly salary per year of service, pro rata by day, with the 2026 cap. Free and browser-based.
- 11Dutch Mileage Calculator - Kilometervergoeding 2026Calculate your untaxed Dutch travel reimbursement per week, month, and year at the 2026 rate of EUR 0.25 per km. Free, instant, browser-based.
- 12Freelance Rate Calculator - Dutch ZZP Hourly RateCalculate the hourly rate you need as a Dutch freelancer to hit your target net income, with 2026 ZZP tax rules and a salary comparison. Free and browser-based.
Link to this tool
Free to use, free to linkMentioning this tool in a README, a blog post or your team wiki? Paste one of these and your readers land straight on the tool, running in their own browser.
- HTML
<a href="https://toolforte.com/tools/test-bsn-generator">Test BSN Generator</a> - MD
[Test BSN Generator](https://toolforte.com/tools/test-bsn-generator)