JWT decoder
The header, payload and times of a token. The token stays in your browser.
Token
The signature is not verified: that takes a secret or a public key, and you should not paste those into other people's sites.
How a JWT is built
A JWT has three parts separated by dots: a header, a payload and a signature, and the first two are written in Base64URL. The page decodes them, shows the JSON with indentation, and converts the exp, iat and nbf times to a date in your time zone.
The page doesn't verify the signature: that needs the server's secret or public key. The token is parsed in the browser and doesn't go to a server.
FAQ
- Can a JWT be decrypted without a key?
- The header and payload can be read without a key; they are only encoded. The key is needed to verify the signature or to issue a new token.
- Is it safe to paste a token into an online decoder?
- A valid token gives access to the account until it expires. Here the parsing happens in the browser, but don't paste a token into other decoders that send it to a server.