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 9

  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 Nov 7, 2024
  • scala Public

    Validate Swedish personal identity numbers

    personnummer/scala’s past year of commit activity
    Scala 2 MIT 1 1 2 Updated Nov 4, 2024
  • js Public

    Validate Swedish personal identity numbers

    personnummer/js’s past year of commit activity
    TypeScript 51 MIT 9 1 0 Updated Oct 29, 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 Oct 28, 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
  • 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 Oct 24, 2024
  • python Public

    Validate Swedish personal identity numbers

    personnummer/python’s past year of commit activity
    Python 12 MIT 14 1 0 Updated Oct 24, 2024
  • swift Public

    Validate Swedish personal identity numbers

    personnummer/swift’s past year of commit activity
    Swift 4 MIT 4 2 (1 issue needs help) 1 Updated Oct 23, 2024
  • java Public

    Validate Swedish personal identity numbers

    personnummer/java’s past year of commit activity
    Java 8 MIT 6 1 1 Updated Oct 21, 2024
  • kotlin Public

    Validate Swedish personal identity numbers

    personnummer/kotlin’s past year of commit activity
    Kotlin 3 MIT 4 2 0 Updated Oct 10, 2024