↑

Free JWT Decoder

What this tool does

The JWT Decoder reads a JSON Web Token and shows its header and payload as formatted JSON. Paste any token to see the signing algorithm, registered claims such as issuer, subject and audience, and issued-at and expiry dates with an expired or valid status. Decoding happens in your browser, so tokens are never sent to a server. Decoding is not verification: the signature is shown, not checked. Free for developers.


-
Algorithm
-
Type
-
Expiry status
-
Signature length


Registered claims
-
Decoding is not verification: anyone can read a JWT payload. The signature is shown but NOT checked here, since that needs the secret or public key. Never paste production tokens into sites you do not trust; this tool runs locally in your browser.

Let us know

Please share your experience with this tool.

Thanks for rating!
No ratings yet — be the first!

How do I decode a JWT?

Paste the token and it is decoded instantly. A JSON Web Token has three parts separated by dots: header, payload and signature. The first two parts are base64url-encoded JSON, which the decoder turns back into readable, formatted JSON. The built-in example is the classic demonstration token: its header says the algorithm is HS256 and the type is JWT, and its payload carries the subject 1234567890, the name John Doe, and an issued-at timestamp of 1516239022, which is 18 January 2018, 01:30:22 UTC. The signature part (43 characters here) is shown by length only. Tokens with the wrong number of parts, invalid base64url, or non-JSON content produce a clear error naming the problem.

What claims does a JWT contain?

The payload holds claims: statements about the user and the token. Seven are registered in the JWT standard: iss (issuer, who created the token), sub (subject, usually the user ID), aud (audience, who may accept it), exp (expiry time), nbf (not valid before), iat (issued at) and jti (unique token ID). The decoder lists whichever of these are present, converting the three time claims from Unix seconds to readable UTC dates. Applications add their own custom claims too, like the name in the example or a role field, which appear in the payload JSON. Nothing in the payload is encrypted by default; base64url is an encoding, not encryption.

Is my token expired?

The expiry status checks the time claims against your current clock. If an exp claim exists and has passed, the status reads Expired with the exact date; if it is still ahead, Not expired with the expiry date. If an nbf claim is in the future, the status reads Not yet valid. Tokens without an exp claim, like the demonstration token, report No expiry claim, which in production is usually a smell: non-expiring tokens are risky because a leaked one works forever. The Sample button generates a fresh token expiring one hour from now, so you can see a live Not expired status with issuer, subject, name and role claims.

What is the difference between decoding and verifying?

Decoding only reads the token; verifying proves it is genuine. Anyone can decode any JWT, which is why secrets must never be placed in a payload. Verification checks the signature using the issuer's secret (for HS256) or public key (for RS256 and similar), confirming the token was not altered and really came from the issuer. This decoder deliberately does not verify, because verification needs key material that should never be pasted into a web page. Use it to inspect and debug tokens, and verify signatures in your own backend or identity provider tooling. If a token's algorithm says "none" or an unexpected value, treat that as a red flag.

Is it safe to paste my token here?

This decoder runs entirely in your browser: the token is never transmitted, stored or logged, which you can confirm by disconnecting from the network and decoding anyway. That said, good hygiene still applies. A JWT is a bearer credential; whoever holds it can often act as the user until it expires. Prefer decoding test or short-lived tokens, avoid pasting production admin tokens anywhere, and rotate any token you suspect has leaked. For everyday debugging of your own app's tokens during development, a local decoder like this is the safe option compared with server-side tools that receive the token over the network.

Is it free and private?

Yes. The JWT decoder is free, with no signup, no account and no limits. Everything runs locally in your browser, so tokens, claims and user details stay on your device. For backend developers, QA engineers and anyone debugging an authentication flow, this page does the job in seconds.

FAQs

Can anyone read my JWT payload?

Yes. The header and payload are base64url-encoded, not encrypted. Never put secrets in a JWT payload.

Does this tool verify the signature?

No. Verification needs the secret or public key, which should never be pasted into a web page. Verify in your backend instead.

How do I know if a token is expired?

The expiry status compares the exp claim with your clock and shows Expired, Not expired, Not yet valid, or No expiry claim.

What are the three parts of a JWT?

Header (algorithm and type), payload (claims), and signature, separated by dots. The demo token's signature is 43 characters.

What do iat, exp and nbf mean?

Issued at, expiry time, and not valid before, all as Unix timestamps. The decoder shows them as readable UTC dates.

Is my data stored anywhere?

No. Decoding runs in your browser. Tokens are never sent to a server or stored.


Author

Awais Arshad

Web Tools Developer & Content Creator at FastToolKit.