JSON Web Token (JWT) Debugger & Signature Verifier
RFC 7519 / OIDC StandardsDecode, debug, inspect, and verify HMAC (HS256/384/512) and RSA (RS256/384/512) signatures 100% locally in browser memory. Zero cloud transmission.
Encoded Token
Changes to the Header or Payload on the right automatically update the encoded token on the left. If an HMAC secret is set, it will automatically re-sign the token with the algorithm specified in the header.
| Claim Key | Claim Meaning | Category | Decoded Value |
|---|---|---|---|
| No claims found in payload. | |||
Automated Token Security Checklist
Evaluation of common JWT vulnerabilities, algorithm risks, and RFC recommendations.
Generate & Sign Custom JWT
Quickly craft standard tokens with customizable claims and sign them using HMAC in-browser.
Zero-Knowledge Local Execution
All data processing, parsing, and compilation execute strictly inside your local browser memory. Zero external server uploads.
Instant Local Cryptography
Instant real-time reactive computation delivers immediate feedback on every keystroke with zero network latency.
Production Standards & Compliance
Follows modern browser Web Crypto and security practices for safe client-side inspection.
JSON Web Token (JWT) Debugger & Signature Verifier — Reference Guide
Decode, verify, and inspect JWT headers, payloads, and claims with local secret or public key without sending data to servers.
JSON Web Tokens (RFC 7519) consist of three Base64URL-encoded segments (`header.payload.signature`). Because the header and payload are encoded rather than encrypted, anyone holding the token can decode its claims. Use this client-side debugger to inspect claims and verify HS256/RS256/ES256 signatures without uploading production tokens.
RFC 7519 Standard Registered JWT Claims Reference Table
Standard registered JSON Web Token (JWT) claim keys, official claim definitions, payload value types, RFC requirement levels, and security verification purposes.
| Claim Key | Official Claim Name | Value Type | RFC Status | Security & Verification Purpose |
|---|---|---|---|---|
| iss | Issuer | StringOrURI | Optional | Identifies principal that issued the JWT (e.g. https://auth.example.com) |
| sub | Subject | StringOrURI | Optional | Identifies the principal subject of the token (e.g. user ID uuid) |
| aud | Audience | String / Array | Optional | Identifies recipient resource servers token is valid for; must reject if mismatch |
| exp | Expiration Time | NumericDate | Critical | POSIX timestamp after which token MUST NOT be accepted for processing |
| nbf | Not Before | NumericDate | Optional | POSIX timestamp before which token MUST NOT be accepted for processing |
| iat | Issued At | NumericDate | Recommended | POSIX timestamp of issuance; allows age calculation and token revocation |
| jti | JWT ID | String | Optional | Unique token identifier; essential for distributed one-time token replay prevention |
Key Parameters & Controls
| Parameter | Type / Unit | Description | Default |
|---|---|---|---|
| Encoded JWT String | String (Base64URL format) | Three-part dot-delimited token string (Header.Payload.Signature) conforming to RFC 7519. | None |
| HMAC Verification Secret | String / Hex | Symmetric shared secret used to verify HS256, HS384, or HS512 signatures. | your-256-bit-secret |
| RSA / ECDSA Public Key | PEM string | SPKI format public key (starting with -----BEGIN PUBLIC KEY-----) used to verify asymmetric RS256 or ES256 signatures. | None |
Pro Tips & Best Practices
Ensure your backend explicitly rejects tokens where the 'alg' header is set to 'none' or where the signature segment is stripped.
JWT payloads are Base64URL encoded, NOT encrypted. Anyone possessing the token can instantly decode all claims.
Distributed cloud architectures experience minor clock drift. Production token validators routinely permit 30 to 60 seconds of clock skew.
Common Gotchas & Troubleshooting
⚠️Signature verification fails for valid RS256 token from Auth0 or AWS Cognito
Ensure your public key is in standard SPKI PEM format (-----BEGIN PUBLIC KEY-----) and not a raw JWK without converting to PEM.
⚠️Token shows 'Invalid Token Format' error
Verify that your token has exactly two dot separators (Header.Payload.Signature) and contains valid URL-safe Base64 characters.
Frequently Asked Questions
What are the three components of a JSON Web Token (JWT)?▼
A standard RFC 7519 JWT consists of three Base64URL-encoded segments separated by periods: the Header (specifying cryptographic algorithm and token type), the Payload (containing standard and custom claims like sub, exp, and roles), and the Signature (calculated over Header.Payload using a secret or private key).
What is the difference between Symmetric (HS256) and Asymmetric (RS256/ES256) JWTs?▼
Symmetric algorithms (HS256/384/512) use the same secret key for both signing and verification, suitable for single-service internal architectures. Asymmetric algorithms (RS256/ES256) use a private key to sign tokens (issued by an identity provider like Auth0 or Okta) and distribute public keys to multiple microservices for verification.
What is the critical 'alg: none' vulnerability?▼
The 'alg: none' vulnerability occurs when a backend server naively accepts tokens that specify 'none' as their algorithm header, skipping signature verification entirely. Attackers can forge arbitrary admin claims without possessing secret keys. Secure servers must whitelist permitted signing algorithms.
Why is client-side debugging critical for production tokens?▼
Production tokens contain sensitive access scopes, session identifiers, and user attributes. Remote online decoders could log these credentials on third-party servers. ToolsAA executes all decoding, claim parsing, and WebCrypto signature checks strictly in your local browser sandbox.
Related Tools & Utilities
All Tools →Generate, customize, and cryptographically sign custom JSON Web Tokens (JWT) using HMAC-SHA256, expiration dates, and custom claims client-side.
Audit JWT tokens locally for known weak HMAC secret keys, brute-force dictionary vulnerabilities, and verify signatures against custom candidate secrets.
Design RFC 7519 registered and custom JWT claims with timestamp calculators for exp, nbf, iat, jti, and audience tags.
Convert JSON Web Keys (JWK / JWKS) to PKCS#8 PEM format and extract public/private RSA key components securely in browser.
Generate RFC 6238 time-based one-time passwords (TOTP), test 2FA secret keys, inspect otpauth:// URIs, and simulate token countdowns client-side.
Simulate and debug modern TLS cryptographic handshakes, ECDHE key exchanges, ALPN protocol negotiation, and AES-GCM / ChaCha20 cipher suite security.