JWT Token Inspector, Claims Decoder & Security Checker
Decode JSON Web Tokens (JWT), inspect header algorithms (RS256/HS256), verify payload claims (iss, sub, exp), and check token expiration.
JSON Web Token (RFC 7519) Anatomy & Cryptographic Verification
A JSON Web Token (JWT) is a compact, URL-safe means of representing claims between two parties. The token is composed of three distinct segments separated by periods (.), each encoded with base64url.
+-----------------------------------------------------------------------------------+
| JWT ARCHITECTURE & SECURITY CLAIMS |
+-----------------------------------------------------------------------------------+
| Segment 1: HEADER (base64url) |
| {"alg": "RS256", "typ": "JWT", "kid": "pub-key-2026-01"} |
+-----------------------------------------------------------------------------------+
| Segment 2: PAYLOAD (Claims - base64url) |
| {"sub": "user_123", "iss": "auth.helloaihub.tech", "exp": 1799999999} |
+-----------------------------------------------------------------------------------+
| Segment 3: SIGNATURE (Cryptographic Verification) |
| RSASHA256(base64Url(Header) + "." + base64Url(Payload), PrivateKey) |
+-----------------------------------------------------------------------------------+
| Critical Security Warnings: |
| - The 'alg: none' exploit: Verify servers reject unsigned tokens. |
| - Asymmetric vs Symmetric confusion: Never verify RS256 tokens with HS256 logic. |
| - Storage: Store tokens in HttpOnly, Secure, SameSite=Strict cookies (not local). |
+-----------------------------------------------------------------------------------+Signing vs. Encryption
Standard JWS tokens are base64url-encoded, not encrypted. Anyone holding the token can decode its header and payload claims locally without knowing the signing key, so sensitive secrets, passwords, and private customer records belong in server storage or JWE rather than plain JWT claims.
Algorithm Allowlisting
Never trust the unverified alg header to pick a verification algorithm on your backend. Always pin explicit expected algorithms such as RS256 or EdDSA, validate iss and aud claims, and enforce clock-skew tolerances on exp and nbf.
Short Access TTL & Rotation
Because stateless JWTs cannot be revoked individually without a server allowlist or blocklist check, keep access token lifetimes short (5 to 15 minutes) and pair them with rotating HttpOnly refresh tokens backed by server-side family revocation on reuse detection.
About JWT Token Inspector & Decoder & Security Considerations
Everything you need to know about how this utility processes data safely in your browser.
Does this tool send my JWT token over the network?
No, JWT decoding is performed client-side using base64url decoding. Your secret tokens remain strictly on your local machine.
What do the standard JWT claims mean?
`exp` is expiration timestamp, `iat` is issued-at time, `iss` is issuer identity, and `sub` is the user subject identifier.
What is the 'Alg: none' vulnerability?
It is an exploit where attackers forge tokens by setting the algorithm to 'none' to bypass signature verification on poorly configured servers.
Can anyone decode a JWT without knowing the secret key?
Yes! The Header and Payload of a JWT are simply base64url-encoded strings, not encrypted ciphertext. Anyone possessing the token can inspect its claims. Never store sensitive passwords or credit card numbers in a JWT payload.
What is the difference between a JWT ID token and an access token?
An ID token is issued by OpenID Connect (OIDC) to assert user identity to the client application. An Access token is issued by OAuth 2.0 to grant authorized access to protected resource APIs.