Skip to content
ToolHub

JWT Decoder

Read a JSON Web Token’s header, payload and expiry without sending it anywhere.

⚙
DevUtils Pro
Developer Utilities
⚡ Result
—
—
History 0
📋
No activity yet
Your history will appear here

About the JWT Decoder

A JSON Web Token has three parts separated by dots: a header, a payload of claims and a signature. The JWT Decoder decodes the header and payload so you can read the algorithm, user ID, issue time, expiry and any custom claims, and tells you whether the exp time has passed.

Decoding is not verification: this tool does not check the signature, so it cannot tell whether a token is genuine.

How to use the JWT Decoder

  1. Paste the token (the long string starting with eyJ…).
  2. Read the decoded header and payload.
  3. Check the expiry status if the token has an exp claim.

Example

Typical payload

{
  "sub": "1234567890",
  "name": "John Doe",
  "iat": 1516239022
}

iat and exp are Unix timestamps in seconds.

Frequently asked questions

Is it safe to paste a token here?

The token is decoded in your browser and not sent to a server. Even so, avoid pasting live production tokens into any website.

Can it verify the signature?

No. Verification needs the secret or public key and should be done in your application.

Why is the payload readable?

JWT payloads are only Base64URL-encoded, not encrypted. Never put secrets in a JWT payload.

Use ↑ ↓ to move, Enter to open.