About this tool
Paste a JWT to read its header and payload as formatted JSON, with registered claims such as exp, iat and nbf shown as dates and flagged when the token has expired or is not yet valid. To check the signature, enter the shared secret for HS256/384/512, or a public key as PEM, JWK or X.509 certificate for RSA, ECDSA and EdDSA tokens. Tokens often grant access to real accounts, so decoding and verification happen entirely in your browser.
How to use JWT Decoder
- Paste the token (a leading 'Bearer ' is ignored).
- Read the decoded header, payload and claim dates.
- Enter the secret or public key to verify the signature.
- Copy the header or payload JSON if you need it.
Frequently asked questions
Can anyone read the contents of a JWT?
Yes. A signed JWT is only Base64URL-encoded, not encrypted, so never put passwords or other secrets in its payload.
Why does verification fail with the right secret?
Check whether your secret is stored Base64-encoded, and make sure you are using the key for the algorithm in the header. Any change to the token also breaks the signature.
Is it safe to paste a production token here?
Nothing is sent to a server, but treat live tokens like passwords anyway: prefer expired or test tokens, and clear the box when you are done.