Encoded Token
Verify Signature
Decoded Token
Header
{}
Payload
{}
Understanding JSON Web Tokens (JWT)
A JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties. The claims in a JWT are encoded as a JSON object that is used as the payload of a JSON Web Signature (JWS) structure or as the plaintext of a JSON Web Encryption (JWE) structure, enabling the claims to be digitally signed or integrity protected with a Message Authentication Code (MAC) and/or encrypted.
A JWT consists of three parts separated by dots (.):
- Header: Typically consists of two parts: the type of the token, which is JWT, and the signing algorithm being used, such as HMAC SHA256 or RSA.
- Payload: Contains the claims. Claims are statements about an entity (typically, the user) and additional data. There are three types of claims: registered, public, and private claims.
- Signature: To create the signature part you have to take the encoded header, the encoded payload, a secret, the algorithm specified in the header, and sign that.
Why Use This JWT Debugger?
Our tool allows you to quickly decode and inspect the contents of a JWT. More importantly, you can verify the signature to ensure that the token has not been tampered with. Since all operations happen in your browser, your sensitive tokens and secrets are never transmitted over the network, ensuring complete privacy.