Skip to content
Free tools

JWT decoder

Decode a JSON Web Token's header and claims locally, with expiry times and warnings like alg none. The token never leaves your browser.

Everything here runs in your browser. Nothing you type is sent to D's Labs or anyone else.

Header
{
  "alg": "HS256",
  "typ": "JWT"
}
Payload
{
  "sub": "student-42",
  "role": "student",
  "iat": 1790000000,
  "exp": 1790000900
}

iat: 2026-09-21 14:13:20 UTC

exp: 2026-09-21 14:28:20 UTC

Expired 2026-09-21 14:28:20 UTC.

Decoding is not verifying: anyone can write a token that decodes. Only the signature, checked with the key, proves who issued it.

What a JWT is

Three base64url parts joined by dots: a header naming the signing algorithm, a payload of claims (who, what role, until when), and a signature over the first two. The first two are only encoded, not encrypted — anyone holding the token can read them, so never put a secret in a claim. Treat real tokens like passwords; this page decodes them without sending them anywhere.

Practise it on a real machineBroken authentication lab
Practise it