JWT Decode / Encode
JSON Web Token inspector
Decode, inspect, and encode JSON Web Tokens locally. Supports readable header/payload output, registered claim timestamps, HMAC signing, and HMAC or public-key signature checks.
How it works
Runs entirely in your browser. Decode any three-part JWT without a key, add a secret for HS256/HS384/HS512 checks, add a public key PEM for RS/PS/ES checks, or edit header and payload JSON to encode HS256/HS384/HS512 or alg=none tokens.
sorena.dev / tools / jwt
jwt—JSON Web Token inspector
jwt - JSON Web Token decode / encode
usage: jwt decode <token> [secret] or jwt encode <payload-json> [secret]
$ jwt decode <token>
$ jwt decode <token> secret
$ jwt encode {"sub":"123"} secret