Decode and inspect JWT tokens without a secret.
A JWT (JSON Web Token) is a compact, self-contained string used for authentication. After you log in, the server gives you a JWT, and you send it with every subsequent request to prove who you are. A JWT has three sections separated by dots: the header (which signing algorithm was used), the payload (the actual data — user ID, roles, permissions, expiry time), and the signature (proof the token has not been tampered with). This tool decodes the first two so you can read what is inside them. No secret key is needed for decoding.
Token: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1c2VyMTIzIiwiZXhwIjoxNzAwMDAwMDAwfQ.xxx
Header: { "alg": "HS256" }
Payload: { "sub": "user123", "exp": 1700000000 }
(exp = November 14, 2023 — this token has expired)