Online JWT decoder
Paste a JSON Web Token to read its header and payload, check its expiry date, understand its claims and verify its signature with your key, for free. The token never leaves your browser.
Free, no sign-up, no limit Runs in your browser: your text and files are never sent or saved.
JWT decoder
Never paste a production token into a website you do not control. This page decodes the token in your browser: it is not sent or stored anywhere.
How to use it
- Paste the token (with or without “Bearer”), or try the example.
- Read the header and payload, shown as indented JSON.
- Check the dates: when the token was issued, from when it is valid and when it expires. To check the signature, type the secret or paste the public key.
Example
Input
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkphbmUgRG9lIiwic2NvcGUiOiJyZWFkOm9yZGVycyIsImlhdCI6MTczNTY4OTYwMCwiZXhwIjoxNzM1NjkzMjAwfQ.jbIFxzo3K29ax5YaGmhhG_W7OyRFkqkPq9OB7BMezwA
Output
{
"sub": "1234567890",
"name": "Jane Doe",
"scope": "read:orders",
"iat": 1735689600,
"exp": 1735693200
}Good to know
- The signature is verified only if you provide the secret (HS256/384/512) or the public key (RS, PS, ES in PEM or JWK); EdDSA and X.509 certificates are not supported. Without a key, a decoded token is not proof that it is genuine.
- Encrypted tokens (JWE, five parts) cannot be read without the private key; only their header is shown.
- Never paste a production token into a third-party website. Here, decoding runs entirely in your browser and nothing is sent to a server.
- Remaining validity is computed with your device’s clock.
Frequently asked questions
How do I decode a JWT token?
Paste it above, with or without “Bearer”. A JWT has three parts separated by dots: the header and the payload are JSON encoded in Base64URL, the third part is the signature. The tool decodes the first two and shows them as indented JSON, with the dates in clear.
Can I decode a JWT without the secret key?
Yes. A signed JWT (JWS) is not encrypted: anyone holding the token can read its header and payload. The key is only needed to verify the signature. That is why a JWT must never carry a password or other secret data.
Does this tool verify the JWT signature?
Yes, if you give it the key: type the secret for HS256, HS384 or HS512, or paste the public key (PEM or JWK) for RS, PS and ES algorithms, and the tool says whether the signature is valid, in your browser. Without a key, a decoded token proves nothing about who issued it. On your server, also reject algorithms you do not expect.
How do I check whether a JWT has expired?
Look at the exp claim: it is a Unix timestamp in seconds. The tool turns exp, iat (issued at) and nbf (not before) into readable dates and shows the remaining validity, computed with your device’s clock, so a wrong clock gives a wrong countdown.
Is it safe to paste my token into an online JWT decoder?
Here, the decoding runs entirely in your browser and the token is never sent to a server. Still, a valid token works like a password until it expires: prefer test tokens, and never paste a production token into a site you cannot trust.
How do I decode a JWT in JavaScript or Python?
In the browser, the jwt-decode package reads the payload in one call. In Python, PyJWT does it with jwt.decode(token, options={"verify_signature": False}). Both skip the signature check, like this page: never trust the result for authorization.
Sources
- IETF, RFC 7519: JSON Web Token (JWT)
- IETF, RFC 7515: JSON Web Signature (JWS)
- IETF, RFC 7516: JSON Web Encryption (JWE)
- IETF, RFC 7518: JSON Web Algorithms (JWA)
Checked on November 26, 2026