How do you read what is inside a JWT?
Decode a JSON Web Token, see when it expires and check an HS256 signature, all in your browser.
What you enter stays on your device while you use this tool. Opening a shared link sends the settings in its address to HowToolbox to prepare the page.
Signature
Checks HS256, HS384 and HS512 signatures. The secret stays in your browser.
What is inside
–
Claims
Decode a JSON Web Token, see when it expires and check an HS256 signature, all in your browser.
How to use
- Paste the token. A leading "Bearer " is ignored.
- Read the header, the payload and the times in your own time zone.
- To check an HS256, HS384 or HS512 signature, open Signature and enter the secret.
How it works
A JSON Web Token is three pieces of text joined by dots: a header that names the signing algorithm, a payload of claims, and a signature. The first two are plain JSON written in base64url, so anyone holding the token can read them. That is why a JWT should never carry secrets, and why decoding it needs no key (RFC 7519).
Some claims have fixed meanings: iss (issuer), sub (subject), aud (audience), and the times exp (expires), nbf (not before) and iat (issued at). A time is the number of seconds since 1 January 1970 UTC. A token is expired when the current time is at or after exp. The signature is an HMAC over the first two parts: for HS256 it is HMAC-SHA-256 of header.payload with the shared secret (RFC 7518).
Decoding is not trusting. A payload is believable only if its signature is valid for a key you trust, and the tool checks only the HS family, with the secret read as text. RS256, ES256 and the other public-key algorithms are shown but not verified. The token and the secret are processed in your browser and are not sent or stored.
Sources
- IETF RFC 7515: JSON Web Signature (JWS)Used for: definitions
- IETF RFC 7518: JSON Web Algorithms (JWA)Used for: definitions
- IETF RFC 7519: JSON Web Token (JWT)Used for: definitions
Frequently asked questions
Is it safe to paste my token here?
The token is decoded in your browser and never sent anywhere. Even so, treat a live token like a password and prefer test tokens or expired ones.
Can a JWT be decoded without the secret?
Yes. The header and payload are only encoded, not encrypted. The secret is needed only to check that nobody changed them.
What does exp mean?
The time from which the token must no longer be accepted, in seconds since 1 January 1970 UTC. The tool shows it in your time zone.
What does alg none mean?
The token has no signature. Servers should refuse such tokens unless they expect them, because anyone can write one.
Why is my RS256 signature not verified?
That needs the issuer's public key. This tool checks only HMAC signatures made with a shared secret.





