DevTools Logo

Norway Fødselsnummer Generator

Norway Fødselsnummer Generator

Generate 11-digit Norwegian national identity numbers with both mod-11 check digits — synthetic test data only

Runs in your browser

For Development & Testing Purposes Only - Synthetic Mock Data

Settings

1 value

Generates one value with a valid checksum. Press ⌘/Ctrl+Enter for a fresh one.

Generated value

No value yet

Set options, then press Generate.

Generated values are valid in shape but randomized (Test Data).

Legal Disclaimer: Generated data is for software testing and validation purposes only (e.g. verifying input masks, form validation, or database seeding). It is randomly generated and not taken from any real record, but a random value can coincidentally match a real, issued number, so never use it in real applications, payments, KYC or official forms. Using it to impersonate real people or for any fraudulent activity is illegal. DevTools accepts no liability for how generated data is used.

    Examples

    Generate a fødselsnummer

    Input
    NO FNR · Generate
    Output
    151086 95088

    Birth date 1986-10-15, individual number 950 and check digits 88.

    Reject wrong check digits

    Input
    151086 95077
    Output
    Invalid — bad first check digit, expected 8

    Both check digits are recomputed, so the failing one is named.

    Validate without the space

    Input
    15108695088
    Output
    Valid — born 1986-10-15, female

    Spaces are optional, so the bare 11-digit form normalizes to the same value and check digits.

    About this tool

    The Norway Fødselsnummer Generator produces one 11-digit national identity number (fødselsnummer) in the layout Skatteetaten documents: six digits for the birth date, three individual digits, and two mod-11 check digits.

    The individual number encodes the century: 000–499 for 1900–1999, 500–749 with years 54–99 for 1854–1899, 500–999 with years 00–39 for 2000–2039, and 900–999 with years 40–99 for 1940–1999. Its last digit is even for women and odd for men. The validator also recognizes the D-number, where 40 is added to the day, and the H-number, where 40 is added to the month, and reports the type it detected.

    These are synthetic values for QA and development: never use them on real applications, KYC checks, tax filings, or identity documents, and DevTools accepts no liability for how generated data is used. A random value can coincidentally match a real fødselsnummer. Everything runs locally in your browser.

    What this tool does not do

    • The tool cannot confirm that a number is assigned or that it belongs to a person.
    • Generated values use ordinary fødselsnummer ranges, so they do not cover every D-number or H-number case.
    • A remainder of 10 in either check makes a combination unusable, which slightly narrows the generated set.
    • A generated value can coincide with a real national identity number.

    How to use this tool

    1. Open the fødselsnummer generator

      The tool is pinned to the 11-digit fødselsnummer, so there is no option to choose.

    2. Generate a value

      Click Generate to create one number with a birth date, a matching century and both check digits.

    3. Copy or validate

      Copy the number to a payroll fixture or download it as a .txt file, or switch to Validate to read the birth date and gender.

    Use cases

    Payroll and HR fixtures

    Seed Norwegian employee records with a number that carries a real birth date and valid check digits.

    Century reasoning

    Test that your code derives the century from the individual number instead of assuming 1900 or 2000.

    D-number handling

    Exercise the day-plus-40 path used for foreign workers with a D-number sample.

    Fødselsnummer layout

    PartRule
    DDMMYYBirth date
    Individual (3 digits)Range determines the century; last digit even = female, odd = male
    Check 1 (10th)Mod-11 with weights 3, 7, 6, 1, 8, 9, 4, 5, 2
    Check 2 (11th)Mod-11 with weights 5, 4, 3, 2, 7, 6, 5, 4, 3, 2
    D-number / H-numberDay +40 / month +40, reported as the detected type

    A remainder that gives 10 means the number is invalid; the validator says so explicitly.

    Common mistakes

    Mistake:Assuming the birth year is always 19xx

    Fix:The individual number picks the century, so the same YY digits can mean different centuries.

    Mistake:Checking only the last digit

    Fix:There are two mod-11 check digits, and both must match.

    Mistake:Rejecting a day above 31

    Fix:Days 41–71 mark a D-number, not an invalid date; subtract 40 before judging.

    Frequently asked questions

    Are these real Norwegian fødselsnummer values?

    No. They are synthetic fixtures for QA and development, never for real applications, KYC checks, tax filings, or identity documents, and DevTools accepts no liability for how they are used.

    How many check digits does a fødselsnummer have?

    Two, both computed with modulus 11 over different weight sets; the validator reports whichever one fails.

    How is the century determined?

    The three-digit individual number picks the century range, so the same two-digit year can mean 1900s or 2000s.

    Why is a day above 31 accepted?

    A day from 41 to 71 marks a D-number used for foreign workers; the validator subtracts 40 before checking the date.

    Does the last individual digit indicate gender?

    Yes. An odd last individual digit means male and an even one means female.

    References & standards