STEMSTUDIO
Look inside a JWT
Click to skip
Security · decoded on this device
Paste a token to read its header, payload and expiry. The signature is not verified.
⚠️ This tool does not verify signatures — that needs the issuer’s key, which is not here. Being readable does not make a token valid. ⚠️ Avoid pasting production tokens. This tool does not send them, but the value is a credential and it lingers in screen shares, recordings and history. A leading “Bearer ” is accepted.
貼上 JWT,即可看到格式化後的頭部和載荷,簽發時間和過期時間會換算成易讀的日期。不驗證簽名,頁面上也會明確說明。
不會。base64 解碼和格式化全部在瀏覽器中完成。
這個工具不會傳送它,但仍然不明智。JWT 是憑證,會殘留在螢幕共享、錄屏和瀏覽器歷史裡。請用已過期或測試用的令牌。
不能。那需要簽發方的金鑰,而這裡沒有儲存金鑰的機制。驗證應該在接收令牌的伺服器上進行。
能讀和有效是兩回事。請懷疑過期、aud 或 iss 不一致,或者簽名驗證不透過。
不是。簽名只證明令牌在傳輸中沒被改動,並不隱藏任何東西。頭部和載荷誰都能用 base64url 解碼讀出。如果值必須保密,請使用規範的加密版本(JWE),或者不放進令牌,在伺服器端查詢。
JWT 按設計從簽發到過期一直有效,沒有內建的吊銷方式。要在退出時作廢,接收方需要維護吊銷列表,或者用短有效期配合重新整理令牌。這是規範的性質,不是實現的 bug。
這裡會把 exp 顯示成易讀的日期,和現在比一下就知道。不過真正的判斷在接收方伺服器,它的時鐘可能和你的裝置不同。臨界情況不要只憑這個畫面下結論。
Ratings appear once there are 10.
The tool name, this page’s path and your browser type are sent with it. Files are never sent. For a reply, use the email on the Contact page.
分類
可以查看處理在哪裡進行、檔案傳送到哪裡、如何保存。