Agenvix Enterprise Suite
RFC 7519 JSON Web Token Engine

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.

How It Works
Base64URL Aware
Expiry Countdown
HMAC Verify
Zero Token Logs
Agenvix Studio v2.0
RFC 7519 CompliantJWT Claim Digest
Header Segment:
{ "alg": "HS256", "typ": "JWT" }
Payload Claims:
{ "sub": "dev-user-1024", "exp": 1794825604 }
● Local Decode EngineSegments: 3
Quick Test Presets:Click to load
Local Decode Engine
100% Free

JWT Inspector Workspace

Paste a token, read its header, payload and claims, then optionally verify the HMAC signature.

427 chars
iss
https://agenvix.com
Issuer
sub
dev-user-1024
Subject / user identifier
aud
["api.agenvix.com"]
Audience - intended consumer
exp
1794825604
Expired 6d 5h ago
iat
1792230004
Issued at
nbf
1792230004
Token is active
jti
agenvix_req_abc123
Unique token identifier
Custom claim
role
["enabled","reader"]
Assigned role(s)
session_id
agenvix_session_45123
Custom claim
compx
true
Custom claim

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.

01

Paste Your Token

Drop the raw header.payload.signature string into the editor or load one of the built-in sample tokens.

02

Read the Claims

Switch between header, payload, the interpreted claims table and the raw signature segment.

03

Verify & Copy

Confirm an HMAC signature with your secret, then copy the decoded JSON straight into your code.

JWT Specifications

Technical Specifications

How the Agenvix JWT decoder compares against generic online token inspectors.

Feature / SpecificationBest Use CaseEngine / Output StandardPrivacy & SecurityPerformance RatingAction
Base64URL Segment DecodingReading any HS/RS/ES token payloadRFC 7515 URL-Safe Alphabet100% Local HardwareUTF-8 Safe
Claim Interpretation Engineexp / iat / nbf expiry analysisUnix Epoch + ISO 8601Zero Server UploadsCountdown Ready
HMAC Signature VerificationValidating HS256 internal tokensWebCrypto HMAC + Constant-Time100% Client-Side V8Constant Time
Malformed Token GuardDebugging broken auth headersSegment Count + Decode ValidationLocal ExecutionInstant Auto-Fix
Comprehensive Developer Guide

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.

Frequently Asked Questions

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.