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

  2. php php Public

    Validate Swedish personal identity numbers

    PHP 33 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 11

  6. dart dart Public

    Validate Swedish personal identity numbers

    Dart 4 4

Repositories

Showing 10 of 26 repositories
  • 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 Apr 12, 2025
  • personnummer.github.io Public

    Personnummer website

    personnummer/personnummer.github.io’s past year of commit activity
    TypeScript 1 0 1 0 Updated Apr 12, 2025
  • java Public

    Validate Swedish personal identity numbers

    personnummer/java’s past year of commit activity
    Java 8 MIT 5 1 0 Updated Apr 11, 2025
  • js-generate Public

    Generate Swedish Personal Identity Numbers

    personnummer/js-generate’s past year of commit activity
    TypeScript 6 MIT 0 1 1 Updated Apr 11, 2025
  • js Public

    Validate Swedish personal identity numbers

    personnummer/js’s past year of commit activity
    TypeScript 54 MIT 9 1 0 Updated Apr 11, 2025
  • ruby Public

    Validate Swedish personal identity numbers

    personnummer/ruby’s past year of commit activity
    Ruby 6 MIT 4 1 0 Updated Apr 10, 2025
  • kotlin Public

    Validate Swedish personal identity numbers

    personnummer/kotlin’s past year of commit activity
    Kotlin 3 MIT 4 2 0 Updated Apr 1, 2025
  • scala Public

    Validate Swedish personal identity numbers

    personnummer/scala’s past year of commit activity
    Scala 2 MIT 1 1 1 Updated Apr 1, 2025
  • python Public

    Validate Swedish personal identity numbers

    personnummer/python’s past year of commit activity
    Python 13 MIT 13 1 0 Updated Mar 25, 2025
  • php Public

    Validate Swedish personal identity numbers

    personnummer/php’s past year of commit activity
    PHP 33 MIT 9 1 0 Updated Mar 19, 2025

Top languages

Loading…

Most used topics

Loading…