auth0/jwt-decode
Decode JWT tokens; useful for browser applications. observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 98
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4573
- days_rel: n/a
- days_push: 13
- n_releases_24m: 0
Adoption not part of the score
3395 stars · 343 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A small TypeScript library that decodes JWT tokens (Base64Url-encoded JSON) in browser and Node environments. It does not validate signatures or claims; tokens must be verified server-side.
Use cases
- decode a jwt token payload in the browser
- read jwt claims like exp or iat client-side
- extract the kid from a jwt header
- inspect a jwt token without verifying it
- decode base64url-encoded token parts in javascript
When to choose
- you need to inspect JWT payload or header contents client-side
- you already validate tokens on the server and just need to read claims in the browser
- you want a tiny, dependency-free decoding utility
When to avoid
- you need to verify token signatures or enforce expiration/issuer checks
- you need server-side JWT authentication middleware
- you need to create or sign JWT tokens
Facets
library · maturity stable
auth serialization developer-tools security web-development frontend browser cross-platform jwt token-decoding base64url browser typescript no-validation authentication nodejs
2 sources
- readme: https://github.com/auth0/jwt-decode · fetched 2026-08-28 · 8d1279711c6d
- registry_npm: https://registry.npmjs.org/jwt-decode · fetched 2026-08-29 · 52318400ad92
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| auth0/jwt-decode | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="auth0/jwt-decode")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem