JWT decoder

Paste JWT token

Header
Payload
-
Signature
-

Frequently asked questions

Is the JWT decoder safe? Will the token content be uploaded to the server?

Totally safe. All JWT decoding is done locally in your browser, and the pasted token content is not uploaded to any server or logged.

What three parts does a JWT consist of?

JWT consists of three parts, separated by dots (.): Header contains the algorithm type and token type; Payload contains claim data, such as user ID, permissions, expiration time, etc.; Signature is generated from the first two parts and the key and is used to verify that the token has not been tampered with.

Can this tool verify JWT signatures?

This tool only supports decoding the Header and Payload parts of JWT (Base64URL decoding) and does not verify the authenticity of the signature. Signature verification requires the server's private key and is recommended to be performed on the server. The tool displays the exp field in the payload and prompts whether the token has expired.

How to check the expiration time of JWT?

After pasting the JWT, if the payload contains the exp field (Unix timestamp format), the tool will automatically convert it into readable local time and display whether the current token is "valid" or "expired".

Can the JWT decoder be used offline?

Yes. This tool is a single file HTML. After saving the page locally, it can be used normally even if the Internet is disconnected. No installation or registration is required.