Skip to content
Client-Side OnlyIn-Browser · Optional JWKS[ Token Debugger · 10k Secret Audit ]

JWT Decoder & Security Checker

Decode JWT headers and payloads locally in your browser with live expiry countdown, alg:none and kid injection checks, PII detection, 10,000+ weak HS256 secret testing, and PEM/JWK/JWKS signature verification.

ResearchCase study: The Unread Authorization Header (70,000+ KYC records) →
100% client-side – your token never leaves this browser. Decoding, security auditing, weak-secret testing (17,198 common HS256 secrets), and PEM/JWK verification all run locally via the browser's Web Crypto API. The only optional network request is fetching a public JWKS URL – and even then, only the JWKS URL is fetched while your JWT stays strictly in memory on your device.
[ Technical FAQ ]

How this check works

Does my JWT ever leave my browser when I paste it here?

No. Decoding, static security auditing, 17,198-secret HS256 testing, and HMAC/PEM/JWK signature verification all execute 100% locally inside your browser using the native Web Crypto API. If you optionally use the JWKS URL tab, Breachger only fetches the public HTTPS JWKS JSON to avoid browser CORS restrictions – your JWT itself is never sent to any server.

Why is "alg": "none" a critical JWT vulnerability?

RFC 7519 defined an "unsecured JWT" format with "alg": "none" and an empty signature. If a backend calls a JWT verification library without explicitly allow-listing the expected signing algorithm, an attacker can change the header to "alg": "none", strip the signature, escalate claims like "role": "admin", and bypass authentication completely.

What is HS256 / RS256 algorithm confusion?

When an API expects asymmetric RS256 tokens verified with an RSA public key, a misconfigured verifier that trusts the token header's "alg" field can be tricked into accepting an HS256 token signed with the server's public RSA key bytes treated as an HMAC secret. Always pin a single expected algorithm family server-side instead of reading "alg" from untrusted tokens.

How can an injectable "kid" (Key ID) header compromise authentication?

Many backends look up signing keys in a SQL table or on the filesystem using the untrusted "kid" header parameter. Without strict allow-list validation, SQL injection (such as "' UNION SELECT 'known_key' --") or path traversal ("../../dev/null") lets an attacker force the verifier to validate the signature against a predictable key they control.

Why does the tool test HS256 tokens against 10,000+ common secrets?

Because HS256 signatures are verified offline with a single HMAC-SHA256 pass, any token signed with a tutorial default ("secret", "your-256-bit-secret", "supersecret", "changeme") or predictable app name can be cracked in milliseconds from a single captured JWT. Once cracked, an attacker can mint arbitrary tokens for any user. Use at least 256 bits of cryptographic randomness or migrate to asymmetric ES256 / EdDSA signing.

Why are email addresses, phone numbers, or API keys flagged in the payload?

Standard JWS JWTs are Base64URL-encoded, not encrypted – anyone who sees the token in browser localStorage, reverse-proxy logs, error trackers, or Referer headers can read every claim without the signing key. Keep claims minimal (opaque user IDs and short lifetimes) or use JWE encryption when confidential data must travel inside a token.

Found weak auth or JWT gaps? Test every API route automatically.

Breachger's $2,500 Single-App Proven Audit tests your entire web app and APIs for authentication bypasses, algorithm confusion, IDOR, and broken authorization in 24 hours – with verified exploit proofs and ready-to-merge fixes.