# jsonwebtoken

> JSON Web Token signing and verification for Node.js

Source: https://talira.ai/catalog/jsonwebtoken-qd8xwc7x
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [security / auth / libraries](https://talira.ai/categories/security/auth/libraries), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Supports: [JWT](https://talira.ai/standards/jwt.md)[^1]
- Backed by: [Auth0, Inc.](https://talira.ai/orgs/auth0.md)
- Funding: acquired by Okta (2021)[^3]

jsonwebtoken is an implementation of JSON Web Tokens (RFC 7519) for Node.js, built on node-jws. jwt.sign creates tokens with HMAC, RSA or ECDSA keys, synchronously or with a callback, and sets claims such as expiry, not-before, audience, issuer, subject and key ID; jwt.verify checks a token's signature and claims, and jwt.decode reads it without verifying. It rejects RSA keys shorter than 2048 bits unless told otherwise.

## Links

- GitHub: https://github.com/auth0/node-jsonwebtoken

## Problems it solves

- issue and verify JWTs in a Node.js API
- check a JWT's signature and expiry in Express middleware
- sign a token with an RSA private key in Node.js

## Features

- Sign tokens with HMAC, RSA or ECDSA keys
- Verify a token's signature and claims
- Expiry, not-before, audience, issuer, subject and key ID options
- Synchronous or callback-based signing
- Rejects RSA keys under 2048 bits by default

## Trust

Overall: 0.49 out of 1.
Signals: maintenance 0.27, adoption 0.85, momentum 0.62, community 0.81, backing 0.55, extensibility 0.00.

- 18.2k GitHub stars
- 108 contributors
- backed by Auth0, Inc.
- funding: acquired by Okta (2021)

Warnings:

- last commit 5 months ago

## Sources

[^1]: https://github.com/auth0/node-jsonwebtoken (checked 28 Nov 2026)
[^2]: https://github.com/auth0/node-jsonwebtoken/blob/master/LICENSE (checked 28 Nov 2026)
[^3]: https://www.sec.gov/Archives/edgar/data/1660134/000119312521146823/d133101dex991.htm (checked 28 Nov 2026)
