JWT Decoder

Decode the header and payload of a JSON Web Token.

ABOUT THIS TOOL

What this tool does

A JWT (JSON Web Token) looks like three scrambled chunks separated by dots. This tool decodes the header and payload so you can see what a token actually claims — useful when debugging authentication.

USE CASES

When to use it

  • You are debugging a login issue and want to inspect a token's contents.
  • You need to check a token's expiry time or the claims it carries.
  • You want to understand the structure of a JWT hands-on.
  • You are verifying which user or role a token represents.
UNDERSTAND IT

How to understand this tool

INPUT
JWTeyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwia…
OUTPUT
Header { "alg": "HS256", "typ": "JWT" } Payload { "sub": "1234567890", "name": "John Doe", "iat": 1516239022 } Signature present (43 chars) — not verified.

A JWT is three Base64URL parts joined by dots: header, payload and signature. Decoding only unwraps the first two, so you can read the claims, but the signature is not checked and the token is not proven valid or unexpired. Anyone can craft a payload that reads correctly, so never treat a decoded token as verified.

What it will not do

  • It does not verify the signature, issuer or expiry.
  • It cannot decrypt an encrypted (JWE) token.
  • Real tokens are credentials: avoid pasting production tokens into any website.
FAQ

Questions people ask

Does decoding verify the token?

No. Anyone can decode a JWT. Verification requires checking the signature with the correct key.

Why is my token not decoding?

It must be a well-formed three-part JWT. Malformed or truncated tokens may fail.

GOOD TO KNOW

One thing worth knowing

This is a lightweight browser tool — for production-critical work, pair it with your normal linters and tests.