Skip to main content
Dev & Data Essential

JWT (JSON Web Token) Debugger & Claims Inspector

Inspect, decode, and debug JSON Web Tokens (JWT) headers and payloads with live expiration countdown, cryptographic algorithm verification, and claims breakdown.

Instant client-side decoding of JWT Header, Payload, and Signature components
Live expiration countdown timer and human-readable UTC / Local timestamp conversions
Comprehensive breakdown of standard RFC 7519 claims (`iss`, `sub`, `aud`, `exp`, `nbf`, `iat`, `jti`)
Cryptographic algorithm indicator (HS256, RS256, ES256, EdDSA) and token structure analysis
100% private: tokens never leave your browser, safeguarding auth secrets and sensitive session claims
01 // JWT FORENSICSZero-Telemetry Claims Inspector
BUFFER // ENCODED JWT BUFFERRFC 7519 VALID
HEADERPAYLOADSIGNATURE
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJodHRwczovL2F1dGgud2ViY3JhZnRraXQuY29tLyIsInN1YiI6InVzcl84ODMxOTQwMTgyIiwiYXVkIjoiaHR0cHM6Ly9hcGkud2ViY3JhZnRraXQuY29tL3YxIiwibmFtZSI6IkFsZXggUml2ZXJhIiwiZW1haWwiOiJhbGV4LnJpdmVyYUB3ZWJjcmFmdGtpdC5jb20iLCJyb2xlIjoic3VwZXJfYWRtaW4iLCJwZXJtaXNzaW9ucyI6WyJ0b29sczpjcmVhdGUiLCJ0b29sczpyZWFkIiwidGVsZW1ldHJ5Om1hbmFnZSJdLCJpYXQiOjE3OTQ3NDgyODYsIm5iZiI6MTc5NDc0ODI4NiwiZXhwIjoxNzk0NzY2Mjg2LCJqdGkiOiJmODNhMDliMi03YTJlLTRiMTEtOWE3Yy0yYjkxODIzYWVmMDEifQ.dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk
TOKEN EXPIRATION STATUSACTIVE
Expires in 4h 0m 0s
UTC: Sun, 15 Nov 2026 18:11:26 GMT
LOCAL: 11/15/2026, 6:11:26 PM
CRYPTOGRAPHIC ALGORITHM
HS256 (JWT)
ISSUED TIMESTAMP (IAT)
11/15/2026, 1:11:26 PM

UNIX: 1794748286

INSPECTOR // HEADER DATA (JOSE)
{
  "alg": "HS256",
  "typ": "JWT"
}
OUTPUT // CLAIMS PAYLOAD (BODY)
{
  "iss": "https://auth.webcraftkit.com/",
  "sub": "usr_8831940182",
  "aud": "https://api.webcraftkit.com/v1",
  "name": "Alex Rivera",
  "email": "alex.rivera@webcraftkit.com",
  "role": "super_admin",
  "permissions": [
    "tools:create",
    "tools:read",
    "telemetry:manage"
  ],
  "iat": 1794748286,
  "nbf": 1794748286,
  "exp": 1794766286,
  "jti": "f83a09b2-7a2e-4b11-9a7c-2b91823aef01"
}
SPECS // CRYPTOGRAPHIC SIGNATURE HASH
dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk
DIAGNOSTICS // CLAIMS DIAGNOSTIC TABLE11 CLAIMS
issIssuer

Identifies principal that issued the JWT

VALUE:https://auth.webcraftkit.com/
subSubject

Identifies the subject of the JWT (user / principal ID)

VALUE:usr_8831940182
audAudience

Identifies recipients that the JWT is intended for

VALUE:https://api.webcraftkit.com/v1
nameName

Full human-readable display name

VALUE:Alex Rivera
emailEmail

Authenticated subject email address

VALUE:alex.rivera@webcraftkit.com
roleCustom Claim

Application-specific custom claim property.

VALUE:super_admin
permissionsPermissions

Granular scopes and capabilities

VALUE:["tools:create","tools:read","telemetry:manage"]
iatIssued At

Time at which the JWT was issued

VALUE:1794748286
Sun, 15 Nov 2026 13:11:26 GMT
nbfNot Before

Time before which the JWT must NOT be accepted

VALUE:1794748286
Sun, 15 Nov 2026 13:11:26 GMT
expExpiration Time

Time after which the JWT must NOT be accepted

VALUE:1794766286
Sun, 15 Nov 2026 18:11:26 GMT
jtiJWT ID

Unique identifier for the JWT (nonce / anti-replay)

VALUE:f83a09b2-7a2e-4b11-9a7c-2b91823aef01
WebCraftKit platform · 100% client-side engine

Air-Gapped Privacy & Zero-Latency Developer Utilities

Every cryptographic algorithm, schema transformer, color space converter, and binary extractor runs entirely in your browser RAM. Your tokens, API secrets, and source code are never sent to external servers.

0 B server telemetry
·
< 2ms execution
·
80 production tools
Read architecture story →
Comprehensive technical manual

Deep Dive into JSON Web Tokens (RFC 7519): Architecture, Claims, and Security

In-depth specifications, architectural mechanics, real-world code implementations, and industry best practices.

01

Anatomy of a JWT: Header, Payload, and Cryptographic Signature

