JWT Decoder
Paste a JWT token to decode the header, payload and claims β instantly in your browser.
What is a JWT?
A JSON Web Token (JWT) is a compact, URL-safe token format widely used for authentication and information exchange. A JWT has three Base64URL-encoded parts separated by dots: the header (algorithm and token type), the payload (claims β data about the user or session), and the signature (used to verify the token hasn't been tampered with).
Standard payload claims include sub (subject β usually user ID), iss (issuer), aud (audience), exp (expiration time), iat (issued at), and nbf (not before). This decoder shows all claims in a human-readable format and highlights whether the token has expired. Note: decoding a JWT does not verify its signature β that requires the secret key. Never trust decoded JWT claims for security decisions without verifying the signature server-side.
How to Use
- Paste a JWT token into the input field, or click β‘ Sample to load an example.
- The header and payload are decoded and displayed with syntax highlighting.
- Standard claims (exp, iat, nbf) are shown in human-readable date format.
- Expiry status is shown β green if valid, red if expired.
Frequently Asked Questions
jsonwebtoken in Node.js, PyJWT in Python).