跳到主要内容

JWT 解析器

UpBox优盒工具箱,免费 JWT 解析工具,即时查看头部、载荷、算法与过期状态,支持 Bearer 前缀,本地解析不验证签名。

无需注册 · 数据不上传No sign-up · nothing uploaded

JWT 令牌JWT token

算法—
类型—
过期时间—
状态—
仅本地解析,不验证签名;粘贴令牌后自动解析

头部 HeaderHeader

载荷 PayloadPayload

本工具所有运算在本地浏览器完成,你的文件、文本不会上传到服务器

工具介绍

JWT 解析器把令牌拆成头部、载荷与签名三段,直接解出算法、类型和自定义字段,并把 `exp`、`iat` 这类秒级时间戳转成可读日期。 The JWT decoder splits a token into header, payload and signature, exposing the algorithm, type and custom claims, and turning second-based fields like `exp` and `iat` into readable dates.

它只做 Base64URL 解码与 JSON 格式化,不验证签名,也不上传令牌。涉及真实账号的令牌请勿粘贴到任何在线服务,包含本站。 It only does Base64URL decoding and JSON formatting — no signature verification and no upload. Never paste a live production token into any online service, including this one.

  • 三段式拆分Three-part split
  • 算法与类型识别Algorithm and type
  • 过期状态判断Expiry status
  • 头部与载荷复制Copy header and payload
  • 本地解析不上传Runs locally

使用说明

  1. 把 JWT 粘贴到顶部输入框,可带 `Bearer ` 前缀。Paste the JWT at the top; a `Bearer ` prefix is fine.
  2. 页面自动解析,也可点“解析令牌”。It decodes automatically, or press Decode.
  3. 查看算法、类型、过期时间与状态。Check algorithm, type, expiry and status.
  4. 需要时分别复制头部或载荷 JSON。Copy the header or payload JSON separately.

常见问题

会验证签名吗?Does it verify the signature?
不会。本站只解码头部与载荷,签名是否有效需要服务端用密钥校验。No. It only decodes header and payload; validating the signature needs the server’s key.
为什么状态显示“无 exp”?Why does status show “No exp”?
该令牌没有 `exp` 字段,服务端可能按其他规则判断有效期,不能仅凭令牌判断。The token has no `exp` claim, so validity may depend on server-side rules instead.
过期时间为什么和 UTC 不一样?Why is the expiry time not UTC?
这里按浏览器本地时区显示;`exp` 本身是 UTC 秒数,换算后即为本地时间。It is shown in your browser’s local zone. `exp` itself is a UTC second count, converted for display.
支持加密的 JWE 吗?Are encrypted JWE tokens supported?
不支持。五段式 JWE 的前两段不是明文 JSON,需要先解密才能解析。No. In five-part JWE the first segments are not plain JSON and must be decrypted first.
广告位

此处为广告位,可放置你的推广素材

支持图片、文字或 HTML 代码,替换本区块内容即可投放

浏览其他分类