JWT decoder and verifier

Paste a JWT to read its header and claims, see when it was issued and when it expires, and check the signature with your secret or public key. Everything runs in this tab, so your token is never sent anywhere.

Sign in to save this tool

Your token and key never leave this browser. Decoding and signature checks run locally with the Web Crypto API; nothing is sent or stored.

Paste a JWT, with or without the “Bearer ” prefix.

HS256Algorithm
8Claims
—Status

Signature

HMAC tokens (HS256/384/512) are checked with the shared secret.

The secret the issuer signs tokens with. It is never stored.

Checking the signature…

Header

{
  "alg": "HS256",
  "typ": "JWT"
}

Payload

{
  "sub": "4821",
  "name": "ريم الحلبي",
  "role": "editor",
  "scope": "orders:read orders:write",
  "iss": "https://api.frugaldomain.site",
  "aud": "frugal-dashboard",
  "iat": 1750000000,
  "exp": 1750003600
}

Claims explained

Times are shown in your local time zone, with UTC in brackets.

ClaimValue
subSubject: who the token is about4821
nameFull nameريم الحلبي
roleeditor
scopeGranted scopesorders:read orders:write
issIssuer: who created the tokenhttps://api.frugaldomain.site
audAudience: who the token is meant forfrugal-dashboard
iatIssued at1750000000
expExpires at1750003600

How to use it

  1. Paste the token. A leading “Bearer ” and line breaks are removed automatically.
  2. Read the decoded header and payload. Each standard claim is explained, and exp, nbf and iat are shown as dates in your time zone with how long ago or how soon they are.
  3. Check the warnings: expired, not valid yet, no expiry, or alg “none”.
  4. To verify the signature, enter the shared secret for HS256/384/512 tokens, or paste the public key (PEM, JWK or JWKS) for RS, PS and ES tokens.

Supported formats and limits

  • Tokens up to 100,000 characters; keys and secrets up to 20,000 characters.
  • Verifies HS256/384/512, RS256/384/512, PS256/384/512 and ES256/384/512. Other algorithms (such as EdDSA) are decoded but not verified.
  • Tokens with alg “none” are always reported as not verified.
  • Encrypted tokens (JWE, five parts) cannot be decoded without the decryption key.
  • Public keys must be a “BEGIN PUBLIC KEY” PEM, a JWK or a JWKS. Certificates and PKCS#1 “RSA PUBLIC KEY” files must be converted first; private keys are refused.
  • Only the signature and the time claims are checked. Issuer, audience and other claims are shown but not validated against anything.

Examples

  • Find out why an API rejects a request: the access token expired an hour ago.
  • Confirm that a token from your identity provider is signed by the key in its JWKS.
  • Check which scopes and roles a session token really carries.

Frequently asked questions

Is it safe to paste a production token here?

The token is decoded and verified only in your browser and never sent or stored. Still, a JWT works like a password until it expires, so avoid sharing live tokens and prefer expired or test ones.

Is decoding the same as verifying?

No. Anyone can read a JWT, because the payload is only base64url-encoded, not encrypted. Only the signature check, with the right secret or public key, proves who issued it and that it was not changed.

Why is alg “none” flagged?

A token with alg “none” has no signature, so anyone could have written it. Libraries that accept it are vulnerable to forged tokens, so this page never reports it as verified.

Which key do I need?

For HS tokens, the shared secret the issuer signs with. For RS, PS and ES tokens, only the public key, which providers usually publish at a JWKS URL. Never paste a private key into any web page.