PrivTab

Giải mã JWT

Giải mã JWT

Chạy trong trình duyệt · Không tải lên

Hiện tại công cụ này và hướng dẫn trên trang vẫn bằng tiếng Anh. Nó hoạt động y như vậy: mọi thứ chạy trong trình duyệt của bạn.

The token never leaves this page.
  • Không có gì rời khỏi thiết bị của bạn
  • Máy chủ không giới hạn kích thước
  • Không đăng ký, không hình mờ
  • Miễn phí

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.

Câu hỏi thường gặp

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.