/tools/jwt-decoder

JWT Decoder & Signature Verifier

Paste a JWT, API response, or bearer header. The tool finds the token, explains its claims, and can verify its signature.

Paste a JWT or API response

Direct compact tokens, JSON fields, nested payloads, and bearer headers are recognised.

Ctrl or Command + Enter

Credential safety: live tokens and HMAC secrets are sensitive. Processing stays in this browser.

Paste a JWT, API response, or bearer header to begin.

Decode a bearer token from an API response locally

Paste an Authorization: Bearer … value or an API response containing a JWT into the token input. The decoder finds candidate tokens. If the response contains several, select the one you want to inspect.

Review the header algorithm, issuer, audience and time claims, then use a trusted verification key to check the signature. A successful signature check and the token’s expiry are separate results. Keep the clock tolerance appropriate for the system you are debugging.

/decode-and-verify

How to decode and verify a JWT

  1. Paste a compact JWT, JSON API response, or bearer header. The tool locates valid JWT candidates and prioritises common fields such as access_token, id_token, and token.
  2. If several JWTs are present, choose the intended candidate from the detected-token list.
  3. Review the algorithm and registered claims. Expiry and not-before checks include the chosen clock tolerance.
  4. For HS algorithms, enter the shared secret. For RS, PS, or ES algorithms, paste an SPKI public key, JWK, or JWKS.
  5. Choose Verify signature. Verification uses the exact algorithm declared by the token and runs locally with Web Crypto.

Inspect claims, then verify the signature

Load the synthetic sample to inspect its header and registered claims. Decoding reveals the payload but does not establish authenticity; verify a signature using the appropriate trusted key, and separately check the issuer and audience for your application.

/algorithm-support

Supported JWT signature algorithms

HMAC and RSA

Verify HS256, HS384, HS512, RS256, RS384, RS512, PS256, PS384, and PS512 signatures. HMAC secrets can be entered as UTF-8 or Base64URL bytes.

Elliptic curve

Verify ES256, ES384, and ES512 with P-256, P-384, and P-521 public keys. JWK sets are selected by a matching kid when the token supplies one.

/security-boundaries

What this verifier deliberately does not do

The tool rejects unsigned alg: none tokens, unsupported critical headers, and unencoded JWS payloads. It does not fetch remote JWKS URLs, decrypt five-part JWE tokens, decide whether an issuer is trustworthy, or enforce application-specific audience and permission rules.

/faq

JWT decoder and verifier questions

Is decoding a JWT the same as verifying it?

No. Anyone can decode the header and payload. Verification checks that the signature matches a supplied key; trust and claim validation remain separate decisions.

Do my JWT and key leave the browser?

No. Decoding and verification run locally. Token contents and key material are not included in Data Demon analytics events.

Can I paste a JWKS?

Yes. Paste the JWKS JSON directly. The tool filters for a compatible signing key and uses the token's kid when present. It never downloads a remote key set.