JWT Decoder

Input
Output

JWT Decoder

Paste a JSON Web Token, even with Bearer or Authorization: in front of it, to see its header, payload and every claim explained on one page, with expiry checked. Add the secret or public key and the signature is verified right there. You can also sign new tokens.

How do I use the JWT Decoder?

  1. Paste the token, as it comes: Bearer prefix, quotes and line breaks are cleaned up.
  2. Read the header, the payload and what each claim means.
  3. To check the signature, put the shared secret or the public key (PEM, certificate, JWK or JWKS) in Secret or key.

What does the JWT Decoder do?

  • Header, payload, claims and signature on one page, with exp, iat and nbf checked against the clock
  • Verifies HS256/384/512, RS, PS and ES 256/384/512 and EdDSA signatures
  • Reads PEM public keys, X.509 certificates, JWKs and JWKS key sets (picked by kid)
  • Warns about HMAC secrets shorter than RFC 7518 allows
  • Signs new tokens with a secret or a private key, with your own header
  • Secrets and keys are never saved or put in share links

Frequently asked questions

Is it safe to paste a production JWT?
The token is decoded on your device and never sent anywhere. Even so, treat live tokens with care.
Can it verify the signature?
Yes. Enter the shared secret, or the issuer's public key as PEM, a certificate, a JWK or the JWKS from its /.well-known/jwks.json, and the result shows at once.
Can I paste the whole Authorization header?
Yes. Bearer, Authorization:, quotes, line breaks and callback URLs with id_token= are stripped before decoding.
Why does my token show as expired?
The exp claim is in the past. Bracely shows the exact expiry time next to it.

More JSON tools

Bracely has 108 JSON tools in one page. Related ones:

Runs entirely in your browser. Nothing you paste is uploaded. Made by Saurabh Pagrut · About · Privacy policy
Last updated · Version 6.7 · Changelog
Saurabh Pagrut on GitHub · LinkedIn · X · YouTube · Instagram