How to use JWT Decoder
- Paste your JWT (three parts separated by dots; a leading "Bearer " is accepted).
- Read the decoded header and payload in pretty-printed JSON.
- Check the claims table for issuer, subject, audience and the dates of iat, nbf and exp, shown in UTC and in your local time.
- Copy the header or payload if you need them.
Features
- Decodes the header and payload to formatted JSON
- Shows iat, nbf and exp as dates, with "in the past" or "in the future"
- Warns about expired tokens, tokens that are not valid yet and alg "none"
- States clearly that the signature is not verified
- Runs in your browser, so the token is never uploaded
Supported formats and limits
- Maximum input: 10,000,000 characters
Examples
| Input | Result |
|---|---|
| eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkFuYSBQw6lyZXoiLCJpYXQiOjE1MTYyMzkwMjIsImV4cCI6MTkxNjIzOTAyMn0.bm90LWEtcmVhbC1zaWduYXR1cmU | Header: {"alg":"HS256","typ":"JWT"} Payload: {"sub":"1234567890","name":"Ana Pérez","iat":1516239022,"exp":1916239022} iat: 2018-01-18T01:30:22.000Z exp: 2030-09-21T16:37:02.000Z Signature: present, not verified |
Limitations
- The signature is NOT verified. Decoding cannot tell you whether a token is genuine or has been tampered with; that needs the secret or public key and must be done on your server.
- Only signed tokens (JWS) in compact form are read. Encrypted tokens (JWE) cannot be decoded without the key.
- Dates are read from the numeric claims iat, nbf and exp, which are seconds since 1970 in UTC.
Learn more
A JSON Web Token (JWT), defined in RFC 7519, is a compact way to carry claims between two parties. It has three parts separated by dots: a header, a payload and a signature. The header and payload are JSON objects encoded with Base64URL, which is an encoding, not encryption, so anyone holding the token can read them.
The payload holds claims, such as the issuer (iss), the subject (sub), the audience (aud) and time-related claims: issued at (iat), not before (nbf) and expiration (exp). These times are whole seconds since 1 January 1970 UTC.
The signature is what protects the token. A server that receives a JWT must verify the signature with the right key and check the claims before trusting it. A decoder shows what a token says, not whether it is true. One known pitfall is the alg value "none", which claims there is no signature; servers must never accept it for protected resources.
Frequently asked questions
Does this tool verify the JWT signature?
No. It only decodes the header and payload, which are Base64URL-encoded JSON that anyone can read. Verifying a signature needs the key and must happen on your server.
Is it safe to paste a token here?
Decoding runs in your browser and the token is not uploaded. Even so, treat live tokens like passwords and prefer expired or test tokens.
What do iat, nbf and exp mean?
iat is when the token was issued, nbf is the time before which it must not be accepted and exp is when it expires. All three are in seconds since 1 January 1970 UTC.
Why does it say the token has expired?
The exp claim is earlier than the current time on your device. If your clock is wrong, the result will be wrong too.
Sources
Last reviewed: September 30, 2026