How to Decode a JWT Token Safely
Inspect JSON Web Token headers, payload claims, and expiration timestamps 100% locally in your browser without sending bearer tokens to third-party servers.
Modifyle JWT Decoder
Inspect JWT header, payload claims, and exp/iat timestamps in local browser memory with zero network transmission.
Modifyle JWT Decoder
Free · Runs locally
JWT headers and payloads are Base64Url-encoded—not encrypted—so anyone who intercepts a live token can read its claims or replay it.
Use a purely client-side decoder like Modifyle's JWT Decoder so your bearer tokens, user IDs, and session claims never leave your browser tab or appear in third-party server logs.
Decoding vs. Verifying a JWT Signature
A common security misconception is that decoding a JWT proves it is valid. Decoding only converts Base64Url text into JSON. Anyone can craft a fake JWT payload; only your backend server can verify the third segment (the cryptographic signature) using your HMAC secret or RSA/ECDSA public key.
| Claim | Meaning | Typical Use |
|---|---|---|
| sub | Subject | Unique user ID |
| iss | Issuer | Auth server or domain that minted the token |
| aud | Audience | Intended API or client application |
| exp | Expiration Time (Unix seconds) | Rejects expired bearer tokens |
| iat | Issued At (Unix seconds) | Tracks token age |