PrivTab

Penyahkod JWT

Nyahkod JWT

Berjalan dalam pelayar anda · Tiada muat naik

Alat ini dan arahan di halaman ini dalam bahasa Inggeris buat masa ini. Ia berfungsi dengan cara yang sama: semuanya berjalan dalam pelayar anda.

The token never leaves this page.
  • Tiada apa-apa meninggalkan peranti anda
  • Tiada had saiz daripada pelayan
  • Tiada pendaftaran, tiada tera air
  • Percuma

How to decode a JWT

  1. Paste the token (with or without "Bearer ").
  2. Read the header, payload and claims; times such as exp and iat are shown as dates.
  3. To check that it is genuine, open "Check the signature" and enter the secret or public key.

Why decode it here?

Tokens are keys to accounts and APIs. Many online decoders send what you paste to a server. This page can't: its security policy blocks every connection, so the token, and any key you enter, stay on your device.

Decoding is not verifying

  • Anyone can read a JWT: the header and payload are only Base64-encoded, not encrypted.
  • Only the signature check proves the token was issued by the key holder and wasn't changed.
  • Supported: HS256/384/512 (shared secret), RS256/384/512, PS256/384/512, ES256/384/512 (public key as PEM or JWK) and EdDSA where the browser supports it.
  • Encrypted tokens (JWE, five parts) can't be read without the private key.

Soalan lazim

Should I paste a private key?

No, and you never need to: signatures are checked with the public key. Only HMAC tokens (HS256…) use a shared secret.

Is my token uploaded?

No. It is decoded and checked in your browser with the built-in WebCrypto API.