JWT Decoder: Read a JSON Web Token
Paste a JSON Web Token and see what is inside it: the header, the payload and the signature part, decoded and laid out readably. Time claims such as exp, nbf and iat are shown in your local time and in UTC, together with a plain statement of whether the token is expired, not yet valid or inside its time window according to your own clock. Issuer, subject, audience and token id are listed too.
This is a decoder, not a judge. Reading a token does not prove that it is genuine. If the token uses HS256, HS384 or HS512, you can type the secret and the tool checks the signature on your device. For tokens signed with RSA or elliptic-curve keys it says clearly that the signature is not verified here. The token and the secret are not uploaded or stored.
Header
Payload
Time claims
| Claim | Meaning | UTC | Your time | Relative |
|---|
Who and what
Signature
How a JWT is built
A JSON Web Token (JWT, RFC 7519) is a short string with three parts separated by dots: a header, a payload and a signature. The header and the payload are JSON objects written in Base64URL, a URL-safe form of Base64. Anyone holding the token can read them, which is exactly what this tool does. The header says how the token was signed, for example HS256. The payload carries the claims, such as who the token is about (sub), who issued it (iss), who it is for (aud) and when it expires (exp).
The signature is what makes a token trustworthy, and decoding does not check it. With the HMAC algorithms (HS256, HS384, HS512) the same secret both creates and checks the signature, so if you hold the secret you can check it here: the tool recomputes the HMAC over the first two parts and compares it with the third. For RS256, ES256 and similar algorithms a public key is needed, and this tool does not verify those signatures. A token whose algorithm is "none" is not signed at all and the tool warns about it.
Be careful with what you paste. A live token can give access to an account until it expires, and a signing secret lets someone create tokens. This tool runs in your browser and does not send either anywhere, but the safest habit is to use test tokens and test secrets, and to avoid pasting production secrets into any page you do not fully trust. A token that decodes fine and shows a future expiry is not thereby secure or valid: only the server that issued it can say that.
- Decodes header and payload locally, including Unicode text, and pretty-prints the JSON.
- exp, nbf and iat in local time and UTC, with expired, not yet valid or valid now.
- Lists iss, sub, aud and jti.
- Warns when the algorithm is "none".
- Optional signature check for HS256, HS384 and HS512 with a secret you type.
- Says plainly when a signature is not verified (RS, PS, ES and other algorithms).
- Plain-language errors for a wrong number of parts, bad Base64URL or invalid JSON.
How to use the JWT Decoder
- Paste the token. A leading "Bearer " is fine.
- Read the header, payload and the time status.
- If the algorithm is HS256, HS384 or HS512, type the secret to check the signature.
- Use Copy on the header or the payload if you need the JSON.
Is it private?
Yes. The token and the secret are processed by your own browser. They are not uploaded, not stored in cookies or browser storage, and not sent to any service.
Read our tools privacy policy →
Frequently asked questions
Does decoding a JWT prove that it is valid?
No. Anyone can read the header and payload of a token and anyone can write a token that decodes nicely. Validity depends on the signature, the issuer, the audience and the time claims, all checked by the server that receives the token. This tool shows you the contents and, for HMAC tokens, checks the signature if you supply the secret.
How does the tool decide whether a token is expired?
It compares the exp and nbf claims, which are in seconds since 1970, with the clock of your device. If your clock is wrong the answer is wrong. The check says nothing about the signature.
Why is the signature not verified for RS256 or ES256?
Those algorithms are checked with a public key, and this tool only supports the HMAC family where you type a shared secret. For the other algorithms it decodes the token and states that the signature is not verified here.
What does alg "none" mean?
It means the token has no signature at all. A server that accepted it would let anyone make their own tokens, so a well-built server must reject it. The tool shows a warning whenever it sees it.
Is it safe to paste my token or secret here?
This page works in your browser and does not upload, log or store either value. Still, treat tokens like passwords: do not paste production secrets into pages you do not trust, prefer test credentials, and rotate anything that you have shared.
Why does it say my token is malformed?
A JWT must have exactly three parts separated by dots, each part must be valid Base64URL, and the header and payload must be JSON objects. The message tells you which of these is wrong. Five parts usually mean an encrypted token (JWE), which cannot be read without its key.