JWT Decoder
Instantly decode a JWT's header and payload, right in your browser.
Paste your JWT below to instantly decode its header and payload - entirely in your browser, your token is never sent to our servers.
More Security & Authentication Tools
View all 14JustChecker builds tools that respect your data - this one never leaves your browser.
What Is a JWT?
A JSON Web Token has three Base64URL parts separated by dots: a header, a payload with claims such as user ID and expiry, and a signature. This tool decodes the header and payload in your browser so you can read them.
When to Use It
- When debugging login or API authentication.
- To check a token's expiry (
exp), issuer (iss) or audience (aud).
How to Use It
- Paste the token.
- Read the decoded header and payload.
Understanding the Result
Times such as exp and iat are Unix timestamps - convert them with the Unix Timestamp Converter. The alg header shows how the token is signed.
Limitations
Decoding is not verification - the signature is not checked, so never trust a token's contents without verifying it on your server. JWT payloads are readable by anyone; do not put secrets in them.
Example
A JWT looks like three Base64URL strings joined with dots:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyXzEwNDIiLCJleHAiOjE3OTAwMDM2MDB9.signature
Decoded, the header and payload are:
{ "alg": "HS256", "typ": "JWT" }
{ "sub": "user_1042", "exp": 1790003600 }
Common Claims
| Claim | Meaning |
|---|---|
sub | Subject - usually the user ID |
iss | Issuer - who created the token |
aud | Audience - which API the token is for |
exp | Expiry time (Unix seconds) |
iat / nbf | Issued at / not valid before |
Debugging "401 Unauthorized"
- Check
exp- an expired token is the most common cause. Convert it with the Unix Timestamp Converter. - Check
audandissmatch what the API expects. - Check the header
algmatches the server's configuration (for example RS256 vs HS256). - Make sure the header is sent as
Authorization: Bearer <token>.
Never put secrets in a JWT payload - anyone can decode it. Read how to decode a JWT for why decoding is not verifying.
Frequently Asked Questions
Explore More Tools
Keep going with related categories and our most used tools.