JWT decoder

Decode a JSON Web Token's header and payload and see when it was issued and when it expires. The token never leaves your browser.

Runs in your browser. Nothing you paste is uploaded. The token is decoded only; its signature is not checked.

  • Issued: 11/24/2025, 4:00:00 PM (2025-11-24T16:00:00.000Z)
  • Expires: 11/24/2025, 5:00:00 PM (2025-11-24T17:00:00.000Z)

How to use it

  1. Paste a JWT (it looks like xxxxx.yyyyy.zzzzz). A leading "Bearer " is removed automatically.
  2. Read the decoded header (algorithm and token type) and payload (the claims).
  3. Check the issued, valid-from and expiry times shown in your local time, and whether the token has expired.
  4. Copy the header or payload if you need them elsewhere.

Inspect a token without sharing it

JSON Web Tokens are used for logins and API access, and while debugging you often need to know who a token is for, which permissions it carries and when it expires. The header and payload are just Base64url-encoded JSON, so they can be read without any key. Pasting a live token into a random website is risky, because it can be replayed until it expires. Here decoding happens in your browser and the token is never sent anywhere.

The exp, iat and nbf claims are Unix timestamps in seconds; they are shown as readable dates with a clear Expired or Not expired label, which answers the most common question when a request suddenly returns 401.

What this does not do

The signature is not verified: decoding only shows what the token claims. Your server must always verify the signature with the right secret or public key and check exp before trusting a token. Also remember that anyone holding a JWT can read its payload, so never put passwords or private data in one.

Questions

Does this verify the signature?
No. It only decodes. Verification needs the secret or public key and must be done by your server.
Is it safe to paste a real token?
The token stays in your browser. Still, treat tokens like passwords and avoid sharing screenshots of them.
Why can't it decode my token?
It may be an encrypted JWE (five parts), an opaque token that isn't a JWT, or it was cut off when copied.
Is what I paste sent to a server?
No. The tool runs as JavaScript in your browser. Your text, files and keys stay on your device, so it is safe to use with internal data, tokens and customer records. It keeps working offline after the page has loaded once.

More free tools