Skip to main content
HandyWeb

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

  1. Paste the token into the box. A Bearer prefix and line breaks are ignored.
  2. Read the header, the payload, and the times of the token.
  3. 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.

Source code of this toolReport a problem on GitHub