JWT 长什么样
JWT(JSON Web Token)是一串形如 eyJhbGci...签名 的字符串,由三段 Base64 组成:标头(header)、载荷(payload)和签名(signature),登录态、接口鉴权里随处可见。
这个工具能解析什么
打开 JWT 解码器,粘贴 Token 即可看到:
- Header:使用的加密算法(如 HS256)与类型信息。
- Payload:业务字段,包括标准字段与自定义字段。
- 过期时间(exp):解析出具体的有效期,判断是否即将失效。
页面上还内置了示例 Token,一键载入快速上手。
安全提醒
解码只是把 Base64 还原成明文——它不校验签名,也无法“解密”。签名是否有效需要用对应的密钥在服务端验证;若载荷里有敏感信息,本工具同样会在本地解析,不会上传。
What a JWT looks like
A JSON Web Token is a string like eyJhbGci...signature — three Base64 segments holding the header, payload, and signature. It powers login states and API authentication all over the web.
What the decoder reveals
Open the JWT decoder and paste any token to inspect:
- Header — the signing algorithm (HS256 and friends) plus type info.
- Payload — business fields, both standard and custom.
- Expiry (exp) — the concrete expiration time, so you can tell if it is about to lapse.
A sample token is built in, so loading it and trying the tool takes one click.
A security note
Decoding only restores the Base64 — it does not verify the signature or "decrypt" anything. Signature validity must be checked server-side with the right key. If your payload holds sensitive data, rest assured: this parsing happens locally and nothing is uploaded.