Bộ giải mã JWT: hướng dẫn bắt đầu nhanh
Mọi thứ bạn cần cho lần dùng thành công đầu tiên: dán gì vào, tùy chọn nào thực sự quan trọng, và đọc kết quả ra sao.
Cách dùng
- Mở công cụ và dán dữ liệu vào khung bên trái.
- Chỉ chỉnh những tùy chọn mà tác vụ thực sự cần — giá trị mặc định đã đúng cho hầu hết trường hợp.
- Đọc kết quả ở khung bên phải; kết quả cập nhật khi bạn gõ.
- Dùng Sao chép để lấy kết quả, hoặc Tải xuống để lưu thành tệp.
Ví dụ
Decoded without verification.
Đầu vào
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30
Đầu ra — Kết quả
<table class="tb-table"><tr><th colspan="2">Header</th></tr><tr><td>alg</td><td><code>"HS256"</code></td></tr><tr><td>typ</td><td><code>"JWT"</code></td></tr></table><table class="tb-table"><tr><th colspan="2">Payload</th></tr><tr><td title="Subject">sub <small>(Subject)</small></td><td><code>1234567890</code></td></tr><tr><td title="">name</td><td><code>John Doe</code></td></tr><tr><td title="">admin</td><td><code>true</code></td></tr><tr><td title="Issued at">iat <small>(Issued at)</small></td><td><code>1516239022 → 2018-01-18T01:30:22.000Z (EXPIRED/past)</code></td></tr></table><p class="tb-note">Algorithm: <b>HS256</b> · Signature present: yes (not verified — verification needs the secret/public key) · no exp claim</p>
Chạy
Mô tả
Inspect JWT header, payload and signature metadata.
Công cụ liên quan
Bộ tạo Strong mật khẩuCrypto-random passwords with full policy control.Bộ tạo cụm mật khẩuDiceware-style memorable passphrases.Bộ thử mật khẩu StrengthEstimate entropy and crack-time of a password.Bộ tạo API KeyRandom hex / Base64 secrets of any length.Bộ tạo bảng Auth HeaderBuild and decode Authorization: Basic headers.Bộ xác minh truy vấnCompare a file hash against the published digest.