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 31 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 6

  5. csharp csharp Public

    Validate Swedish personal identity numbers

    C# 14 8

  6. dart dart Public

    Validate Swedish personal identity numbers

    Dart 4 4

Repositories

Showing 10 of 26 repositories
  • js-generate Public

    Generate Swedish Personal Identity Numbers

    personnummer/js-generate’s past year of commit activity
    TypeScript 6 MIT 0 1 0 Updated Sep 18, 2024
  • personnummer.github.io Public

    Personnummer website

    personnummer/personnummer.github.io’s past year of commit activity
    TypeScript 1 0 1 0 Updated Sep 18, 2024
  • js Public

    Validate Swedish personal identity numbers

    personnummer/js’s past year of commit activity
    TypeScript 51 MIT 9 1 0 Updated Sep 16, 2024
  • scala Public

    Validate Swedish personal identity numbers

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

    Validate Swedish personal identity numbers

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

    Validate Swedish personal identity numbers

    personnummer/java’s past year of commit activity
    Java 8 MIT 6 1 1 Updated Sep 9, 2024
  • perl Public

    Validate Swedish personal identity numbers

    personnummer/perl’s past year of commit activity
    Perl 0 MIT 0 1 0 Updated Sep 5, 2024
  • csharp Public

    Validate Swedish personal identity numbers

    personnummer/csharp’s past year of commit activity
    C# 14 MIT 8 1 0 Updated Sep 5, 2024
  • python Public

    Validate Swedish personal identity numbers

    personnummer/python’s past year of commit activity
    Python 12 MIT 14 1 0 Updated Aug 29, 2024
  • php Public

    Validate Swedish personal identity numbers

    personnummer/php’s past year of commit activity
    PHP 31 MIT 9 1 1 Updated Aug 22, 2024