100% Client-Side โ€ข Zero Token Logging

JWT Decoder & Unix Timestamp Converter

Inspect JSON Web Token headers, claims, and expiration timestamps safely in your browser, plus convert Unix epoch seconds/milliseconds to UTC and local dates.

JSON Web Token (JWT) Inspector

HEADER (Algorithm & Token Type)
{
  "alg": "HS256",
  "typ": "JWT"
}
PAYLOAD (Claims & Data) Not Yet Expired
{
  "sub": "usr_8421",
  "name": "Alex Rivera",
  "role": "admin",
  "iat": 1795000000,
  "exp": 1800000000
}
iat: 2026-11-18T11:06:40.000Z (Local: 11/18/2026, 11:06:40 AM)
exp: 2027-01-15T08:00:00.000Z (Local: 1/15/2027, 8:00:00 AM)

Unix Epoch Timestamp Converter

Auto-detects 10-digit seconds vs. 13-digit milliseconds.
ISO 8601 (UTC): 2026-12-05T03:48:56.000Z
US Eastern (ET): Dec 4, 2026, 10:48:56 PM
Your Local Time: 12/5/2026, 3:48:56 AM

JWT Security Best Practices

A JWT payload is only Base64URL-encodedโ€”anyone holding the token can decode its JSON claims locally. Never place passwords, Social Security numbers, or secret API keys inside a JWT payload, and always verify cryptographic signatures server-side using a pinned algorithm (never trust alg: none).

Tool Documentation & Guide

Inspecting JSON Web Token (JWT) Headers, Claims & Expiration Locally

JSON Web Tokens (RFC 7519) power OAuth 2.0, OpenID Connect, Auth0, Firebase, and modern SPA authentication. Decoding the three dot-separated Base64URL segments lets engineers verify signing algorithms (RS256 vs. HS256), audience (aud), roles, and exact exp/iat UNIX timestamps.

Step-by-Step Instructions

  1. Paste a full JWT string (header.payload.signature) from your browser DevTools or API Authorization header.
  2. Inspect the decoded JSON Header (alg, typ, kid) and Payload Claims (sub, email, roles, iss, aud).
  3. Check the human-readable expiration (exp) and issued-at (iat) timestamps to verify whether the token is expired.
  4. Never paste production tokens into server-side decodersโ€”verify them strictly client-side.

Worked Example & Methodology

Decoding a token with "exp": 1795200000 immediately shows its exact local and UTC expiration date so you can diagnose 401 Unauthorized API rejections in seconds.

Privacy & Verification: 100% browser-local decoding: Bearer access tokens and identity claims are never sent over the network.

Frequently Asked Questions

Does decoding a JWT prove its signature is valid?

No! Anyone can decode the Base64URL header and payload. Cryptographic signature verification must always happen on your backend server using your secret key or JWKS public key.

Why should I avoid putting sensitive PII or passwords inside a JWT payload?

Standard JWS JWTs are signed for integrity, NOT encryptedโ€”any user or browser extension can decode the payload instantly.

What is the "alg: none" JWT vulnerability?

Older misconfigured backend libraries accepted unsigned tokens claiming alg: "none". Always explicitly whitelist expected algorithms (such as RS256) on your server.

What does UNIX timestamp iat vs. exp mean?

iat (Issued At) is the epoch second the token was minted; exp (Expiration Time) is the epoch second after which servers must reject the token.