JWT Decoder, Inspector & Verifier
Decode JWT headers, payloads and standard claims, check expiry in real time, and verify HMAC signatures locally with zero token logging.
JWT Inspector Workspace
Paste a token, read its header, payload and claims, then optionally verify the HMAC signature.
Why Engineers Trust the Agenvix JWT Inspector
Purpose-built for debugging authentication flows without ever shipping a token to a third party.
Base64URL Native Engine
Correctly handles the RFC 7515 URL-safe alphabet, missing padding and multi-byte UTF-8 claim values.
Live Expiry Countdown
Reads exp, iat and nbf claims and renders a human readable validity window instantly.
Local HMAC Verification
Recomputes HS256, HS384 and HS512 signatures with the Web Crypto API and constant-time comparison.
Zero Token Logging
Tokens live only in browser memory. No analytics, no server round trip, no request body leaves the tab.
Simple as 1-2-3
How the JWT Decoder Works
Inspect any token in three simple, fully local steps.
Paste Your Token
Drop the raw header.payload.signature string into the editor or load one of the built-in sample tokens.
Read the Claims
Switch between header, payload, the interpreted claims table and the raw signature segment.
Verify & Copy
Confirm an HMAC signature with your secret, then copy the decoded JSON straight into your code.
Technical Specifications
How the Agenvix JWT decoder compares against generic online token inspectors.
| Feature / Specification | Best Use Case | Engine / Output Standard | Privacy & Security | Performance Rating | Action |
|---|---|---|---|---|---|
| Base64URL Segment Decoding | Reading any HS/RS/ES token payload | RFC 7515 URL-Safe Alphabet | 100% Local Hardware | UTF-8 Safe | |
| Claim Interpretation Engine | exp / iat / nbf expiry analysis | Unix Epoch + ISO 8601 | Zero Server Uploads | Countdown Ready | |
| HMAC Signature Verification | Validating HS256 internal tokens | WebCrypto HMAC + Constant-Time | 100% Client-Side V8 | Constant Time | |
| Malformed Token Guard | Debugging broken auth headers | Segment Count + Decode Validation | Local Execution | Instant Auto-Fix |
Understanding JSON Web Tokens
1. What is a JSON Web Token?
A JSON Web Token (RFC 7519) is a compact, URL-safe container of claims designed to authenticate API requests. It follows the JWS (JSON Web Signature) standard comprising three dot-separated segments encoded in URL-safe Base64: a header specifying the cryptographic signing algorithm (such as HS256), a payload containing subject claims and expiration timestamps, and a cryptographic signature. To inspect or convert raw Base64 strings directly, use our companion Base64 Encoder & Decoder. To verify HMAC-SHA256 signatures or calculate checksums, explore our SHA-256 Hash Generator.
2. Header, payload and signature anatomy
The header typically carries alg and typ (plus kid when a key rotation policy is active). The payload holds the claims, and the signature is calculated over the exact string base64url(header) + "." + base64url(payload). Changing a single character in the payload invalidates the signature, which is exactly what makes the token tamper evident.
3. Registered claims and expiry semantics
RFC 7519 defines seven registered claims: iss (issuer), sub (subject), aud (audience), exp (expiry), nbf (not before), iat (issued at) and jti (unique id). All of them are numeric or string values, and exp, iat and nbf are Unix timestamps expressed in seconds, not milliseconds.
4. Why decoding is not the same as verifying
Anyone can decode a JWT because the payload is only base64 encoded. Decoding proves readability, not authenticity. Verification requires the signing key: HMAC algorithms need the shared secret, while RSA and ECDSA need the issuer public key. Always verify the signature and check exp before trusting any claim in a token that was supplied by a client.
Everything you need to know about JWT Decoding
Clear answers on token structure, claim interpretation, signature verification and client-side privacy.
What does a JWT actually contain?
A JSON Web Token is a compact, URL-safe triple separated by dots: the Base64URL encoded header, the Base64URL encoded payload (your claims), and the Base64URL encoded signature. The first two segments are only base64-encoded, not encrypted, so anyone holding the token can read its contents.
Is decoding a JWT in the browser safe for production tokens?
Yes. Every operation in this decoder runs inside your own browser tab through the Web Crypto API and base64 helpers. The token is never transmitted to an Agenvix server, and nothing is written to disk or logged.
Can this tool verify an HS256 signature?
Yes. If you supply the HMAC secret, Agenvix recomputes the signature locally with the Web Crypto HMAC engine and performs a constant-time byte comparison. RSA, ECDSA and EdDSA tokens are decoded and inspected but their signatures are not verified in-browser, because that requires the issuer public key.
What is the difference between the header, payload and signature segments?
The header describes the token itself (algorithm, key id, type). The payload carries the claims such as iss, sub, aud, exp and iat. The signature is the Base64URL encoded HMAC or signature output computed over the first two segments joined by a dot.
How do I know if a token is expired?
The exp claim holds the expiry as a Unix timestamp in seconds. The Claims tab converts it into a human readable countdown such as "Expires in 2h 15m" and flags expired tokens in red so you can spot stale credentials instantly.
Does the tool send my JWT to any external service?
No. Decoding, claim interpretation and HMAC verification all execute locally in browser memory. There is not a single network request made with your token payload.
What is the Base64URL encoding used inside a JWT?
JWT uses Base64URL (RFC 4648 section 5) rather than standard Base64. The plus sign becomes a hyphen, the slash becomes an underscore, and trailing equals padding is removed so the token can travel safely inside HTTP headers and query strings.
Why can I not paste a JWE or opaque token?
Encrypted tokens (JWE) have five dot-separated segments and their payload is ciphertext, so the decoded output will simply be unreadable JSON. Opaque session tokens such as random database ids are not JWTs at all and cannot be decoded.
Can I use the decoded payload directly in my code?
Yes. The Payload tab shows pretty printed JSON and the Copy button puts the exact string on your clipboard, ready to paste into a test fixture, a Postman environment variable or a unit test.
Is the Agenvix JWT decoder free for commercial use?
Yes, 100%. The decoder is free for developers, security engineers and enterprise commercial applications with no account, watermark or usage cap.
Related Developer Utilities
Discover companion utilities engineered for zero-log speed and browser-side execution.
Base64 Encoder & Decoder
Convert text, strings, or images into Base64 Data URIs with zero server logging.
SHA-256 Hash Generator
Generate cryptographic SHA-256, SHA-512, and HMAC checksums using Web Crypto API.
MD5 Hash Generator
Generate MD5 and SHA-1 checksums for text and files locally, with uppercase output and hash comparison.
UUID v4 Generator
Mint RFC 9562 random identifiers in bulk with version validation.
Secure Password Generator
Create CSPRNG-backed secrets in batches with live entropy scoring.
URL Encoder & Decoder
Percent encode URL components or whole links, and decode safely with UTF-8 handling.
More in Encoders & Security
Specialized utilities within the same technical domain
