All free tools

ihate JWT Decoder — Decode Token Header & Payload

Decode a JSON Web Token's header and payload locally and read iat, exp, and nbf as human dates. Built for debugging auth flows without pasting tokens into a server.

Short answer

Paste a JWT and read its header and payload as JSON. Expiry claims are shown as readable dates with an expired check.

Decoding happens in your browser. The signature is not verified — treat the contents as readable, not trusted.

Header
{
  "alg": "HS256",
  "typ": "JWT"
}
Payload
{
  "sub": "1234567890",
  "name": "Ada",
  "iat": 1733200000,
  "exp": 1733286400
}

Key claims

Subject (sub)
1234567890
Issued at (iat)
Tue, 03 Dec 2024 04:26:40 GMT (1733200000)
Expires (exp)
Wed, 04 Dec 2024 04:26:40 GMT (1733286400) — expired

Need to check another timestamp? Use the Timestamp Converter to turn any epoch value into UTC and local dates.

How to decode a JWT

Limits to know

Decoding only reads the token; it does not verify the signature, so anyone can forge the contents you see. Never trust a decoded token for access decisions — verification belongs on your server with the real key. Tokens can contain personal data, so avoid sharing decoded payloads publicly.

Checking expiry

An exp claim is a Unix timestamp. If the date looks wrong by hours, compare UTC with your local time in the Timestamp Converter before blaming the token.

FAQ

Does this verify the JWT signature?

No. It decodes the header and payload only. Signature verification needs the issuer's key and belongs on a server.

What do iat, exp, and nbf mean?

iat is when the token was issued, exp is when it expires, and nbf is the time before which it must not be accepted. All three are Unix timestamps in seconds.

Is it safe to paste a real token here?

Decoding runs entirely in your browser and nothing is sent anywhere. Still, treat tokens like passwords and avoid pasting production tokens into any tool you do not control.

Why does my token fail to decode?

A JWT needs three dot-separated parts, and the first two must be base64url-encoded JSON. Truncated tokens or tokens with line breaks copied mid-way usually fail.

More free tools from OwlClip

ihate tools are free browser utilities from OwlClip — no subscription, no account wall, just the tool you opened.

See all free tools

More free tools