Ads Leaderboard

JWT Decoder

Paste a JSON Web Token and read its header, payload and claims — with expiration shown in plain language. Everything is decoded locally in your browser.

Ads In-Content

How to use JWT Decoder

  1. Paste the full JWT (header.payload.signature).
  2. Click Decode — or press Ctrl+Enter.
  3. Review the expiration status, registered claims, header and payload.
  4. Copy the formatted header or payload JSON as needed.

Features

  • Local base64url decoding — the token is never transmitted
  • Pretty-printed header and payload side by side
  • Expiration status: valid, expired or not-yet-active, with times in UTC
  • Registered claims (iss, sub, aud, jti) in a summary table
  • Clear errors for malformed tokens, wrong segment counts and encrypted JWEs
  • Handles Unicode inside token payloads

Important information

Decoding a JWT does not verify its signature. This tool reads what the token claims — anyone can create a token with any contents and sign it with their own key — so treat decoded values as untrusted input until a server has verified the signature, issuer and audience. Signature verification requires the secret or public key and must happen in a trusted environment; it cannot be done honestly in a browser tab. The token you paste is processed entirely on your device.

Frequently asked questions

Does decoding a JWT verify that it is valid?

No. Decoding only base64-decodes the header and payload — it says nothing about who signed the token or whether the signature is intact. A token that decodes is not necessarily valid; only server-side signature verification can establish that.

Why does my token fail to decode?

A JWT must have exactly three dot-separated segments with base64url content that decodes to JSON. Inputs with a different segment count, broken base64 or non-JSON content are rejected with a message saying exactly what is wrong. Five-segment tokens are JWEs (encrypted) and cannot be read without the key.

Is my token sent to a server?

No. Decoding happens in this browser tab with the built-in atob — nothing is transmitted anywhere.