jose libraries
Top JWT, JWE, JWK & JWKS libraries for every language
Showing 33 of 33 libraries
.NET
dotnet add package System.IdentityModel.Tokens.JwtMicrosoft's official JWT handler for .NET — used in ASP.NET Core authentication
dotnet add package Microsoft.IdentityModel.JsonWebTokensNewer Microsoft JWT API with improved performance over System.IdentityModel
dotnet add package ScottBrady.IdentityModelExtends Microsoft.IdentityModel with EdDSA (Ed25519) and extra algorithm support
Elixir
{:guardian, "~> 2.3"}Authentication framework for Elixir using JWT — built on top of JOSE
{:joken, "~> 2.6"}Most popular Elixir JWT library with token config DSL and claim validation
{:jose, "~> 1.11"}Full JOSE implementation for Erlang/Elixir — JWS, JWE, JWK, JWT, JWA
Go
go get github.com/golang-jwt/jwt/v5Community-maintained fork of dgrijalva/jwt-go — most popular Go JWT library
go get github.com/go-jose/go-jose/v4Full JOSE implementation for Go — JWS, JWE, JWK (originally by Square)
go get github.com/lestrrat-go/jwx/v2Complete JOSE stack for Go — JWA, JWK, JWS, JWE, JWT with excellent test coverage
Java
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-api</artifactId>
<version>0.12.6</version>
</dependency>Java JWT library with a fluent builder API — most starred Java JWT project
<dependency>
<groupId>com.auth0</groupId>
<artifactId>java-jwt</artifactId>
<version>4.4.0</version>
</dependency>Simple and lightweight JWT library for Java and Android by Auth0
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
<version>9.47</version>
</dependency>Comprehensive JOSE and JWT library for Java — the most complete Java implementation
JavaScript / TypeScript
npm install jsonwebtokenMost popular Node.js JWT implementation for signing and verifying tokens
npm install joseUniversal JOSE library for Node.js, Deno, Bun, Cloudflare Workers, and browsers
npm install jwt-decodeLightweight library to decode JWTs without verification (client-side use)
Kotlin
implementation("com.auth0:java-jwt:4.4.0")Auth0's lightweight JWT library — fully compatible with Kotlin projects
implementation("com.nimbusds:nimbus-jose-jwt:9.47")Full JOSE library for Kotlin/JVM — complete JWS, JWE, JWK, JWT support
implementation("com.github.niclas9787:kotlin-jwt:1.0.0")Kotlin-native JWT library for simple token creation and validation
PHP
composer require firebase/php-jwtSimple PHP library for encoding and decoding JSON Web Tokens
composer require lcobucci/jwtFramework-agnostic PHP JWT library with a fluent builder interface
composer require web-token/jwt-frameworkFull JOSE framework for PHP — complete JWS, JWE, JWK, and JWT implementation
Python
pip install PyJWTMost widely used Python library for encoding and decoding JSON Web Tokens
pip install python-joseJOSE implementation supporting JWS, JWE, JWK, and JWT with multiple backends
pip install jwcryptoFull JOSE stack for Python maintained by Red Hat — JWS, JWE, JWK, JWT
Ruby
gem install jwtMost popular Ruby JWT implementation with broad algorithm support
Rust
cargo add jsonwebtokenMost popular Rust crate for creating and verifying JSON Web Tokens
cargo add biscuitJOSE library for Rust supporting JWS, JWE, and JWK (not biscuit-auth)
cargo add josekitFull JOSE toolkit for Rust — JWS, JWE, JWK, and JWT support
Swift
.package(url: "https://github.com/vapor/jwt.git", from: "5.0.0")JWT signing and verification for the Vapor server-side Swift framework
.package(url: "https://github.com/Kitura/Swift-JWT.git", from: "4.0.0")JWT library for Swift originally developed by IBM for the Kitura framework
.package(url: "https://github.com/airsidemobile/JOSESwift.git", from: "3.0.0")Full JOSE framework for iOS and macOS — JWS, JWE, JWK support