Tested tool guide
Tested browser tools
Checked August 16, 2026
What JWT Cheat Sheet does, with a checked example
A JWT is a dot-separated triple: header, payload, and signature, each a base64url-encoded piece of JSON. Paste a token into this reference and it decodes the segments, names the algorithm in the header, and annotates registered claims such as iss, sub, aud, exp, nbf, iat, and jti, alongside tables of common algorithms and best practices. The surprise most people hit: the payload is not encrypted. Base64url is plain encoding, so anyone holding the token can read its contents. The signature proves integrity and origin, not secrecy, so secrets and personal data do not belong in the payload.
Worked example
A concrete input and expected output from the current implementation.
Input
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
->
Expected output
Header: {"alg":"HS256","typ":"JWT"} Payload: {"sub":"1234567890","name":"John Doe","iat":1516239022} iat as a date: 2018-01-18T01:40:22Z. sub is the subject, iat the issued-at time. The first two segments are base64url-encoded JSON, so they decode to the header and payload shown. The header declares HS256, and the third segment is the signature over the first two segments. iat is a NumericDate, so 1,516,239,022 seconds after 1970-01-01 is 2018-01-18T01:40:22Z.