JWT Decoder

Text & Developer

JWT Decoder

The JWT decoder reads a JSON Web Token and shows its header and payload as formatted JSON. It converts the exp, iat and nbf claims into readable dates and tells you whether the token has expired. Decoding happens in your browser, so the token never leaves your device.

  • Header & payload
  • Expiry check
  • UTF-8 safe
  • Private

How a JWT is built

A JSON Web Token has three parts separated by dots: a header, a payload and a signature. The header and payload are JSON objects encoded with base64url, which is why anyone can read them. The signature proves the token was not altered, but it needs the secret or public key to check.

ClaimMeaning
issIssuer of the token
subSubject, usually a user ID
audIntended audience
expExpiry time (Unix seconds)
nbfNot valid before this time
iatIssued-at time
This tool decodes but does not verify the signature. A token that decodes fine may still be forged, so always verify it on your server with the proper key. Avoid pasting production tokens that grant access into any website you do not trust.

Questions people ask

Is it safe to decode a JWT online?

It is safe here because decoding runs in your browser and nothing is sent. Still, treat live tokens like passwords and prefer test tokens.

Why can I read the payload without a key?

The payload is only encoded, not encrypted. Never put secrets such as passwords in a JWT payload.

What do the dates mean?

exp, iat and nbf are Unix timestamps in seconds. The tool converts them to UTC and your local time.

Related tools

Scroll to Top