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 59 10

  2. php php Public

    Validate Swedish personal identity numbers

    PHP 34 11

  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 9 4

  5. csharp csharp Public

    Validate Swedish personal identity numbers

    C# 16 11

  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 7 Updated Sep 12, 2026
  • js-generate Public

    Generate Swedish Personal Identity Numbers

    personnummer/js-generate's past year of commit activity
    TypeScript 6 MIT 0 1 10 Updated Sep 10, 2026
  • js Public

    Validate Swedish personal identity numbers

    personnummer/js's past year of commit activity
    TypeScript 59 MIT 10 2 9 Updated Sep 10, 2026
  • perl Public

    Validate Swedish personal identity numbers

    personnummer/perl's past year of commit activity
    Perl 0 MIT 0 1 0 Updated Sep 10, 2026
  • kotlin Public

    Validate Swedish personal identity numbers

    personnummer/kotlin's past year of commit activity
    Kotlin 3 MIT 2 2 1 Updated Sep 7, 2026
  • scala Public

    Validate Swedish personal identity numbers

    personnummer/scala's past year of commit activity
    Scala 3 MIT 1 1 2 Updated Aug 28, 2026
  • java Public

    Validate Swedish personal identity numbers

    personnummer/java's past year of commit activity
    Java 9 MIT 4 1 3 Updated Aug 25, 2026
  • php Public

    Validate Swedish personal identity numbers

    personnummer/php's past year of commit activity
    PHP 34 MIT 11 1 2 Updated Aug 11, 2026
  • elixir Public Forked from bombsimon/elixir-personnummer

    Validate Swedish personal identity numbers

    personnummer/elixir's past year of commit activity
    Elixir 1 MIT 2 0 0 Updated Jul 26, 2026
  • v Public

    Validate Swedish personal identity numbers

    personnummer/v's past year of commit activity
    V 2 MIT 0 1 1 Updated Jul 26, 2026

Top languages

Loading…

Most used topics

Loading…