Install
jwt-decode
Decode JWT tokens, mostly useful for browser applications.
4.0.0Latest, 27 Oct 2023
112MDownloads, last month
0Advisories on the latest
0Advisories, all versions
MITLicence
3.4KStars
7.4/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
In the news
- Myth: If a JWT Decodes, It Is Safe dev.to, 2 Dec 2026
- Your JWT decodes fine — so why does the API still return 401? dev.to, 16 Nov 2026
- JWT Decoding vs Verification: Debug Token Expiration Without Making Security Mistakes dev.to, 25 Oct 2026
- Best Practices for Safely Using jwt-decode in React Projects iamdevbox.com, 31 Jul 2025
- How to Decode JWT Tokens in JavaScript Using the jwt-decode NPM Package iamdevbox.com, 24 Jul 2025
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.