JWT decoder – read any JSON Web Token instantly
Paste a JWT to see its header and payload as formatted JSON, with readable dates for exp, iat and nbf and a clear “expired / valid” status. Optionally verify HS256 signatures. Nothing is sent to a server.
Verify an HMAC signature (HS256 / HS384 / HS512)
What is a JWT?
A JSON Web Token (JWT) is a compact, URL-safe token used for login sessions and API access. It has three parts separated by dots: a header (the algorithm), a payload (the claims, such as the user ID and expiry time) and a signature that proves the token was not changed.
Important: decoding is not verifying
The header and payload are only Base64URL-encoded, not encrypted – anyone with the token can read them. Never put passwords or secrets in a JWT payload. Your server must always verify the signature and check exp, iss and aud before trusting a token.
Common claims
| Claim | Meaning |
|---|---|
| iss | Who issued the token |
| sub | The subject – usually the user ID |
| aud | Who the token is meant for (your API) |
| exp | Expiry time (Unix timestamp in seconds) |
| nbf | Not valid before this time |
| iat | When the token was issued |
| jti | Unique token ID, used to prevent replay |
Security tip
Treat real access tokens like passwords. This decoder runs entirely in your browser, but it is still good practice to use test tokens, or tokens that have already expired, when debugging. Need to convert the exp value yourself? Use our Unix Timestamp Converter.
Frequently asked questions
How do I decode a JWT?
Paste the token into the box. The header and payload are shown as formatted JSON, with dates such as exp and iat converted to readable times.
Is it safe to paste my JWT here?
The token is decoded only in your browser and never sent anywhere. Still, treat live tokens like passwords and prefer test or expired tokens.
How do I know if a JWT has expired?
Look at the status bar. It compares the exp claim with your current time and shows whether the token is expired or when it will expire.
Can this verify the signature?
Yes for HMAC tokens (HS256, HS384 and HS512) if you enter the secret. Tokens signed with RS256 or ES256 need the public key and are not checked here.
Is a JWT encrypted?
A normal signed JWT (JWS) is not encrypted – anyone can read the payload. Encrypted tokens (JWE) have five parts and cannot be decoded without the key.
Need a website or app built?
We design and build websites and Android apps for clients worldwide – clear scope, fixed price, fast delivery.
Techpass Master Technologies · Websites, Android apps and digital marketing