A JSON Web Token (JWT) is a compact, URL-safe means of transferring claims between two parties. Standardized in RFC 7519, a JWT consists of three distinct parts separated by dots (.): the Header, the Payload, and the Signature. The Header specifies the token type (JWT) and signing algorithm (e.g., HS256, RS256). The Payload contains registered and custom claims describing the subject, issuer, and permissions. The Signature is produced by hashing the Base64URL-encoded header and payload with a secret key or private cryptographic key.

Implementation example
// Structure of a JWT
// eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkFsZXgiLCJpYXQiOjE1MTYyMzkwMjJ9.signature

// Deconstructed Parts:
// 1. Header:    base64url( { "alg": "HS256", "typ": "JWT" } )
// 2. Payload:   base64url( { "sub": "1234567890", "name": "Alex", "iat": 1516239022 } )
// 3. Signature: HMACSHA256( base64UrlEncode(header) + "." + base64UrlEncode(payload), secret )
02

Standard RFC 7519 Registered Claims Reference

  • • Registered claims are pre-defined claims that provide standardized metadata for token verification engines. Key registered claims include:
  • • exp (Expiration Time): Unix epoch timestamp after which the token must be rejected.
  • • iat (Issued At): Unix epoch time indicating when authentication occurred.
  • • nbf (Not Before): Token cannot be accepted before this time.
  • • iss (Issuer): Identifies the identity provider or auth authority (e.g., Auth0, Firebase, Clerk).
  • • aud (Audience): Intended recipient or API audience for the token.
  • • sub (Subject): Unique principal or user identifier.
Implementation example
// Example Decoded JWT Payload
{
  "iss": "https://auth.webcraftkit.com/",
  "sub": "usr_9981240182",
  "aud": "https://api.webcraftkit.com/v1",
  "exp": 1772184000,
  "nbf": 1772180400,
  "iat": 1772180400,
  "jti": "d748f21e-84b2-4d22-92cf-4b10283a04e5",
  "role": "system_admin"
}
03

Symmetric (HMAC) vs Asymmetric (RSA/ECDSA) Algorithms

Symmetric algorithms (HS256, HS384, HS512) use a single shared secret key for both signing and verifying tokens. While fast, distributing this secret across multiple microservices poses severe security risks. Asymmetric algorithms (RS256, ES256, Ed25519) employ a public/private key pair: the authentication server signs tokens with a secure private key, while downstream APIs verify signatures using a publicly distributed JWKS (JSON Web Key Set) endpoint without exposing signing capabilities.

Implementation example
// Node.js Verification with Asymmetric RS256 Public Key
import jwt from 'jsonwebtoken';

const token = 'eyJhbGciOiJSUzI1Ni...';
const publicKey = `-----BEGIN PUBLIC KEY-----\n...`;

try {
  const decoded = jwt.verify(token, publicKey, {
    algorithms: ['RS256'],
    audience: 'https://api.webcraftkit.com/v1',
    issuer: 'https://auth.webcraftkit.com/',
  });
  console.log('Valid JWT Subject:', decoded.sub);
} catch (err) {
  console.error('JWT Verification Failed:', err.message);
}
04

Critical JWT Security Pitfalls and Best Practices

  1. 1. Never store sensitive credentials (passwords, social security numbers) inside the payload. JWTs are encoded, not encrypted.
  2. 2. Prevent Algorithm Confusion Attacks: Always explicitly whitelist expected algorithms on your backend (rejecting "alg": "none").
  3. 3. Keep Access Token lifespans short (5 to 15 minutes) paired with secure HttpOnly Refresh Tokens stored in SameSite cookies.
  4. 4. Validate expiration (exp) and issuer (iss) claims on every single authenticated request.
Implementation example
// Express.js JWT Guard enforcing strict algorithm & expiration checks
import { expressjwt } from 'express-jwt';

export const requireAuth = expressjwt({
  secret: process.env.JWT_PUBLIC_KEY!,
  algorithms: ['RS256'],
  requestProperty: 'auth',
  getToken: (req) => req.cookies?.access_token || req.headers.authorization?.split(' ')[1],
});
Knowledge base & clarifications

Frequently Asked Questions: JWT Decoder

Got questions about how JWT Decoder operates, client-side cryptographic safety, or performance limits? Explore common answers below.

Can a decoded JWT payload be trusted without signature verification?

No. Decoding a JWT only parses the Base64URL string to view its claims. In production environments, backends must cryptographically verify the signature against the secret key or public key before trusting any user roles or permissions.

Is it safe to store sensitive passwords or credit card numbers in a JWT?

No. JWTs are encoded, not encrypted (unless using JWE - JSON Web Encryption). Anyone who intercepts the token can decode and read all payload claims instantly using tools like WebCraftKit.

Why should Access Tokens have a short expiration time (exp)?

Short expiration lifespans (typically 5 to 15 minutes) limit the attack window if an access token is intercepted or leaked, allowing revocation workflows via refresh token rotation.

What is the difference between an Access Token and a Refresh Token?

Access Tokens are short-lived tokens transmitted in HTTP Authorization headers to access protected resources. Refresh Tokens are long-lived tokens stored securely (e.g. HttpOnly cookie) used solely to obtain fresh access tokens.

Why is client-side decoding in WebCraftKit safer than online web decoders?

Most online decoders transmit your token to their remote logging servers, exposing your session claims and user identifiers. WebCraftKit performs 100% of its decoding locally within your browser sandbox with zero network telemetry.

Complementary utilities
View all in Dev & Data →