🔑 JWT Token 解码器 — 解析 JSON Web Token
Decode any JWT token and inspect the header, payload, and expiration. Check if a token is expired. 100% client-side — your token never leaves your browser.
Paste your JWT (the eyJ... string) and click Decode. The tool splits it into header, payload, and signature, decodes each Base64URL part, and shows the JSON. If the payload has an exp field, the tool shows whether the token is still valid or has expired.
How to Use
Paste your JWT
Copy your JWT token (starting with eyJ) and paste it into the input field.
Click Decode
Press Decode to instantly split and decode all three parts: header, payload, and signature.
Inspect the token
Read the decoded JSON, check expiration dates, algorithm, and any custom claims in the payload.
Frequently Asked Questions
完整指南:JWT解码器
什么是JWT?
JWT(JSON Web Token)由三个Base64URL编码的部分组成,以点分隔:头部.载荷.签名。载荷包含声明(claims):用户ID、角色、过期时间。载荷对任何人可见——切勿在其中包含敏感数据而不加额外加密。
如何使用
- 粘贴完整JWT到输入字段。
- 头部和载荷被解码为格式化的JSON。
- 检查过期时间(
exp字段,Unix时间戳)。 - 检查声明调试认证问题。
专业技巧
- 此工具仅用于解码——签名验证需要服务器上的密钥。
- 如果JWT包含敏感数据,切勿将生产JWT粘贴到在线工具。
- 调试认证错误时始终检查
exp和iat。