JWT Decoder
Decode a JSON Web Token to read its header and payload in plain JSON.
How to use the JWT Decoder
- Paste your JWT (a “Bearer ” prefix is fine).
- The header and payload are decoded to readable JSON.
- Check the issued-at and expiry times if present.
About the JWT Decoder
A JSON Web Token (JWT) is the compact token format behind most modern login and API systems. It has three Base64URL-encoded parts separated by dots — the header (which algorithm signed it), the payload (the claims, such as who the user is and when the token expires) and the signature. This decoder splits the token and turns the header and payload back into readable, formatted JSON so you can see exactly what a token is carrying.
It also reads the standard time claims for you: iat (issued at), exp (expiry) and nbf (not before) are shown as human dates, so you can tell at a glance whether a token has expired or is not yet valid — one of the most common reasons an API call is rejected with a 401. That makes it a fast way to debug auth problems, inspect what a third-party service put in a token, or check the scopes and roles a token grants.
Two things matter for safety. First, decoding happens entirely in your browser — your token is never sent to any server, which is important because a live token is a credential. Second, this tool decodes but does not verify: it shows what is inside without checking the signature, so a decoded payload is not proof of anything and must always be verified on your backend before you trust it. To decode the raw parts by hand, see Base64 decode; to tidy the payload, use the JSON formatter.
Frequently asked questions
Does it verify the signature?
No. It only decodes the header and payload so you can inspect them. Signature verification must be done on your server with the secret or public key.
Is my token sent anywhere?
No — decoding is 100% client-side in your browser. Nothing is uploaded or logged.
Why is the payload readable if it’s “encoded”?
JWTs are encoded, not encrypted. Anyone can decode the payload, which is why you should never put secrets in it.

