开发工具

JWT解码器

查看头部和载荷,不验证签名。

JWT解码器

由 UtilBrix 提供支持

Decoding a JWT does not verify its signature or establish that it is valid. Treat all decoded claims as untrusted.

输入数据保留在浏览器中,无需账户。

详细方法和示例目前以英语提供。

Step-by-step instructions (English)

  1. Paste the compact JWT into the token field.
  2. Decode and inspect the header, payload, and available timestamp claims.
  3. Check the issuer, audience, and expiration in your own authentication system before making any security decision.

公式与方法

Split the token into header, payload, and signature. Decode the first two sections using Base64URL and parse them as JSON. Numeric iat, exp, and nbf claims are displayed as dates. No secret, key, or signature verification is performed.

实际示例

An exp claim of 0 refers to the Unix epoch. Displaying that claim does not prove the token came from a trusted issuer.

When this tool is useful

Inspect a token while debugging authentication or compare the claims emitted by development environments. Decoding helps explain what the token says, but does not establish who created it.

Common mistakes and limitations

  • A readable payload and an unexpired exp claim do not prove a token is authentic.
  • The tool does not have the issuer key and never verifies the signature; do not use its output as an authorization decision.

Practical questions about this tool (English)

Can this decode an encrypted JWT?

This tool inspects a three-part signed-token representation. Encrypted JWE tokens use a different structure and require decryption keys that this tool does not request.

Why are exp, iat, and nbf shown as dates?

Those claims use numeric epoch timestamps. Presenting them as dates makes debugging easier without changing whether the token is valid or trusted.

相关工具

安装UtilBrix

从主屏幕快速访问工具。

  1. 打开浏览器菜单(⋮)。
  2. 选择“安装应用”或“添加到主屏幕”。
  3. 确认将UtilBrix添加到主屏幕。

如果找不到此选项,请在Android版Chrome中打开页面。

搜索工具

↑ ↓ Navigate · Enter Open · Esc Close