การเข้ารหัส
JWT Encoder/Decoder
เข้ารหัสและถอดรหัสโทเคน JWT — header, payload, ลายเซ็น HMAC และฟิลด์มาตรฐาน
ตัวอย่างที่มีลายเซ็น (ทั้งหมดยกเว้น none) ต้องใช้ HTTPS — ขณะนี้หน้านี้เปิดโดยไม่มี HTTPS
สำหรับ RS/PS/ES คีย์จะถูกสร้างขึ้นอัตโนมัติและใช้ชั่วคราว — เพื่อการสาธิตเท่านั้น ใช้ซ้ำไม่ได้
ตัวอย่างที่มีลายเซ็น (ทั้งหมดยกเว้น none) ต้องใช้ HTTPS — ขณะนี้หน้านี้เปิดโดยไม่มี HTTPS
Claims
คำถามที่พบบ่อย
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.