Skip to main content
Alona Tool – Free Online Tools

JWT Decoder

Popular Runs in Your Browser

Paste a JSON Web Token to read its decoded header and payload, with issued-at and expiry timestamps shown as UTC dates.

Browser-based: this tool works on your device and does not send your input to an Alona Tool server. See the Privacy Policy for details.
Fast Processing

Loading JWT Decoder… This tool is an interactive page and needs JavaScript enabled in your browser.

Example Usage & Test Cases

Inspect a token
Input Scenario:
A token with header {"alg":"HS256","typ":"JWT"} and payload {"sub":"123456","name":"Alona"}
Generated Result:
Pretty-printed header and payload, plus UTC dates for iat/exp claims

How It Works

1

Paste the full token (header.payload.signature) into the box.

2

Read the decoded header and payload shown in the result.

3

Check the UTC dates to see when the token was issued or expires.

Frequently Asked Questions

No. It only decodes the readable parts. Verifying a signature needs the secret or public key and must be done by your server or a trusted library.

Good to Know

Common uses

  • Checking why an API rejects a token (wrong audience or expired)
  • Reading claims while developing login flows

Limitations and notes

  • A decoded payload is not proof the token is genuine; the signature is NOT verified here.
  • Encrypted tokens (JWE) cannot be decoded.

Related Tools

Free Online JWT Decoder

A JWT is three Base64URL parts separated by dots. This decoder reads the header and payload so you can inspect claims such as subject, issuer and expiry while debugging authentication.

A JSON Web Token is just three Base64URL chunks joined by dots, which makes it unreadable until someone decodes it. Developers paste a token here when a login works in one environment but not another, to see which claims the server actually issued. Others check why an API returns 401, discovering that the exp value has passed or the audience is not what the client expected. Support engineers use it to confirm which user ID a session belongs to, and students use it while learning how stateless authentication stores its data.

Paste the whole token into the box labelled Input; it should look like xxxxx.yyyyy.zzzzz, and a sample is loaded so you can see the layout first. The Result area shows three sections: HEADER, with the algorithm and type, PAYLOAD, with all the claims in indented JSON, and DATES (UTC) whenever the payload contains iat, nbf or exp as numbers. Use the copy button above the result to take the decoded text away. If you see an error, check that you pasted the full token and no extra characters.

Decoding is not the same as verifying. This page reads the header and payload but does not check the signature, and it says so at the bottom of the result. Anyone can write a payload that claims to be an administrator, so never trust a token just because it decodes neatly. Remove a leading word such as Bearer before pasting, or decoding will fail. Encrypted tokens, which have five parts, will not decode. Also treat live tokens as passwords: avoid pasting production credentials into any shared screen or recording.

With the sample token, the header shows alg HS256 and typ JWT. The payload shows sub 123456, name Alona and iat 1760000000, and the dates section turns that last value into 2025-10-09T08:53:20.000Z. That is how you read an issue time without doing the arithmetic. For a real token, compare exp with the current time: if exp is earlier, the token has expired, and clock differences of a few seconds between servers can explain borderline failures. The nbf claim works the other way and marks the earliest valid moment.

Key Highlights:

  • Free to use, no signup
  • Instant results
  • Processed in your browser
  • Works on mobile and desktop