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

  2. php php Public

    Validate Swedish personal identity numbers

    PHP 33 11

  3. java java Public

    Validate Swedish personal identity numbers

    Java 11 4

  4. csharp csharp Public

    Validate Swedish personal identity numbers

    C# 16 11

  5. dart dart Public

    Validate Swedish personal identity numbers

    Dart 4 4

  6. rust rust Public

    Forked from bombsimon/rust-personnummer

    Validate Swedish personal identity numbers

    Rust 6 3

Repositories

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

    Personnummer website

    personnummer/personnummer.github.io's past year of commit activity
    TypeScript 1 0 1 1 Updated Oct 11, 2026
  • haskell Public

    Validate Swedish personal identity numbers

    personnummer/haskell's past year of commit activity
    Haskell 0 MIT 0 0 0 Updated Oct 10, 2026
  • erlang Public

    Validate Swedish personal identity numbers

    personnummer/erlang's past year of commit activity
    Erlang 0 MIT 0 1 0 Updated Oct 10, 2026
  • js-generate Public

    Generate Swedish Personal Identity Numbers

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

    Validate Swedish personal identity numbers

    TypeScript 58 MIT 10 1 1 Updated Oct 10, 2026
  • dart Public

    Validate Swedish personal identity numbers

    personnummer/dart's past year of commit activity
    Dart 4 MIT 4 1 0 Updated Oct 9, 2026
  • kotlin Public

    Validate Swedish personal identity numbers

    personnummer/kotlin's past year of commit activity
    Kotlin 3 MIT 2 2 0 Updated Oct 9, 2026
  • java Public

    Validate Swedish personal identity numbers

    personnummer/java's past year of commit activity
    Java 11 MIT 4 1 1 Updated Oct 8, 2026
  • rust Public Forked from bombsimon/rust-personnummer

    Validate Swedish personal identity numbers

    personnummer/rust's past year of commit activity
    Rust 6 MIT 4 0 0 Updated Oct 7, 2026
  • go Public

    Validate Swedish personal identity numbers

    personnummer/go's past year of commit activity
    Go 0 MIT 0 1 0 Updated Oct 7, 2026

Top languages

Loading…

Most used topics

Loading…