Skip to content
Private: files never leave your device

JWT Decoder

JWT decoder that reads a JSON Web Token's header and payload, tells you when it expires, and can verify the signature with your secret or public key. The token stays in your browser.

JWT Decoder tool

Header, payload, plain-language expiry and HS256 / RS256 / ES256 signature checks.

Handled on your device, so your files stay private.

JWT Decoder at a glance

JWT decoder: read the header and payload of a token, see expiry in plain words and verify HS256, RS256 and ES256 signatures, all inside your browser.

Cost
Free to use, with no account, watermark or usage cap.
Privacy
Processing happens on your device; nothing is sent to our servers.
Devices
Up-to-date Chrome, Edge, Firefox or Safari on computers, Android phones and iPhones.
Last updated

Decoding a JWT, step by step

  1. Paste the token (it begins with eyJ). A leading 'Bearer ' is stripped automatically.
  2. Read the header and payload as formatted JSON, along with the expiry, issued-at and not-before times in your local time zone.
  3. To check the signature, paste the secret (HS256, HS384, HS512) or the PEM public key (RS256, PS256, ES256).
  4. Copy the header or payload if you need them elsewhere.

Safe to use with live tokens

Access and ID tokens can unlock accounts, so pasting them into a site that sends them to a server is risky. This decoder runs entirely in your browser and checks signatures with the browser's own Web Crypto API, so neither the token nor your keys are transmitted.

Claims explained

Standard claims are described for you: exp (expiry), iat (issued at), nbf (not before), iss (issuer), sub (subject), aud (audience) and others. Unix timestamps become local dates with phrases like "in 2 hours" or "3 days ago", and a clear message tells you whether the token has expired.

Checking the signature

Supported algorithms: HS256, HS384 and HS512 with a shared secret, plus RS256, RS384, RS512, PS256, ES256 and ES384 with a public key. Tokens using alg "none" are flagged, since anyone could have edited them.

Frequently asked questions

Is it safe to paste a real JWT here?

Yes. Decoding and verification run in your browser and the token goes nowhere. Still, treat tokens like passwords and avoid sharing them.

Can I read a JWT without the secret?

Yes. The header and payload are only Base64URL-encoded, not encrypted, so they are readable by anyone. The secret is needed only to check or create the signature.

Why is the signature reported as invalid?

Either a different key signed the token, or it was changed after signing. For RS and ES algorithms, make sure you pasted the public key and not a certificate.

Does it decode encrypted tokens (JWE)?

No. Encrypted tokens have five parts and need the private key to decrypt.

What is the exp claim?

exp is the expiry moment as a Unix timestamp. After that time the token should be rejected.