Skip to content
JS
Package

jwt-decode

Decode JWT tokens, mostly useful for browser applications.

v4.0.0, 27 Oct 2023MITESM + CommonJSTypes: BundledAuthentication and authorisation
$ npm install jwt-decode

Key numbers

As of 25 Sept 2026
Weekly downloads
13.3m
+55% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 years ago
v4.0.0
GitHub stars
3.4k
344 forks
Open issues / PRs
2 / 16
Contributors
-
Commits, last 52 weeks
35

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 18.9m (25 Aug 2026)Low 5.2m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

13,283,247 downloads last week, 66,585,099 in the last month. The 12-month change of +55% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
021 in total
Latest version
4.0.0, 27 Oct 20232 years ago
First published
24 Feb 2014
Last push to GitHub
1 Sept 202623 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
16
Commits, last 52 weeks
35
Dependents on npm
6,144

Major versions

  1. v4 first release 4.0.0, 27 Oct 2023
  2. v3 first release 3.0.0, 30 Sept 2020
  3. v2 first release 2.0.0, 15 Mar 2016
  4. v1 first release 1.0.0, 24 Feb 2014

Recent releases

VersionPublished
4.0.027 Oct 2023
3.1.216 Nov 2020
3.1.15 Nov 2020
3.1.05 Nov 2020
3.0.030 Sept 2020
2.2.020 Mar 2017
2.1.018 Jul 2016
2.0.418 Jul 2016
2.0.318 Jul 2016
2.0.218 Jul 2016
2.0.115 Mar 2016
2.0.015 Mar 2016
1.5.119 Jan 2016
1.5.07 Jan 2016
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=18
Runtimes
-
Unpacked size (npm)
14 kB
Dependencies (0)
None
npm install jwt-decode

CDN

jsDelivr: 53.9m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/jwt-decode@4.0.0/
  • unpkghttps://unpkg.com/jwt-decode@4.0.0/
  • esm.shhttps://esm.sh/jwt-decode@4.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
fast-jwt885.3k-21 days agoCommonJS-
njwt483.9k-2 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.