JWT Decoder
Decode the header and payload of a JSON Web Token directly in your browser.
How to Use the JWT Decoder
Paste a JSON Web Token into the input area to decode its header and payload. Use the result to inspect claims such as issuer, subject, audience and expiration while debugging authentication flows.
Practical Example
A JWT containing an exp claim can be decoded so you can inspect the timestamp and determine whether the token appears expired.
Factors That Affect the Result
Decoding does not verify the signature or prove that a token is trustworthy. Malformed tokens, invalid Base64URL segments and non-JSON payloads may prevent clean decoding.
Frequently Asked Questions
Does decoding verify a JWT signature?
No. Decoding only reveals readable header and payload data.
Can I inspect expiration claims?
Yes. Claims such as exp can be viewed after decoding.
Is a decoded token automatically valid?
No. Validity requires signature and claim verification by the application.
What a JWT Decoder Shows
A JSON Web Token commonly contains three Base64URL-encoded sections: a header, payload and signature. Decoding the first two sections can reveal claims such as issuer, audience, subject and expiration time, but decoding does not prove that the token is authentic. Signature verification requires the correct key and algorithm and should be performed by the application responsible for trusting the token. Treat tokens as sensitive because payloads may contain account or authorization information even though they are only encoded rather than encrypted. Avoid pasting production credentials or active session tokens into tools you do not trust. When troubleshooting expiration, remember that time-based claims such as exp and nbf are usually Unix timestamps. A decoded token is useful for inspection and debugging, while security decisions must rely on proper cryptographic verification and application-side validation.
