JWT Decoder
Beta: this tool hasn't been fully reviewed yet. Double-check results before relying on them.
Inputs
Results
- Status
- —
- Algorithm
- —
- Issuer
iss - Subject
sub - Audience
aud - Issued at
iat - Not before
nbf - Expires
exp - Token ID
jti
Header
Payload
The signature isn't checked: decoding only shows what the token claims. Anyone can make a token that says anything; only a server with the key can trust it.
Your input is too long to share as a link, so the page address no longer includes it.
A JWT is three Base64url pieces joined by dots: a header, a payload of claims (who the token is for, when it expires…) and a signature. The first two are just encoded JSON, readable by anyone. This decoder shows them, turns the timestamps into dates and tells you whether the token is still within its validity window.
How to use it
- Paste the token (a leading “Bearer “ is fine), or try the sample.
- Read the status, the algorithm and the standard claims; times are shown as dates and as “in 2 hours” or “3 days ago”.
- The full header and payload are below as formatted JSON.
Example: the sample token used in many JWT tutorials, eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c, decodes to algorithm HS256, subject 1234567890, name John Doe, issued at 1516239022 (January 18, 2018), with no expiry.
Questions and answers
Is it safe to paste a real token here?
The token is decoded in your browser and isn’t sent anywhere or put in the page’s link. Still, treat live tokens like passwords: anyone who has one can use it until it expires.
Does this check the signature?
No. Checking needs the secret or public key, which belongs on your server. A decoded token proves nothing about who made it.
What are iat, nbf and exp?
Times in seconds since January 1, 1970 (UTC): when the token was issued, the earliest time it may be used, and when it expires.
Why won't my token decode?
It may be a JWE (encrypted, with five parts) or an opaque token that isn’t a JWT at all. Some providers’ access tokens are random strings.