JWT Decoder
Free online JWT decoder and verifier. Decode header/payload, check expiry, HMAC signature verify (HS256/HS384/HS512), pure frontend.
Uso
Características
- 解码 JWT 三段:Header (算法/类型) / Payload (业务字段) / Signature
- 自动识别 alg(HS256/HS384/HS512) 和 exp/nbf/iat 过期检查
- HMAC 签名验证(需提供 secret),用 Web Crypto API
- JSON 格式化展示,字段类型自动推断(string/number/boolean/object)
Casos de uso
- 粘贴 JWT,选择"仅解码"或"验证 HMAC"
- 验证时输入对应 secret(HS 系列密钥)
- 结果区显示 alg 验证状态、过期状态、字段详情
Runtime
- 现代浏览器(Chrome/Firefox/Safari/Edge)
- 不支持 RS256/ES256 等非对称算法(纯前端无对应公钥导入 API 限制)
- 数据不上传,Token 100% 浏览器内处理
Agent API Usage
This tool is pure frontend,Data is processed in the browser,never sent to a server。
manifest 中 api_url 为空,
/api/jwt_decoder/ endpoint does not exist(返回 404)。
Agent 请读取 schema.json 理解字段,Please execute the tool logic in the browser first。
// Step 1: 读取工具 Schema GET https://clawam.com/tools/jwt_decoder/schema.json // Step 2: 在浏览器中执行工具逻辑 // JWT 解码/验证 在工具页 JS 中实现