← Back

JWT Decoder

LOCAL

Decode & analyze JWT tokens.

Input

Output

What is JWT Decoder?

JWT Decoder displays the header and claims of a three-part JWT in JSON form. It decodes Base64url and UTF-8 locally, including accented characters and emojis. This is an inspection tool: a readable result does not confirm the signature, issuer, audience or current validity of a token.

How to use JWT Decoder

Paste the token itself into Input, without a Bearer prefix or surrounding quotes, then choose Decode. Try this deliberately unsigned demo: eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJzdWIiOiJkZW1vIiwibmFtZSI6Ik1pcmEg8J-ltyIsImV4cCI6MH0. The final dot is part of the token because its signature segment is empty. The header contains "alg":"none"; the payload contains "name":"Mira 🥷" and "exp":0. This demo grants no access and has no authenticating signature.

When is JWT Decoder useful?

Use the JSON view to compare development claims such as sub, iss, aud and exp with what your application expects. The demo’s expiry value is in the past, yet it is still decodable. Inspecting an expiry claim is different from automatically rejecting an expired token; the application accepting the token must perform its own validation.

Example

Try not-a-token to see the invalid-token message. Three sections containing invalid Base64url, invalid UTF-8, invalid JSON or non-object header/payload data produce a decoding error. Five-part encrypted tokens are not decrypted. Changing the signature of an otherwise decodable token can leave the same displayed claims: signature verification is outside this tool’s scope.

Practical notes

Decoding runs in your browser and does not send the token to a validation API. Treat real bearer tokens as credentials and use synthetic development values when sharing examples or screenshots. JSON parsing and pretty-printing can normalize number notation; very large numeric claims may lose precision in the displayed view. Keep the original token for diagnosis, and verify accepted algorithms, keys and claims in the application that relies on it.