Mã hóa
JWT Encoder/Decoder
Mã hóa và giải mã token JWT — header, payload, chữ ký HMAC và các trường chuẩn.
Các ví dụ đã ký (tất cả trừ none) yêu cầu HTTPS — trang hiện đang mở mà không có HTTPS.
Với RS/PS/ES, khóa được tạo tự động và tạm thời — chỉ để minh họa, không thể tái sử dụng.
Các ví dụ đã ký (tất cả trừ none) yêu cầu HTTPS — trang hiện đang mở mà không có HTTPS.
Claims
Câu hỏi thường gặp
Does decoding a JWT verify its signature?
No. Decoding just base64url-decodes the header and payload so you can read the claims — it does not prove the token is authentic. To actually verify a signature you need the correct secret or public key entered here.
Is it safe to paste a real JWT into this tool?
Decoding and signing happen entirely in your browser — the token and any secret you enter are never sent to a server. Still, treat tokens from production systems carefully, since anyone who sees a decoded JWT can read its claims.
Why does my token show as expired even though it still works in my app?
The Expired/Valid indicator here only compares the exp claim to the current time — it doesn't check clock skew tolerances or other validation rules your server or library might apply.