JWT Decoder
Paste a JSON Web Token to see its header and payload as JSON, and its exp, iat and nbf times as readable dates. The token never leaves your browser, and we never ask for a secret.
This tool runs entirely in your browser; what you enter is never sent to our servers.
How to use it
- Paste the token; a leading “Bearer ” is skipped.
- The header, payload and times appear straight away.
- Copy the part you need as JSON.
What's inside a JWT?
A JWT is three parts separated by dots: the header (algorithm and type), the payload (user id, roles, times and other claims) and the signature. The first two are only Base64URL-encoded, not encrypted, so anyone can read them. Never put secrets in a token. exp is when the token stops being valid, iat when it was issued and nbf when it starts being valid, all in seconds since 1970 (Unix time). We show them in your local time and in UTC. The signature is not verified: that needs the secret or public key, and a secret should not be pasted into a web page. Encrypted tokens (JWE, five parts) cannot be read without the key.