在线 JWT 解码器 — 免费解码 Token Header 与 Payload
在浏览器中解码 JSON Web Token,检查其 header 与 payload。不验证签名 — 仅用于调试。
在下面粘贴 JWT。header 与 payload 在本地从 Base64URL 解码,令牌不会离开页面。
常见用例
- 1Inspect an OAuth access token to check its expiration, audience and scopes.
- 2Debug a third-party SSO failure by reading the claims the IdP signed.
- 3Verify your app emits the JWT shape you expect before integration testing.
常见问题
Why isn't the signature verified?+
Verification needs the issuer's public key (RS256 / ES256) or shared secret (HS256). That is an infrastructure decision — use jose / jsonwebtoken with the right key for that. This tool decodes only.
Is my token safe to paste here?+
Decoding runs entirely in your browser; the token never leaves the page. However, an ACTIVE access token still carries your identity — if it is in use, redact sensitive claims after debugging.
Why does my token decode to gibberish?+
It is probably not a JWT. Real JWTs always have three Base64URL parts separated by dots (header.payload.signature). Opaque tokens (random strings) do not decode to JSON.