Norwegian fødselsnummer: test generator and validator
Norwegian national identity number, D-number and H-number
Generate synthetic test numbers that no real person has, or check a fødselsnummer, D-number or H-number and see what it encodes.
Nothing leaves your browser. The check runs in this page, and its security policy blocks every network request, so what you type is never sent anywhere.
Generate test numbers
Generated numbers are synthetic: the month is increased by 80, the convention Norway uses for test data (for example in the Tenor test data catalogue). They pass both check digits, and no real person has one.
Check a number
How a fødselsnummer is built
| Part | Digits | Meaning |
|---|---|---|
| Date of birth | 1–6 | DDMMYY. D-numbers add 40 to the day, H-numbers add 40 to the month, synthetic test numbers add 80 to the month. |
| Individual number | 7–9 | With the year, it gives the century: 000–499 for 1900–1999, 500–999 for 2000–2039, and some ranges for 1854–1899 and 1940–1999 |
| Check digits | 10–11 | Two modulus 11 check digits. If either would be 10, the number is never issued. |
Got a whole spreadsheet of these? Scrubsheet finds ID numbers, IBANs, names and emails in Excel and CSV files and anonymizes them, in your browser, without uploading the file.
Anonymize a spreadsheet