JWT Inspector — Decode JSON Web Tokens Instantly
Paste any JWT to see its Header, Payload, and Signature broken down, with human-readable timestamps for exp, iat, and nbf. Decoding happens entirely in your browser — your token is never sent anywhere.
🔑 Paste Your JWT
Disclaimer: This tool decodes JWT Header and Payload data for informational and debugging purposes only — it does not verify the Signature, since that requires a secret or public key this client-side tool never asks for. A decoded token is not a verified token. Always validate signatures server-side using a trusted JWT library before granting access based on a token's contents.
How JWTs Work
A JSON Web Token is three base64url-encoded segments joined by dots: header.payload.signature.
- Header — specifies the signing algorithm (e.g.,
HS256,RS256) and token type. - Payload — contains the "claims": data about the user/session, such as
sub(subject),iat(issued at),exp(expiration), and any custom fields. - Signature — a cryptographic signature over the header and payload, generated with a secret (HMAC) or private key (RSA/ECDSA), used by the server to verify the token hasn't been tampered with.
Important: The Header and Payload are only encoded, not encrypted — anyone can decode them (that's what this tool does). Never put secret data in a JWT payload. Only the Signature provides tamper-evidence, and only if verified against the correct key.
Step-by-Step: What Happens When You Decode
- Step 1: The token is split on each
.into three parts. - Step 2: Each of the Header and Payload parts is base64url-decoded (
-→+,_→/, then standard base64 decode) back into a JSON string. - Step 3: The JSON string is parsed and pretty-printed. Any
exp,iat, ornbffields (Unix timestamps) are converted to readable local and UTC dates. - Step 4: The Signature segment is shown as-is (raw base64url) since it cannot be decoded into readable data — it's cryptographic output, not encoded JSON.
Common JWT Claims Reference
| Claim | Name | Meaning |
|---|---|---|
iss | Issuer | Who created and signed the token |
sub | Subject | The user or entity the token is about |
aud | Audience | Intended recipient(s) of the token |
iat | Issued At | Unix timestamp when the token was created |
exp | Expiration | Unix timestamp after which the token is invalid |
nbf | Not Before | Unix timestamp before which the token is not valid |