Decode & Format JWT
Decode a JWT and pretty-print header and payload
Encode/DecodeHow it works
$ jwt-decode | json-format Examples
Decode a JWT from an API response for debugging
Usage
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODk..." | jwt-decode | json-format Inspect JWT claims for an auth token during troubleshooting
Usage
"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJhdXRoLmV4YW1..." | jwt-decode | json-format Read user claims from a subscription service token
Usage
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjo0MiwiZW1..." | jwt-decode | json-format