# dart_jsonwebtoken

> Sign, verify and decode JSON Web Tokens in Dart and Flutter

Source: https://talira.ai/catalog/dart-jsonwebtoken-2nkdx55m
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [security / auth / libraries](https://talira.ai/categories/security/auth/libraries), [languages / dart](https://talira.ai/categories/languages/dart)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source (MIT).
- Free tier: yes[^1]
- Supports: [JWT](https://talira.ai/standards/jwt.md)[^2]
- Backed by: [Jonas Roussel](https://talira.ai/orgs/jonas-roussel.md)

dart_jsonwebtoken is a JSON Web Token (RFC 7519) library for Dart: you sign, verify and decode tokens with one call each. It covers 14 algorithms, HMAC (256/384/512), RSA-PKCS1, RSA-PSS, ECDSA (including secp256k1) and EdDSA on ed25519, loads secrets, PEM private keys and public keys from certificates, checks the iss, sub, aud, exp, nbf, iat and jti claims when verifying, and throws typed exceptions such as JWTExpiredException. It runs wherever Dart does: Flutter mobile and web, the Dart VM server and Dart CLIs.

## Links

- Website: https://dart-jwt.dev/
- GitHub: https://github.com/jonasroussel/dart_jsonwebtoken
- Docs: https://dart-jwt.dev/

## Problems it solves

- verify a JWT from my backend inside a Flutter app
- sign a JSON Web Token with an RSA key in a Dart server
- check a token's expiry and audience in Dart

## Features

- sign, verify and decode with one call each
- 14 algorithms: HMAC, RSA-PKCS1, RSA-PSS, ECDSA (incl. secp256k1) and EdDSA (ed25519)
- secrets, PEM private keys and public keys from certificates
- iss, sub, aud, exp, nbf, iat and jti checked at verify time
- typed exceptions such as JWTExpiredException
- Flutter mobile and web, Dart VM server and CLI

## Trust

Overall: 0.35 out of 1.
Signals: maintenance 0.46, adoption 0.41, momentum 0.11, community 0.49, backing 0.30, extensibility 0.00.

- last commit 2 months ago
- 1 commits in the last 90 days
- latest release v3.4.1 7 months ago
- 106 GitHub stars
- 16 contributors
- backed by Jonas Roussel

## Sources

[^1]: https://github.com/jonasroussel/dart_jsonwebtoken/blob/main/LICENSE (checked 29 Nov 2026)
[^2]: https://dart-jwt.dev/ (checked 29 Nov 2026)
