JWT Decoder
Decode a JWT payload without verifying the signature.
About this tool
Paste a JSON Web Token to read its header and payload as JSON. A leading Bearer is removed for you. This only decodes: it does not verify the signature or check whether the token has expired.
How to use
How it works
A JWT is three Base64URL segments joined by dots. The first is the header, the second is the payload (the claims), and the third is the signature. The tool decodes the first two segments and prints them as JSON, together with the raw signature segment. Anyone can read a JWT payload, so never put secrets in one.
Worked example
The jwt.io sample token
- Input
- eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
- Output
- { "header": { "alg": "HS256", "typ": "JWT" }, "payload": { "sub": "1234567890", "name": "John Doe", "iat": 1516239022 }, "signature": "SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "warning": "This decoder does not verify signatures. Never trust decoded JWT data for authentication or authorization decisions." }
- Walkthrough
- iat is a Unix timestamp (1516239022 is 18 January 2018). Paste it into the Unix timestamp converter to read it as a date.
Limitations
- The signature is not verified, so a decoded token is not proof of anything.
- exp, nbf and iat are shown as raw numbers; they are not checked or converted to dates.
- Encrypted tokens (JWE) cannot be read.
Questions
How do I decode a JWT?
Does this verify the JWT signature?
Is it safe to paste a token here?
How do I read the exp claim?
Features
- Header, payload, signature
- Bearer prefix stripped
- Runs in your browser
Guides
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
How base64 encoding works
Andrew Schmelyun
Clear mental model for Base64 tools and data-URL workflows.
Watch on YouTubeTypeScript in 100 Seconds
Fireship
Typed JS snippets often get formatted or hashed nearby.
Watch on YouTube
- MDN Web Docs
MDN
Primary reference for web APIs these developer tools touch.
- Window.btoa()
MDN
Browser Base64 APIs that local encode tools mirror conceptually.