JWT Decoder
Decode a JWT header and payload without verifying its signature.
Your result will appear here…
How to use JWT Decoder
- Paste a three-segment compact JWT without the Bearer prefix.
- Select Decode.
- Inspect the header and claims, then verify them in your trusted authentication system.
Example
Input / settings:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjMifQ.c2ln
Output:
Header:
{
"alg": "HS256",
"typ": "JWT"
}
Payload:
{
"sub": "123"
}
Signature: not verifiedIllustrative token with a dummy signature. The decoder labels claims as unverified; this is the decoded data, not a valid credential.
When to use
- Inspect an issuer or audience mismatch.
- Check the spelling of a custom claim.
- Identify a token's declared algorithm while debugging.
Overview
A compact signed JWT has header, payload, and signature segments. This decoder exposes the first two as JSON for inspection; it does not establish whether the token is authentic or acceptable to a service.
Supported input
A compact token with three non-empty dot-separated segments. The header and payload must decode from Base64URL to UTF-8 JSON.
Output details
Formatted decoded header and payload followed by a warning that the signature is not verified.
Limitations
- Decoding does not verify a signature, issuer, audience, expiration, or authorization. Treat decoded claims as untrusted.
- Encrypted five-segment JWE tokens and tokens with an empty signature segment are not accepted.
- The signature segment is not decoded or checked. Successful decoding is not proof that the token is a valid JWT.
Common mistakes
- Decoding is not signature verification.
- A five-segment encrypted JWE is not supported by this decoder.
- JWT time claims use seconds, not JavaScript milliseconds.
Practical tips
- Use test tokens instead of active production credentials.
- Check signature, accepted algorithm, issuer, audience, and time claims in the consuming service.
Privacy and security
This tool runs entirely in your browser. Your input is never uploaded to our servers. Tokens are decoded locally. Treat even readable payloads as sensitive; Base64URL encoding is not encryption.
References
Frequently asked questions
Can this prove a token is genuine?
No. A readable header and payload can be forged; no signing key is used here.
Why is Bearer rejected?
Bearer is an HTTP authorization scheme, not part of the compact token. Paste only the token.
Does exp guarantee access until that time?
No. A server may reject a token for other reasons, including audience, revocation, or invalid signature.