JWT Decoder
Read a JWT header and payload without verifying its signature or claims.
Read a JWT header and payload without verifying its signature or claims.
Turn a JWT’s long string into readable field names and values. FluffyBench’s JWT Decoder helps you see what the token says.
A JWT is a text package carrying named values called claims. Picture the 3-part form as a postcard: Header is the label, Payload is the message, and the signature is a stamp an app can check.
The header and payload use Base64URL, an encoding that makes data safe to put in a URL. It isn’t encryption: someone holding the token can read those parts.
For this walkthrough, we've pasted a complete sample token published in RFC 7519, the JWT standard, into FluffyBench's JWT Decoder. The same token appears in the field explanation below.
In the RFC 7519 sample, Header describes the token and Payload contains its claims. Here are its fields together, with the notice that applies to them:
Result: notice, Header and Payload
Readable fields describe what the token says; access decisions belong to your app's verifier.
alg declares HS256; it doesn't set your app's trusted algorithm.
typ labels this token JWT.
iss names the issuer: joe.
exp is the expiration time in seconds since January 1, 1970. FluffyBench's Timestamp Converter can turn it into a date with seconds as the input unit.
The URL-like name is a custom claim, not a link to open. Its value is true; the issuing app defines its meaning.
A five-part token is the encrypted form, called JWE. It needs decryption before its claims can be read.
FluffyBench’s JWT Decoder reports a five-part input in Problems:
An incomplete token or a header or payload that isn't a JSON object will cause a decoding error. The input limit is 16 MiB; a larger paste is refused before decoding.
Use a sample while you’re learning. A live token may give whoever holds it access to an account, so keep it out of shared documents, chats and saved clipboard histories. If you’ve exposed one, follow the issuing service’s steps to revoke or replace it.
If you've also been given a public key to inspect, FluffyBench's Certificate and public key inspector shows its fields and fingerprint. That's a separate input from the token you decode here.
For the difference between reading claims and checking that they're trustworthy, see JWT decoding and verification.