JWT decoder
Paste a JSON Web Token to read its header and claims, see whether it has expired, and verify an HMAC signature with your secret.
Token
Header
Algorithm and token type appear here.
Payload
The claims appear here.
Claims, read for you
Paste a token to see when it was issued and when it expires.
When to use it
You've found a long string of three dot-separated parts in a cookie, a header or a response. That's usually a JSON Web Token (JWT). Paste it here to read what's inside and see when it expires. If you have the secret, you can check its signature too.
What's in a JWT
A JWT is three Base64URL strings joined by dots. The header names the signing algorithm. The payload holds the claims. The signature covers the first two. The header and payload are only encoded, not encrypted, so anyone holding the token can read them. That's what this page does.
Reading the claims
exp,nbfandiatare Unix timestamps in seconds. They say when the token expires, when it starts being valid and when it was issued.iss,subandaudsay who issued it, who it's about and who it's for.jtiis the token's own id. It's used to stop a token being replayed.
Checking the signature
With the HMAC algorithms (HS256, HS384, HS512), the same secret signs and verifies. So if you have the secret, you can check a signature here. Your browser's Web Crypto does the check. Tokens signed with a key pair (RS, ES, PS, EdDSA) are decoded but not verified.
Scrapers often meet a short-lived token that a site hands out after a bot check. Its exp tells you how long you can reuse the session before you need to solve again.
Questions people ask
How do I decode a JWT?
Paste the token. The header and payload are Base64URL-encoded JSON, so they can be read without any key, and they are shown decoded straight away.
Is it safe to paste a token into an online decoder?
Only if the decoder does not send it anywhere. This one decodes in your browser and makes no request with your token. Even so, treat a live production token as a password.
Can I read a JWT without the secret?
Yes. The secret is only needed to check or create the signature. Anyone holding a token can read its contents, which is why secrets do not belong in the payload.
How do I know when a token expires?
Look at the exp claim, which is a Unix timestamp in seconds. The decoder converts it to a date and tells you how long is left.
Get started
Blocked by bot protection? $5 is 5,000 solves.
No subscriptionCredit never expiresFailed solves are free