Home

JWT Decoder

Paste a JWT token to instantly decode its Header and Payload with expiration status. Runs entirely in your browser.

How to decode a JWT

  1. Paste the full JWT (three segments in the form header.payload.signature) into the input box, or click “Sample” to see an example.
  2. It is decoded instantly, with the Header and Payload shown as formatted JSON.
  3. 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.
  4. 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.
URL & Base64 Encoder / Decoder JSON Formatter / Minifier Timestamp Converter QR Code Generator / Reader

English · 简体中文 · 繁體中文 · Bahasa Indonesia · Tiếng Việt · 日本語 · Español · Português (Brasil) · Bahasa Melayu · Nederlands · Čeština · العربية