JWT 解码器
解码 JWT
在浏览器中运行 · 无需上传
此工具及本页说明目前仍为英文。功能完全相同:一切都在你的浏览器中运行。
The token never leaves this page.
Header
Payload
Claims
| Claim | Value | Meaning |
|---|
Check the signature
你的浏览器版本过旧,无法运行此工具。请更新浏览器,或使用最新版的 Chrome、Edge、Firefox 或 Safari。
- 任何内容都不会离开你的设备
- 服务器不限制文件大小
- 无需注册,无水印
- 免费
How to decode a JWT
- Paste the token (with or without "Bearer ").
- Read the header, payload and claims; times such as exp and iat are shown as dates.
- 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.
常见问题
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.