JWT Decoder
Inspect a JSON Web Token: decode the header and payload, review standard claims with dates, and check whether it has expired.
Last updated November 12, 2026
Loading tool workspace…
Overview
Inspect, debug, and decode JSON Web Tokens (JWTs) adhering to RFC 7519 directly in your browser. This tool splits and Base64URL-decodes the three token segments (Header, Payload, and Signature), formats the nested JSON data, parses standard registered claims (exp, nbf, iat, iss, sub), converts Unix timestamps into human-readable local and UTC dates, and evaluates live expiration status.
All parsing occurs client-side with zero network calls, preserving the confidentiality of development credentials and identity tokens.
How it works
A signed JSON Web Token (JWS) consists of three ASCII strings separated by periods (.):
[Header].[Payload].[Signature]
1. Header: A JSON object specifying the token type (typ: "JWT") and cryptographic signing algorithm (alg, such as HS256, RS256, or ES256). 2. Payload: The claims set carrying application data and identity attributes. Standard registered claims include: • exp (Expiration Time): Unix epoch seconds after which the token must be rejected. • iat (Issued At): When the token was originally generated. • nbf (Not Before): Time before which the token must not be accepted. • iss (Issuer): Principal that issued the JWT. • sub (Subject): Principal that is the subject of the JWT (e.g. User ID). • aud (Audience): Intended recipient systems. 3. Signature: A cryptographic hash (HMAC or digital signature) computed over the Base64URL-encoded header and payload using the issuer's secret or private key.
CRITICAL SECURITY DISTINCTION: Decoding vs. Verifying Decoding a JWT is simply Base64URL string decoding and JSON parsing — it requires no secret key and can be performed by anyone who possesses the token string. Verifying a JWT means recomputing and mathematically validating the cryptographic signature against the issuer's public key or shared secret. Only verification proves the token was not tampered with and was genuinely created by the claimed issuer.
How to use the JWT Decoder
Paste the Token
Drop in the full header.payload.signature string, or load a sample.
Review the Parts
The decoded header and payload are shown as formatted JSON.
Check Claims
Standard claims are labelled, timestamps converted to ISO dates, and expiry status shown.
When to use it
- Debugging authentication and authorization tokens generated by OAuth 2.0 / OpenID Connect identity providers (e.g. Auth0, Firebase, Keycloak, Supabase).
- Checking whether an authentication session token has expired without waiting for an API 401 Unauthorized response.
- Verifying that custom scopes, roles, organization IDs, and user claims are correctly populated in the payload.
- Inspecting the token header to check whether modern asymmetric algorithms (RS256, ES256) or symmetric HMAC (HS256) are employed.
Examples
Decoded Header Structure
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
{
"alg": "HS256",
"typ": "JWT"
}Specifies that the token is signed with HMAC-SHA256.
Decoded Payload with Registered Claims
eyJzdWIiOiJ1c3ItOTk4MiIsIm5hbWUiOiJBZGEgTG92ZWxhY2UiLCJpYXQiOjE3MDAwMDAwMDAsImV4cCI6MjEwMDAwMDAwMH0
{
"sub": "usr-9982",
"name": "Ada Lovelace",
"iat": 1700000000,
"exp": 2100000000
}Decodes the subject ID, human name, issued-at timestamp, and future expiration date.
Expired Token Detection
Token with exp: 1609459200 (1 January 2021)
Status: Expired Message: Token expired on 2021-01-01T00:00:00.000Z
The tool immediately surfaces an amber alert when the current wall-clock time surpasses the exp timestamp.
Key Features & Accuracy
iss, sub, aud, exp, nbf, iat and jti are labelled so the payload is readable.
Instantly see whether a token is still valid, expired, or has no expiry at all.
Decodes non-ASCII payloads correctly, unlike naive atob-only implementations.
States clearly that decoding is not signature verification.
Limitations & important notes
Frequently Asked Questions
Related Tools
Developer UtilitiesBase64 Encoder / Decoder
Encode text or upload files to Base64 (raw, Data URL, img tag, CSS url), or decode Base64 strings with live image previews and file downloads.
URL Encoder / Decoder
Percent-encode and decode URLs and URI query parameters according to RFC 3986 standards.
JSON Formatter & Validator
Prettify, minify, and validate nested JSON payloads with accurate syntax error line & column highlighting.
TaskKit never records, stores, or transmits the contents of your tool workspaces. Your data stays securely on your machine.

