JWT Decoder
Paste a JSON Web Token to see its header, payload and expiry. Optionally check an HS256 signature.
How to use the JWT Decoder
- Paste the tokenPaste a JWT, with or without the “Bearer ” prefix.
- Read the contentsSee the header, the payload and every claim, with dates shown in your time zone.
- Check the signatureFor HS256, HS384 or HS512 tokens, enter the shared secret to confirm the token was not changed.
Example
The sample token decodes to {"alg": "HS256", "typ": "JWT"} and a payload with sub, name, role, iat and exp.
Its exp of 1918425600 is shown as 17 Oct 2030, and the secret your-256-bit-secret gives ✓ Signature verified.
Frequently asked questions
What is a JWT?
A JSON Web Token is a compact, signed way to pass claims such as a user ID between systems. It has three Base64URL parts: a header, a payload and a signature, separated by dots.
Is it safe to paste my token here?
Yes. Decoding and verifying happen entirely in your browser and nothing is sent anywhere. Still, treat live tokens like passwords and avoid sharing them.
Can anyone read a JWT payload?
Yes. The payload is only encoded, not encrypted. Never put passwords or secrets in it. The signature only proves the token was not changed.
Why can’t I verify RS256 tokens here?
RS256 and ES256 tokens are signed with a private key and checked with a public key on the server. This tool verifies the shared-secret HMAC algorithms (HS256, HS384, HS512).