JWT 解码器
粘贴令牌即解码:header/payload 格式化展示、exp/iat/nbf 日期化与过期徽章、alg=none 红色警告(明确不验签)。
…
…
…
Security notes
A JWT has three Base64URL parts. This tool only decodes it: the signature is not verified (that requires the secret key or public key and must happen server-side), so a decoded token proves nothing by itself. alg = none is highlighted in red because it historically enabled trivial forgery. Claims exp, iat and nbf are rendered as dates; the expiry badge compares exp with your device clock.
如何使用JWT 解码器
粘贴完整令牌(三段点号分隔),header 与 payload 立即解码成格式化 JSON,标准声明(sub、iss、aud、exp)在值旁带解释。exp 与本地时钟比对,过期徽章一眼可见。
解码不等于验签:签名的重算需要密钥本体,把这个工具当读者而非守门员。全部计算在浏览器内完成,生产形态的 token 也可以放心查看——但解码后的 payload 对任何持有令牌的人都可读,分发时也请记住这一点。