Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedart_jsonwebtoken

A Dart library for creating, signing, decoding and verifying JSON Web Tokens (JWT).

pub.devRemove
jwt_decode

A Dart package to decode JSON Web Tokens, check expiry dates, and verify expiration status.

pub.devRemove
ScoresHealth81 (best)50
Maintenance49 (best)0
Quality100 (best)96
Popularity94 (best)86
Community80 (best)58
Compatibility100100
UsageDownloads (30 days)2.1M (best)702k
Likes360 (best)123
Pub points160 / 160 (best)150 / 160
GitHub stars106 (best)22
MaintenanceLatest release3.4.1, 7 months ago (best)0.3.1, 6 years ago
Major versions in 12 months00
Contributors15 (best)4
Publisherjonasroussel.comimsid.xyz
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies30 (best)
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • All standard JWT algorithms supported
  • Defensive type checks and timing-attack resistant HMAC
  • JWK conversion helpers
  • Pure Dart, works on all platforms
  • Simple top-level functions for parsing, getting expiry dates, and checking expiration.
  • Zero external dependencies.
  • Supports all platforms including Android, iOS, Web, Windows, macOS, and Linux.
Weaknesses
  • No built‑in token storage or refresh flow
  • No integration with auth backends out of the box
  • Requires manual key management
  • Does not perform cryptographic signature verification of the tokens.
  • Limited feature set beyond simple decoding and expiration checks.
WarningsNoneNone
dart_jsonwebtoken vs jwt_decode: which Flutter package should you use? | pubscout