1. All tools
  2. JWT decoder

How do I decode and verify a JWT?

Paste a JSON Web Token and the page decodes its header and payload, lists the standard claims with readable dates, and shows whether it has expired. To check that it is genuine, enter the shared secret (HS256/384/512) or paste the public key as PEM, JWK or JWKS (RS, PS, ES and EdDSA) and verify the signature with your browser’s Web Crypto engine.

Runs entirely in your browser · nothing is sent · no account

  1. Paste the token into the box.
  2. Read the decoded header, payload and expiry.
  3. Optionally enter the secret or public key and verify.

Header

Payload

–

Verify the signature

Paste a token first.

What this page can do

  • Decodes header and payload, with UTF-8 support
  • Readable exp, iat and nbf dates and “expires in…”
  • Flags expired, not-yet-valid and unsigned tokens
  • Verifies HS256/384/512 with a text or Base64 secret
  • Verifies RS, PS, ES 256/384/512 and EdDSA
  • Accepts PEM, JWK or a JWKS with key-ID matching

When to use this page

  • Debugging an authentication problem and checking a token’s claims.
  • Seeing when an access token expires.
  • Confirming that a token was signed by the key you expect.

When to use something else

  • You need to create or sign new tokens — use your auth library or provider.
  • You want to decrypt an encrypted token (JWE) — that needs the private decryption key.
  • You are tempted to paste a live production secret into any website — rotate it if you already did.

How it compares with other options

jwt.io is the best-known decoder and also decodes in the browser; auth libraries such as jose verify tokens in code with full claim validation. This page decodes and verifies entirely with built-in browser APIs and sends the token nowhere, so tokens from internal systems can be checked without them leaving your machine.

Where your token goes

Nowhere. The token, secret and keys are processed by your own browser’s built-in Web Crypto engine. Nothing is sent to a server, logged or stored. You can check it in your browser’s network panel — the page still loads its own code and any ads, but no request carries your token or keys. Still, treat production secrets with care on any device.

Questions about this tool

Is decoding a JWT the same as verifying it?

No. The header and payload are only Base64URL-encoded, so anyone can read them — and anyone can create a token with any payload. Only a valid signature, checked with the right secret or public key, proves the token came from the issuer and was not changed.

Where do I find the public key?

Identity providers publish their keys as a JWKS, usually at an address ending in /.well-known/jwks.json. Copy the JSON from there and paste it; the page picks the key whose kid matches the token header.

Why does verification fail with the right secret?

Check whether the secret is stored Base64-encoded — some systems do that — and tick the option if so. Also make sure no whitespace or line break was copied with it, and that the token was not shortened when you copied it.

Is it safe to paste a token here?

The page sends nothing anywhere, so the token stays on your device. Still, an unexpired access token works like a password until it expires; avoid sharing screenshots of it, and prefer test tokens when you can.

Other tools you may need