JWT Decoder
Decode JSON Web Tokens to inspect header, payload and expiry. Free, private and instant.
How to use the JWT Decoder
- Paste the whole token (three parts separated by dots) into the box.
- The header and payload are decoded as you type. If the payload has an exp claim, the expiry time is shown above them.
- There is no Copy button; select the text you need.
Example
Worked example (fictional token we built with a dummy signature; run through this tool)
- Header: { "alg": "HS256", "typ": "JWT" }
- Payload: { "sub": "demo-user", "name": "Fictional User", "exp": 1700000000 }
- Expiry line: Expired · expires Tue, 14 Nov 2023 22:13:20 GMT (1700000000 is a Unix timestamp in seconds)
- Bad input: A string without dots gives: A JWT has three parts separated by dots.
Limitations
- The signature is never checked, so "Not expired" does not mean the token is genuine or trusted. Only your server, with the key, can verify it.
- Only the exp claim is read. nbf (not before), iat and audience are shown in the payload but not interpreted.
- Encrypted tokens (JWE) cannot be decoded and give an error.
- Do not paste live production tokens into any online tool you do not control. This one decodes in your browser, but treat tokens like passwords.
About this tool
Paste a JWT to view its decoded header and payload and see when it expires. The signature is not verified, so this shows what the token claims, not whether it is genuine. The token is not sent anywhere.
JWT Decoder is part of ToolStack Hub's Developer Tools. It runs entirely in your browser, which keeps your data private and makes results instant. There is nothing to install and no account to create. There is no usage limit.
Guides about this tool
- How to Format and Validate JSON
- Base64 Is Not Encryption: What Encoding, Hashing and Encrypting Really Mean
Frequently asked questions
Is the JWT Decoder free?
Yes. JWT Decoder is completely free with no sign-up, limits or watermarks.
Is my data private when I use the JWT Decoder?
Yes. It runs in your browser, so your input is not uploaded to our servers.
Does it work on mobile?
Yes. ToolStack Hub tools work on phones, tablets and desktop browsers.
Keep going
Need this automated for your business?
Vantalume builds custom AI and web automation workflows so your team can stop doing repetitive work.