Paste a JWT token to instantly decode its Header and Payload with expiration status. Runs entirely in your browser.
How to decode a JWT
Paste the full JWT (three segments in the form header.payload.signature) into the input box, or click “Sample” to see an example.
It is decoded instantly, with the Header and Payload shown as formatted JSON.
If the payload has exp, iat or nbf timestamps, they are converted to local time, and exp is used to show “Expired” or the expiry time.
Click the “Copy” button on a section to copy the Header or Payload. The signature is displayed as it appears in the token.
FAQ
Is my token sent to a server?
No. Decoding runs entirely in your browser and the token does not leave your computer. Even so, a JWT often works as a login credential, so avoid sharing live production tokens with others.
Does this tool verify the signature?
No. It only Base64URL-decodes the token and shows the Header, the Payload and the raw signature string. It does not check that the signature is correct and needs no key. A token that decodes is therefore not proof that it is genuine, since real verification must be done on the server with the key.
Is the content of a JWT encrypted?
A regular signed JWT (JWS) is not encrypted. Its content is only Base64URL-encoded, so anyone can decode it, and you should never put passwords or other secrets in the payload. This tool decodes that three-segment format.
Why does it say the token format is invalid?
The token must have three segments separated by dots, and the first two must decode to JSON. A missing segment, a truncated copy or extra characters will cause an error. Whitespace around the token is trimmed automatically.