Skip to content
Free tool · Security

JWT Decoder

Paste a JSON Web Token to see its header, payload and expiry in plain language — and verify the signature with a secret or public key. Decoding happens entirely in your browser.

Runs in your browser — nothing is uploadedNo sign-up · no tracking of your input

Encoded token

Secret (verify signature)

Paste a token to verify its signature (HS256/384/512, RS256/384/512, PS256/384/512, ES256/384/512).

Your token is decoded locally in this browser. It is never sent to a server or stored.

How to use the JWT Decoder

  1. 1

    Paste the token

    Copy the JWT from an Authorization header, a cookie or your browser's storage and paste it into the left panel.

  2. 2

    Read the claims

    Header and payload are decoded instantly. Time claims such as exp, nbf and iat are shown as dates with a countdown.

  3. 3

    Verify the signature

    Enter the shared secret (HS256/384/512) or the public key in PEM format (RS, PS, ES) to check that the token was not changed.

FAQ

JWT Decoder: frequently asked questions

Is it safe to paste a real token here?

The token is decoded and verified with JavaScript and the Web Crypto API in your browser. It is not sent to any server and not stored. Still, treat production tokens like passwords and prefer short-lived or revoked ones for debugging.

What is the difference between decoding and verifying a JWT?

Decoding only reads the Base64URL-encoded header and payload, which anyone can do. Verifying checks the signature with the secret or public key and proves that the token was issued by the expected party and was not modified.

Which algorithms are supported?

HMAC (HS256, HS384, HS512) with a shared secret, RSA (RS256, RS384, RS512), RSA-PSS (PS256, PS384, PS512) and ECDSA (ES256, ES384, ES512) with a public key in PEM format.

Why is a token with alg none dangerous?

A token with the algorithm none has no signature, so anyone can create or change it. Servers must reject such tokens and only accept the algorithms they expect.

What do exp, nbf and iat mean?

exp is the expiry time, nbf the time before which the token must not be accepted, and iat the time the token was issued. All three are Unix timestamps in seconds.