Belgian National Register Number Generator
Generate a valid Belgian national register number (rijksregisternummer) to use as test data. Your browser calculates the number.
National register number
Digits only
Check digits
How the number is built
A national register number has 11 digits:
90.02.01
Birth date
Digits 1 to 6 are the birth date as year, month, day. Month and day can be 00 when the exact birth date is unknown.
997
Birth counter
Digits 7 to 9 are the birth counter, which tells apart people born on the same day: odd for a man (001 to 997), even for a woman (002 to 998).
04
Check digits
Digits 10 and 11 are the check digits: 97 minus the remainder of the first nine digits divided by 97. For people born in or after 2000, a 2 goes in front of those nine digits first.
Example: a man born on 1 February 1990 with birth counter 997 gets 90.02.01-997.04, because 900201997 mod 97 = 93 and 97 − 93 = 04.
Regular expressions
A regular expression checks the shape only. The check digits still need the calculation above.
With punctuation
^\d{2}\.(0\d|1[0-2])\.([0-2]\d|3[01])-\d{3}\.\d{2}$Digits only
^\d{2}(0\d|1[0-2])([0-2]\d|3[01])\d{5}$Read more on Wikipedia (in Dutch)