Decode a JSON Web Token to read its header and payload, with issued and expiry times in plain dates. Runs locally, so your token never leaves the page.
Header
Payload
💡 Would you like a new tool or feature, or did something not work? Tell us at [email protected]
How to decode a JWT
Paste the token into the box. A leading Bearer is removed automatically.
The header (algorithm and type) and payload (the claims) appear as formatted JSON.
Time claims are shown as dates in your time zone, showing whether it has expired or isn't active yet. The signature isn't checked, so a token that hasn't expired can still be invalid.
What's inside a JWT
A JSON Web Token has three parts separated by dots: header.payload.signature. The header says how it was signed (for example HS256 or RS256). The payload holds claims such as sub (the user), iss (who issued it), aud (who it's for) and exp (when it expires). The signature lets the server check that nobody changed the first two parts.
Frequently asked questions
Is it safe to paste my token here?
Yes. The token is decoded in your browser and never sent anywhere. Even so, treat real tokens like passwords: anyone holding a valid token can usually act as you until it expires.
Does this verify the signature?
No. Verifying needs the secret or public key that signed the token, and you shouldn't paste secrets into websites. This tool only decodes the header and payload, which are plain Base64url-encoded JSON that anyone can read.
What do exp, iat and nbf mean?
They're standard time claims in seconds since 1970 (Unix time). exp is when the token expires, iat is when it was issued, and nbf (not before) is when it starts being valid. The decoder shows them as dates and tells you whether the token has expired.
Why can anyone read a JWT?
A JWT is signed, not encrypted. The signature proves nobody changed it, but the contents are only encoded. Never put secrets such as passwords in a JWT payload.