JWT Decoder
Read the header and payload of a JWT, and see the exp, nbf, and iat times as dates. The signature is not checked.
Runs on your device.
⚠ The signature is not verified
This tool only decodes the token. Anyone can make a token with this content, so do not trust it until your server checks the signature with the correct key.
How to Use It
- Paste the token into the box. A Bearer prefix and line breaks are ignored.
- Read the header, the payload, and the times of the token.
- To accept a token, check its signature on your server with the correct key.
Questions and Answers
Why does the tool not say that the token is valid?
The header and payload of a JWT are only Base64url-encoded, and anyone can write them. Only a signature check with the correct key shows who made the token, and your server must do that check.
Is it safe to paste a token here?
A token is a key to an account: do not share it, and clear the box when you finish.
What are exp, nbf, and iat?
Times in seconds since 1970. exp is when the token expires, nbf is the time before which the token must not be accepted, and iat is when the token was made. The tool compares them with the clock of your device.
Good to Know
The signature is not checked, so this tool never says that a token is genuine or valid. The payload of a JWE (an encrypted token) cannot be read. Very large numbers in the payload can be rounded.
Related Tools
- Base64 Encoder and DecoderEncode text as Base64 or decode Base64 back to text. Supports UTF-8, the URL-safe alphabet, and Persian text.
- JSON Formatter and ValidatorPretty-print or minify JSON, or find its errors with the line and column.
- Unix Timestamp ConverterConvert a Unix timestamp to a Jalali, Gregorian, or ISO 8601 date, or a Jalali or Gregorian date to a timestamp. Seconds and milliseconds are detected for you.