🔐 100% Local WebCrypto HS256 / HS384 / HS512 + Security Auditor

JWT Decoder, Verifier & Security Auditor

Decode JSON Web Tokens locally, verify or re-sign HS256/HS384/HS512 signatures via Web Crypto API, and audit expiration and unencrypted PII leaks with zero server calls.

Enter HMAC Secret to Verify
Header (Algorithm & Type)
—
Payload (Claims Data)
—

How to Use This Tool (4 Quick Steps)

1

Paste Encoded JWT

Drop any 3-part header.payload.signature Bearer token locally in your tab.

2

Inspect Claims & Expiry

Read formatted Header/Payload JSON and check the live Valid/Expired exp badge.

3

Verify HS256 Signature

Enter your HMAC secret to validate the cryptographic signature via Web Crypto API.

4

Sign Fresh Test Tokens

Edit payload claims or secret and click 'Sign with Secret' to mint a valid HS256 JWT.

JWT Signing Algorithms & Security Properties Reference (2026–2027)

AlgorithmCryptography TypeKey SetupBest Architecture
HS256Symmetric HMAC-SHA256Single shared secret (256-bit+)Internal backend services & monolithic apps
RS256Asymmetric RSA-SHA256Private signing key + Public JWKSOAuth2 / OIDC identity providers & third-party APIs
ES256 / EdDSAElliptic Curve (ECDSA / Ed25519)Compact Private/Public key pairHigh-throughput edge auth & mobile APIs
none (UNSAFE)No SignatureNone — NEVER ACCEPTMust be explicitly blocked in server allowlists

Debugging Production JWTs Safely With Native Browser Web Crypto

JSON Web Tokens (RFC 7519) power authentication across modern Next.js, Node.js, Go, and Python APIs—yet pasting a live staging or production Bearer token into an unknown cloud debugger can leak user IDs, email addresses, admin roles, or HMAC signing secrets into server logs.

PursTech JWT Decoder & HS256 Verifier runs 100% locally inside your browser tab with zero network requests. It decodes Base64URL header and payload JSON in real time, converts Unix exp timestamps into human-readable ISO dates, and uses window.crypto.subtle (SubtleCrypto) to verify or sign HS256 tokens directly in memory.

Remember that standard JWS payloads are Base64URL-encoded rather than encrypted: anyone holding the token can read its claims, so never store raw passwords or secret API keys inside JWT payloads, and always generate 256-bit signing secrets using a cryptographically secure generator.

Frequently Asked Questions

Is it safe to paste production JWTs into PursTech JWT Decoder?

Yes. All Base64URL decoding and Web Crypto HS256/HS384/HS512 verification run strictly inside your local browser tab with zero network requests.

Are JWT payloads encrypted?

No. Standard JWTs (JWS) are only Base64URL-encoded—anyone can read the payload, while the signature guarantees the claims were not tampered with.

How does HS256/HS384/HS512 signature verification work in the browser?

PursTech calls the native browser Web Crypto API (crypto.subtle.importKey + sign) to compute the exact HMAC-SHA256, SHA-384, or SHA-512 signature of header.payload and compare it to the token's third segment.

Why does my JWT show Expired even if the signature is valid?

The exp (expiration) claim is a Unix timestamp in seconds. Once current UTC time passes exp, compliant servers reject the token even when its cryptographic signature matches.

How do I prevent the 'alg: none' JWT bypass vulnerability?

Always pass an explicit algorithm allowlist (e.g., algorithms: ['HS256']) to your server-side JWT verifier so unsigned tokens are rejected unconditionally.

⚡ Quick Answer & Key Takeaway

Is it safe to decode a production JWT in an online browser tool?

Only when decoding runs 100% client-side with zero network calls. PursTech decodes Base64URL segments and verifies HS256 signatures via native browser crypto.subtle, so tokens and secrets never leave your device.

Advertisement
MI
Engineered & Verified by Mahad IkramFounder & Lead Developer at PursTech · 100% Client-Side Browser Execution Verified (Dec 2026)