Skip to content
PrivBay

JWT Decoder and Signature Verifier

View the header, claims and time fields of a compact JWT. You can also check its signature locally with a key you supply.

Decoding reveals the claims. To check the signature, choose an algorithm and supply your own key.

Ready. This runs on your device.

What to do next

How to inspect a token with the JWT Decoder

  1. Paste a compact token into Compact JWT.
  2. Select Decode JWT to view the Header, Payload and Time claims.
  3. To check a signature, select HS256, RS256 or ES256 and enter the corresponding key.
  4. Select Decode and verify and read the Signature status.

Inspect the token and its time claims

Use the JWT decoder to check a test response, compare two environments or find out when a token was issued. Paste one compact token of up to 64 KiB. The first two segments reveal the JSON header and payload, which can be copied separately. The time panel reads the numeric iat, nbf and exp claims as seconds from the Unix epoch. It uses your device clock at the time of decoding to identify an expired token, an upcoming activation time or a future issue time. For another Unix timestamp or a date in your local time zone, open the epoch converter.

Check a signature with a key you trust

Algorithm or token type Requirement or inspection behavior
Compact JWS (3 parts) Decodes protected Header, JSON Payload & iat/nbf/exp UTC timestamps (up to 64 KiB)
HS256 verification Expects a UTF-8 shared secret of at least 32 bytes
RS256 & ES256 verification Expects a PEM SPKI public key starting with BEGIN PUBLIC KEY
Unsigned (alg: none) Reported as having no signature to verify when third segment is empty
Encrypted JWE (5 parts) Detected and reported as unsupported for decryption

Use this JWT debugger to inspect claims first, then opt into JWT signature verification when you know the issuer’s expected algorithm and trusted key. Signature validation confirms only the signed bytes against that key—check your application’s expected iss, aud and expiration rules separately. Need to reformat copied claim JSON or inspect other structured objects? Open JSON formatter and validator. Both the compact token and any key stay in your browser and clear on page close.

Frequently asked questions

What does a JWT debugger show?

It decodes the protected header and JSON payload and formats the issued-at, not-before and expiration claims in UTC.

How does JWT signature verification work here?

Choose the expected algorithm yourself and supply the original HS256 secret or the trusted PEM SPKI public key for RS256 or ES256.

Why can an expired token have a verified signature?

The signature checks the signed bytes and key. The expiration claim is evaluated separately against the time on your device.

Can this tool decode an encrypted JWE?

The decoder handles three-part compact tokens. It reports five-part encrypted JWE tokens as unsupported.

What does unsigned mean?

A token with an alg value of none and an empty signature segment has no signature to verify.

Last updated November 12, 2026