JWT Inspector

Decode JWT header and payload with claim annotations, verify signatures, or build and sign new tokens with HMAC, RSA, ECDSA, or Ed25519.

How to decode and verify a JWT

  1. Paste a token into the input. The header, payload, and signature are decoded immediately.
  2. Read the claims. Registered claims such as iss, sub, and aud are labeled, and exp, iat, and nbf are shown as dates with an expired or valid status.
  3. To check the signature, enter the HMAC secret or paste the issuer's public key (PEM), then select Verify.

Build and sign test tokens

Switch to Build & Sign mode to create a JWT from scratch. Edit the header and payload, set expiry dates with a date picker, and sign with HS256, RS256, PS256, ES256, EdDSA, and their variants. You can paste your own private key or generate a key pair. Open in decoder loads the new token, ready to verify. It's handy for testing APIs and auth middleware.

Frequently asked questions

Is it safe to paste a production token here?

Tokens, secrets, and keys are processed by JavaScript in your browser and never sent to a server, so pasting one here doesn't expose it to a third party. A live token still grants access until it expires, though, so treat it like a password wherever you paste it.

Which algorithms can be verified?

HMAC (HS256/384/512), RSA (RS256/384/512), RSA-PSS (PS256/384/512), ECDSA (ES256/384/512), and EdDSA (Ed25519). Verification uses your browser's built-in Web Crypto API.

Does decoding a JWT mean it's valid?

No. Anyone can decode a JWT because the payload is only Base64url-encoded, not encrypted. A token is trustworthy only if its signature verifies with the right key and its time claims are current.

What about SAML or certificates?

Use the SAML Inspector for SAML responses and the X.509 Certificate Inspector for the certificates behind a JWKS or TLS endpoint.

Related tools

More in Security Inspectors · All 73 tools