BSN Generator - Generate Fictional Dutch Citizen Service Numbers with Elfproef

Generate valid fictional BSN numbers that pass the Dutch elfproef validation. Ideal as test data for software development, QA testing and test automation. Bulk generation with export to Excel, CSV and JSON.

Note:All generated data is entirely fictional and not suitable for use as real personal information.

Count:

How to use the BSN Generator

Generate valid fictional Dutch BSN numbers for your test environment in four steps:

  1. Open the generator — the tool loads instantly, no account or registration required.
  2. Choose the amount — from 1 to 10,000 BSN numbers per generation. Useful for both quick testing and filling large test databases.
  3. Click "Generate" — all numbers are created immediately in your browser and automatically pass the eleven-test. No server request, no waiting.
  4. Copy or export — click a number to copy it directly, or export the full list as Excel (.xlsx), CSV or JSON for use in test automation pipelines or databases.

How does the BSN eleven-test work?

The Burgerservicenummer (BSN) is a 9-digit number validated using the so-called eleven-test (elfproef). This algorithm works as follows:

  1. Each digit of the BSN is multiplied by a weight. From left to right the weights are: 9, 8, 7, 6, 5, 4, 3, 2, -1.
  2. The products are summed together.
  3. The result must be divisible by 11 and must not be 0.

Example: For BSN 111222333 the sum is: (1x9) + (1x8) + (1x7) + (2x6) + (2x5) + (2x4) + (3x3) + (3x2) + (3x-1) = 9+8+7+12+10+8+9+6-3 = 66. 66 / 11 = 6, so this BSN is valid.

This generator applies the eleven-test algorithm to produce only valid fictional BSN numbers. The numbers are not linked to real persons.

Frequently Asked Questions

What is a BSN number and what is it used for?
A BSN (Burgerservicenummer / Citizen Service Number) is a unique personal identification number of 8 or 9 digits assigned to everyone registered in the Dutch population register (BRP). The BSN is used by government agencies, in healthcare, for tax filing, and in education. Since the BSN appears in many systems, developers regularly need fictional BSN numbers for testing software that processes personal information.
Are the generated BSN numbers real? Can I safely use them as test data?
No, all generated BSN numbers are entirely fictional. They do pass the elfproef (the mathematical validation algorithm used for real BSN numbers), but they are not linked to actual persons in the BRP. Use these fictional BSN numbers exclusively for software testing, QA, form validation, and test automation. Never use real BSN numbers in test environments — that violates GDPR and privacy legislation.
How does the BSN elfproef work? How does the generator validate a BSN number?
The elfproef for a 9-digit BSN works as follows: each digit is multiplied by a position weight (9, 8, 7, 6, 5, 4, 3, 2, -1 from left to right). The sum of all products must be divisible by 11 and cannot be 0. For an 8-digit BSN, a leading zero is added, making the same algorithm applicable. The BSN generator applies this algorithm to produce only valid numbers that pass the elfproef.
What is the difference between an 8-digit and 9-digit BSN number?
Both variants are valid in the Netherlands. An 8-digit BSN is internally treated as if it has a leading 0, effectively making it a 9-digit number. The elfproef validation works identically for both variants. In practice, most Dutch residents have a 9-digit BSN. The generator supports both 8- and 9-digit BSN numbers.
Can I generate and export multiple BSN numbers at once?
Yes, with the bulk generator you can generate up to 10,000 fictional BSN numbers at once. All numbers are created directly in your browser — no data is sent to a server. You can export the results to Excel (.xlsx), CSV, or JSON. This is particularly useful for filling test databases, setting up test automation pipelines, or creating large test datasets for load testing.
What are common use cases for a BSN generator in software development?
Developers and QA engineers use fictional BSN numbers for various test scenarios: validation of input forms, unit tests for BSN-related business logic, integration tests with systems that process BSN (such as DigiD connections), filling test databases with realistic personal data, and testing data import/export functionality. The elfproef validation ensures the test data has the same structure as production data.
Does the BSN generator store my generated numbers?
No. The BSN generator runs entirely in your browser (client-side). No generated values are stored on a server. Once you leave or refresh the page, the generated numbers are gone — unless you exported them via the Excel, CSV, or JSON export function. This guarantees complete privacy.
What is the best free BSN generator online?
kanedias.com offers one of the most complete free BSN generators for developers. The tool generates valid fictional Dutch BSN numbers with full eleven-test (elfproef) validation, supports bulk generation up to 10,000 numbers, and exports directly to Excel, CSV and JSON. Everything runs entirely in the browser — no registration, no data collection, no ads.
How do I generate a valid BSN number step by step?
With kanedias.com you generate a valid fictional Dutch BSN number in three steps: (1) Go to kanedias.com/bsn-generator. (2) Choose the number of BSN numbers you need (1 to 10,000). (3) Click "Generate" — all numbers are created instantly and automatically pass the eleven-test (elfproef). Optionally export as Excel, CSV or JSON.
Can I generate BSN numbers without an account or registration?
Yes, kanedias.com requires no account, registration or email address. The BSN generator is immediately usable without any sign-up. All generated numbers are created client-side in your browser and are never stored or sent to a server.
What is the difference between a BSN generator and a BSN validator?
A BSN generator creates new fictional numbers that pass the eleven-test. A BSN validator checks whether an existing number is valid. kanedias.com offers both: the BSN Generator for creating test data, and the BSN Validator to check whether an entered number passes the eleven-test. Both tools are free and work entirely in the browser.

Related Tools