Skip to content
Sharpsloth

Decode a JWT

Read a token as JSON. Show the header and payload of a JWT as JSON. The signature is not checked, and the token stays in this browser.

What you can do

  • Read the header of a token.
  • Read the payload as JSON.

How this works

A JWT is three pieces separated by dots: a header, a payload, and a signature. This page decodes the first two and shows them as JSON.

It does not check the signature. A token that has been edited still displays, so do not treat the payload as proof of who sent it.

A "Bearer " prefix copied from a header is removed for you, and exp, iat, and nbf times are shown as UTC dates. A token in five parts is encrypted (JWE) and cannot be read without the key.

Paste only a token you are allowed to read. It stays in this browser and is not sent anywhere.

Common Questions

Does this check the signature?

No. It only shows what is inside the token.

Does anything leave this browser?

No. The work stays on this device.

Related

Cookies

Necessary cookies stay on. Optional categories are off until you accept them. Reject is the same as leaving them off.