JWT Decoder
Paste a JSON Web Token to read its header and payload, see when it expires, and debug authentication issues without sending the token anywhere.
What a JWT is
A JSON Web Token is a compact string with three parts separated by dots: a header describing the algorithm, a payload of claims such as the user ID and expiry time, and a signature that proves the token was issued by your server. APIs, single sign-on systems and mobile apps use them to keep users logged in without a server side session.
What the decoder shows
- The header, including the signing algorithm and key ID.
- The payload, pretty printed, with standard claims labelled.
- Issued at, not before and expiry times converted to readable dates.
- Whether the token is currently valid, expired, or has no expiry at all.
Important: decoding is not verifying
The header and payload of a JWT are only base64 encoded, not encrypted. Anyone can read them, which is why you should never put passwords or card numbers in a token. This tool does not check the signature, because that requires your secret key, and a secret key should never be pasted into a website. Use it to inspect claims and expiry when debugging, then verify signatures in your own code. Everything here runs in your browser; the token never leaves your machine. If you are building an API with authentication, our web and mobile app team does this daily.
Frequently asked questions
Is it safe to paste a real token here?
Why does the tool say the signature is not verified?
What does exp mean and why is it in seconds?
My token has no exp claim. Is that a problem?
We build the sites and systems these tools measure.
Digzy Technology designs fast, search-friendly websites, stores and apps. Tell us what you have in mind.