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.
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 toolsEstimate prompt tokens and compare per-request, daily, and monthly API costs across Claude 5.5, GPT-6, Gemini 4, and DeepSeek V4.
Convert, beautify, minify, and validate JSON, CSV, and YAML locally in a dual-pane editor—safe for production configs and API payloads.
Mask emails, phones, IPs, credit cards, API keys, and custom terms into numbered placeholders before pasting into AI—then restore the AI's reply locally.