Decode a JWT and read what it says
A signed JWT is made of three dot-separated parts: a header, a payload and a signature. Paste the token as you
have it, with or without the Bearer prefix of an Authorization header: the JWT decoder
shows the header and the payload as indented JSON, displays the announced algorithm (alg) and
converts the timestamps to your local time. Decoding and verification run in your browser, with Web Crypto.
A five-part token is a JWE, an encrypted token: the tool tells you so, since only whoever holds the decryption key can read its content.
What the timestamps mean
JWT timestamps count the seconds elapsed since 1 January 1970 UTC. The tool converts them and keeps the raw value in brackets:
| Claim | Meaning |
|---|---|
exp | Expiration time: from this moment on, the token must be rejected. |
nbf | “Not before”: the token is accepted only from this moment on. |
iat | When the token was issued. |
auth_time | When the user actually authenticated (OpenID Connect), sometimes long before the token was issued. |
The status compares these times with your computer's clock: valid, expired,
not yet valid, or no expiry when the token carries no exp. Servers
often allow a small leeway for clock skew, so a token that expired a few seconds ago may still be accepted there.
Verify the JWT signature: which key to paste
The verification field adapts to the algorithm in the header:
- HS256, HS384, HS512: the shared secret used to sign. Choose whether it is written as text or as Base64url, depending on how your application stores it.
- RS256 to RS512 and PS256 to PS512: the issuer's RSA public key.
- ES256, ES384, ES512: the elliptic-curve public key (P-256, P-384, P-521).
- EdDSA: the Ed25519 public key.
Paste a public key as PEM, the block starting with -----BEGIN PUBLIC KEY-----, or as a JWK. If the
issuer publishes a JWKS file, copy the object from the keys array whose kid matches the
one in the header. An X.509 certificate reduces to its public key with
openssl x509 -in cert.pem -pubkey -noout, and an RSA key in BEGIN RSA PUBLIC KEY format
converts with openssl rsa -RSAPublicKey_in -in key.pem -pubout.
A valid signature proves that the token comes from the key holder and has not been altered. A token with
alg: none is unsigned: the tool never reports it as valid. To accept a token, a server also checks
the issuer, the audience and the timestamps; our guide
Understanding and verifying a JWT walks through every check. To sign your
own HS256 tokens, the secret key generator provides a random secret
of the right length.
Sharing a token with a colleague
A JWT is a bearer token: whoever holds it can use it, until it expires, with no further proof. Pasted into a chat or a ticket, it stays readable in the history, notifications and backups long after the conversation. “Send with onlyU” sends the token itself: the kit hands it to onlyU from one tab to another in your browser, never in an address and never through the kit's server. onlyU encrypts it in your browser and creates a link that opens only once, valid for 24 hours, then disappears.