← Mật khẩu và bảo mật

Mật khẩu/công cụ bảo mật

Bộ giải mã JWT

Kiểm tra các yêu cầu về thời gian, tải trọng và tiêu đề JWT cục bộ mà không cần xác minh chữ ký.

Chạy trong trình duyệt của bạn

Dữ liệu được giải mã chưa được xác minh. Công cụ này không xác minh chữ ký, nhà phát hành hoặc đối tượng và không được sử dụng để xác thực mã thông báo.

JWT ba phần, lên tới 64 KiB. Mã thông báo JWE gồm năm phần được mã hóa không được hỗ trợ.

Tiêu đề và tải trọng được giải mã cục bộ dưới dạng JSON. Không có mã thông báo nào được gửi đến máy chủ hoặc được lưu trữ bởi công cụ này. Xóa đầu vào khi bạn hoàn thành, đặc biệt là trên thiết bị dùng chung.

English guide · Ghid în română

Practical guide

Inspect the header and payload of a JSON Web Token while debugging a system you control. Decoding reveals claims but does not verify who issued them or whether the signature is valid.

Steps that matter

  1. Prefer a test token with no real personal data or active production permissions.
  2. Paste the complete token and inspect its header, payload and interpreted time claims.
  3. Perform signature, issuer, audience and policy validation in the receiving application before trusting any claim.

Worked example

An exp claim is a timestamp in seconds since the Unix epoch. A decoded token with a future exp can still have a forged signature, the wrong audience or revoked permissions.

Check before using the result

  • The decoder does not decrypt encrypted tokens or validate a token for authentication.
  • Treat tokens as credentials even if their payload looks harmless. Do not include them in bug-report emails or screenshots.