Support
Dev & AI100% Client-Side · Zero Uploads

Offline JWT Decoder & Inspector

Decode JWT Header, Payload, and Signature completely offline with automatic human-readable iat/exp/nbf timestamps and live Expired / Valid status.

100% Offline Decoding: JWT tokens are decoded in browser memory only — zero API calls, zero logging.
● Header● Payload● Signature

Paste a JSON Web Token above to inspect it offline

Or click Valid Sample / Expired Sample to see live expiry checks and claim decoding.

Frequently Asked Questions

Practical tips, formulas, and privacy details for using this tool.

Is it safe to paste a production JWT into this decoder?

Yes. Unlike server-backed debugging websites that transmit your pasted token over HTTPS to a backend endpoint (where it could be captured in reverse-proxy logs or analytics), this tool decodes Base64URL segments strictly inside your browser's JavaScript runtime. Zero network requests are made when you paste or inspect a token—you can even disconnect from Wi-Fi after loading the page and it keeps working identically.

What are the three dot-separated parts of a JSON Web Token?

A standard JWS-format JWT has three Base64URL-encoded segments separated by dots: Header.Payload.Signature. The Header declares the signing algorithm (such as HS256, RS256, or ES256) and token type. The Payload carries claims such as sub (subject/user ID), iss (issuer), aud (audience), iat (issued at), and exp (expiration). The Signature is a cryptographic digest computed over the encoded header and payload to prevent tampering.

Does decoding a JWT verify that its signature is authentic?

No. Anyone can Base64URL-decode a JWT's header and payload—that is why you should never store sensitive secrets or passwords inside unencrypted JWT claims. Verifying that a token was genuinely issued and unmodified requires checking the signature against your HMAC shared secret (for HS256) or your identity provider's public key / JWKS endpoint (for RS256/ES256) on your backend.

How are exp, iat, and nbf UNIX timestamps converted?

RFC 7519 defines NumericDate claims (exp, iat, nbf) as the number of seconds since January 1, 1970 UTC (UNIX epoch). This inspector automatically multiplies those timestamps by 1,000 to display your local timezone date, exact UTC ISO timestamp, and a live relative countdown so you can spot expired or clock-skewed tokens immediately.

Why does the inspector flag alg: "none" as a critical security risk?

The JWT specification includes an unsecured alg: "none" mode for non-cryptographic debugging. Historically, misconfigured authentication libraries accepted forged tokens whose header was changed to alg: "none" with an empty signature. Production APIs should always enforce an explicit allowlist of expected signing algorithms.

More Dev & AI Tools

Browse all 50 tools