Development Tools
JWT Decoder
Paste a JSON Web Token to read its header and payload as formatted JSON, with the exp, iat and nbf claims turned into dates and a clear statement of whether the token has expired. The tool warns about unsigned tokens (alg none) and headers that point to key locations. For HS256, HS384 and HS512 tokens you can also enter the secret to check the signature on your own device. Decoding is not the same as verifying: a token can be read by anyone and is only trustworthy if its signature has been checked by the server with the right key. This page makes no network requests.
How to use it
- Paste the token (with or without the word Bearer).
- Read the header, payload and the expiry status.
- Optionally enter an HMAC secret and press Verify signature.
Example
A token whose payload contains {"sub":"123","exp":1767225600} is shown with exp as 2026-01-01T00:00:00.000Z and reported as expired once that moment has passed.
Reading the common claims
- iss, sub, aud: who issued the token, who it is about and who it is for.
- exp, nbf, iat: expiry, not-before and issued-at times, in seconds since 1970.
- jti: a unique token identifier, used to stop reuse.
Which tool fits your task?
This page is for reading a JSON Web Token.
- Base64 Encoder and Decoder: for Base64 encoding and decoding, not reading a JSON Web Token.
- URL Encoder / Decoder: for percent-encoding for web addresses, not reading a JSON Web Token.
- Online MD5 Generator: for checksums for text and files, not reading a JSON Web Token.
- UUID Generator: for generating unique identifiers, not reading a JSON Web Token.
Questions
Does decoding a JWT prove it is valid?
No. The header and payload are only Base64URL-encoded, so anyone can read or forge them. A token is genuine only if the signature verifies with the issuer's key, which a server must check.
Is it safe to paste a real token here?
Nothing is sent from this page, but tokens can grant access and contain personal data. Prefer test tokens, and never paste live production tokens into any site you do not trust.
Can it verify RS256 or ES256 signatures?
No. Those need the issuer's public key. This tool verifies only HMAC tokens (HS256, HS384, HS512) because that needs just the shared secret.
What does alg none mean?
It declares that the token has no signature. A correctly configured server rejects such tokens, so a token like this proves nothing about who created it.
Why does it say expired when I just got the token?
Expiry is checked against your device clock. If the clock is wrong, or the token was issued with a short lifetime, the result will look wrong.
Get practical SEO tips by email
Occasional emails with new guides and tools. Confirm by email first; unsubscribe in one click.