jwt: JSON Web Token (JWT) decoding and encoding

[ library, mit, web ] [ Propose Tags ] [ Report a vulnerability ]

JSON Web Token (JWT) is a compact URL-safe means of representing claims to be transferred between two parties.

To get started, see the documentation for the Web.JWT module.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Flags

Manual Flags

NameDescriptionDefault
use_crypton

Use crypton instead of cryptonite

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.6.0, 0.7.0, 0.7.1, 0.7.2, 0.8.0, 0.9.0, 0.10.0, 0.10.1, 0.11.0, 0.12.0
Change log CHANGELOG.md
Dependencies aeson (>=2 && <2.4), base (>=4.8 && <5), bytestring (>=0.10 && <0.13), containers (>=0.5 && <0.9), cryptonite (>=0.6 && <0.31), cryptostore (>=0.5.0.0 && <0.6), http-types (>=0.8 && <0.13), memory (>=0.8 && <0.19), network-uri (>=2.6 && <2.7), scientific (>=0.2 && <0.4), semigroups (>=0.15.4 && <0.21), text (>=0.11 && <2.2), time (>=1.1 && <1.17), unordered-containers (>=0.2 && <0.3), vector (>=0.7.1 && <0.14), x509 (<1.8), x509-store (<1.7) [details]
License MIT
Author Brian McKenna
Maintainer brian@brianmckenna.org
Uploaded by puffnfresh at 2026-09-26T02:20:31Z
Category Web
Home page https://github.com/puffnfresh/haskell-jwt
Bug tracker https://github.com/puffnfresh/haskell-jwt/issues
Source repo head: git clone https://github.com/puffnfresh/haskell-jwt.git
Distributions
Reverse Dependencies 22 direct, 24 indirect [details]
Downloads 26883 total (84 in the last 30 days)
Rating 1.75 (votes: 2) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2026-09-26 [all 1 reports]

Readme for jwt-0.12.0

[back to package description]

Haskell JSON Web Token (JWT)

JSON Web Token (JWT) is a compact URL-safe means of representing claims to be transferred between two parties.

From http://self-issued.info/docs/draft-ietf-oauth-json-web-token.html

JSON Web Token (JWT) is a compact URL-safe means of representing claims to be transferred between two parties. The claims in a JWT are encoded as a JavaScript Object Notation (JSON) object that is used as the payload of a JSON Web Signature (JWS) structure or as the plaintext of a JSON Web Encryption (JWE) structure, enabling the claims to be digitally signed or MACed and/or encrypted.

See the Web.JWT module documentation to get started.