JWT Decoder
Decode a JWT — header, claims and expiry status.
Runs entirely in your browser. Nothing you paste or upload leaves your device.
How to use the JWT decoder
- Paste the full JWT into the box, or press “Sample token”.
- Press “Decode”.
- Read the header, the claims, and whether the token has expired.
JWT decoder example
Press "Sample token" and then Decode. The header reads {"alg":"HS256","typ":"JWT"} — the token is signed with HMAC-SHA256. The payload reads {"sub":"1234567890","name":"Ada Lovelace","iat":1516239022} — the subject is user 1234567890, the name is Ada Lovelace, and the token was issued at Unix time 1516239022 (18 January 2018). This sample carries no expiry claim, so the expiry status says there is nothing to expire. Remember that decoding only reads the claims — it does not check the signature, so a token can decode cleanly and still be forged.
What you will see
A JWT has three parts separated by dots: the header (algorithm, e.g. HS256 or RS256), the payload (claims such as sub, exp and iat) and the signature. The decoder shows the first two as readable JSON and converts exp and iat timestamps to dates.
Tips for using the JWT decoder
- exp is in seconds since 1970 (UTC); a token past its exp is rejected by servers.
- Anyone can read a JWT payload — never put secrets in it.
- Treat real tokens like passwords; this page decodes locally, but avoid pasting production tokens on any site you do not trust.
JWT decoder: common questions
- Does this verify the token?
- No. Decoding only reads the contents — it does NOT verify the signature. A decoded token is not proof that it is genuine.
- What is inside a JWT?
- Three parts: a header (algorithm and type), a payload of claims (such as who the token is for and when it expires), and a signature.
- Is it safe to paste a real token here?
- The token never leaves your browser, but a JWT can contain sensitive data, so avoid pasting production tokens into any web page.
- Why does my token say "invalid"?
- Check for missing parts, extra spaces or quotes copied with it, and that it is Base64URL encoded.