Free JWT Decoder
Decode any JSON Web Token (JWT) to read its header and payload instantly. This tool splits and Base64URL-decodes the token so you can inspect claims, expiry, and scopes without pasting your token into a server.
The payload it reveals should be checked against the JSON Formatter & Beautifier, and its signature scheme is documented alongside the Base64 to Hex Converter family of encoders. When the token needs to be reproduced for testing, the String Escape / Stringify tool handles the literal.
How to use the JWT Decoder
- 1 Paste a JWT — the three dot-separated parts.
- 2 Read the header and the payload, decoded and presented as JSON.
- 3 Check the expiry claim and compare it against the current time.
- 4 Remember that the signature is displayed but not verified here.
What the claims mean
A JWT payload is a set of claims, and the registered ones have defined meanings worth knowing. `iss` names the issuer, `sub` the subject the token is about, `aud` the intended audience, and `exp` the expiry time as a Unix timestamp. A token presented to the wrong audience is a common mistake that verification is designed to catch.
The expiry claim is the one to check first when debugging. A token that looks valid but is rejected is very often simply expired, and the difference between seconds and milliseconds in the `exp` value is a recurring source of confusion.
- `exp` is a Unix timestamp in seconds, not milliseconds.
- `aud` must match the service the token is presented to.
- `nbf` means the token is not valid before that time.
- The signature must be verified against a key — decoding alone proves nothing.
Important: decoding is not verification
A JWT is only Base64URL-encoded, not encrypted — anyone can read its contents. This tool decodes the token but does NOT verify the signature. Never treat a decoded token as proof of authenticity; always verify signatures with the issuing secret or public key on your server. Because verification requires a secret, it cannot be done safely in a browser tool.
Frequently asked questions
Does decoding a JWT verify it?
No, and this is the most important thing to understand. Decoding base64url-encodes the payload, which anyone can do. Verification requires the secret or the public key and is a separate operation. A token that decodes cleanly may still be forged or expired. Never treat a decoded token as trustworthy without verifying its signature.
What claims and registered timestamps are extracted from the JWT payload?
The decoder parses all standard registered claims specified in RFC 7519, including exp (expiration time), nbf (not before), and iat (issued at), converting Unix epoch timestamps into human-readable UTC dates. It also decodes custom application claims, audience (aud), and subject (sub) identifiers formatted as clean JSON.
What are the three parts?
Header, payload and signature, separated by dots. The header describes the signing algorithm and token type. The payload carries the claims: subject, issuer, expiry and whatever else the application added. The signature is a cryptographic hash over the first two parts, which is what makes tampering detectable.
Related Developer Tools
You might also need
Tools from other categories that people pair with the JWT Decoder: