Paste a JWT
Signature verification
Decoded
Choose an operation to start

JWT Decoder & Signature Verifier

Paste a JWT (three dot-separated segments) to decode the Header and Payload JSON and turn exp (expiry), iat (issued at) and nbf (not before) into readable UTC times.

For HS256/384/512 tokens, supply the secret to verify the signature locally. Decoding and verification run in your browser — the token and secret never leave your device.

Features

How to use

  1. Paste the full JWT (three segments joined by ".") on the left.
  2. The decoded Header, Payload and time fields appear on the right immediately.
  3. To verify a signature, enter the HS algorithm secret in the Signature verification box.

FAQ

Does decoding a JWT prove identity?

No. Decoding only makes the content readable; anyone can decode a JWT. Trust depends on the server checking the signature with its key. This tool only does a local HS verification when you provide a secret; RS/ES algorithms are not verified here.

Why does it still say not verified with a secret?

Only alg values of HS256/384/512 are verified with the secret. For RS256/ES256 and other asymmetric algorithms the signature must be checked with a public key on the server, which the browser cannot do safely — the tool says so explicitly.

If exp has passed, is it definitely invalid?

Yes, exp is the expiry time and servers reject expired tokens. This tool only decodes and displays; whether a token is accepted is always up to your server.

Does this page collect my data?

No. The content is either baked into the HTML at build time or every calculation runs locally in your browser, so your input is never sent to any server. Apart from the footer traffic counters (Baidu Analytics and our self-hosted visitor counter, see the privacy policy), this site collects nothing about your visit.

How do I decode a JWT without the secret?

The header and payload are only base64url-encoded, not encrypted, so anyone holding the token can read them - that is why secrets must never be stored in claims. Decoding proves nothing about authenticity; only verifying the signature with the key (or public key) does.

What is the difference between HS256 and RS256?

HS256 is symmetric: the same secret signs and verifies, so every party that can verify can also forge. RS256 is asymmetric: a private key signs and the matching public key verifies, so a resource server can check tokens without being able to mint them.

Why does my JWT fail signature verification?

Usual causes: the token was URL-decoded and lost its base64url alphabet, the secret was entered as text but the issuer used its hex or base64 bytes, the alg in the header does not match the key type, or the token was truncated by a proxy header limit.

How do I check whether a JWT has expired?

Compare the exp claim, which is a Unix timestamp in seconds, against the current time. Leave a minute of clock skew, and treat nbf (not before) and iat (issued at) the same way. An expired token still decodes fine - expiry is a validation rule, not part of the encoding.

Related tools & reading

Feedback

This site is front-end only — no backend, no accounts — so feedback goes to GitHub Issues, Discussions, or email.

Paste it into the issue or email to help track it down — it never includes anything you typed

Also:Browse existing issues · Email feedback (no GitHub account needed):278975598@qq.com