Skip to content
@personnummer

Personnummer

Packages for validating Swedish personal identity numbers in different programming languages.

About Personnummer

Personnummer is a small open-source project created to validate, format and determine sex and age from swedish personal identity numbers. Support the project by becoming a backer or sponsor at OpenCollective.

Features

  • validation
  • formatting
  • determine age
  • determine sex
  • determine if coordination number
  • determine if interim number

All features might not be implemented in all languages. Full specification can be found here.

Pinned Loading

  1. js js Public

    Validate Swedish personal identity numbers

    TypeScript 51 9

  2. php php Public

    Validate Swedish personal identity numbers

    PHP 32 9

  3. go go Public

    Forked from frozzare/go-personnummer

    Validate Swedish personal identity numbers

    Go 8 4

  4. java java Public

    Validate Swedish personal identity numbers

    Java 8 5

  5. csharp csharp Public

    Validate Swedish personal identity numbers

    C# 14 10

  6. dart dart Public

    Validate Swedish personal identity numbers

    Dart 4 4

Repositories

Showing 10 of 26 repositories
  • personnummer.github.io Public

    Personnummer website

    personnummer/personnummer.github.io’s past year of commit activity
    TypeScript 1 0 1 0 Updated Dec 26, 2024
  • scala Public

    Validate Swedish personal identity numbers

    personnummer/scala’s past year of commit activity
    Scala 2 MIT 1 1 3 Updated Dec 23, 2024
  • kotlin Public

    Validate Swedish personal identity numbers

    personnummer/kotlin’s past year of commit activity
    Kotlin 3 MIT 4 2 0 Updated Dec 20, 2024
  • java Public

    Validate Swedish personal identity numbers

    personnummer/java’s past year of commit activity
    Java 8 MIT 5 1 1 Updated Dec 20, 2024
  • js Public

    Validate Swedish personal identity numbers

    personnummer/js’s past year of commit activity
    TypeScript 51 MIT 9 1 0 Updated Dec 19, 2024
  • csharp Public

    Validate Swedish personal identity numbers

    personnummer/csharp’s past year of commit activity
    C# 14 MIT 10 1 1 Updated Dec 16, 2024
  • python Public

    Validate Swedish personal identity numbers

    personnummer/python’s past year of commit activity
    Python 13 MIT 14 1 0 Updated Dec 16, 2024
  • go Public Forked from frozzare/go-personnummer

    Validate Swedish personal identity numbers

    personnummer/go’s past year of commit activity
    Go 8 MIT 5 1 0 Updated Dec 11, 2024
  • js-generate Public

    Generate Swedish Personal Identity Numbers

    personnummer/js-generate’s past year of commit activity
    TypeScript 6 MIT 0 1 0 Updated Dec 9, 2024
  • perl Public

    Validate Swedish personal identity numbers

    personnummer/perl’s past year of commit activity
    Perl 0 MIT 0 1 0 Updated Oct 25, 2024