Home / Free tools / Security / JWT Decoder
JWT Decoder
Paste a JSON Web Token to read its header, claims and expiry. Decoded in your browser, never uploaded, and clearly marked as not verified.
Decoded locally. The token is not sent anywhere. Do not paste a live token for a production system you do not own.
Runs in your browser. Nothing you paste or choose is uploaded or stored.
What this JWT decoder does
A JSON Web Token (JWT) is the compact string many websites and APIs use to say who you are after you sign in. It has three parts separated by dots: a header, a payload of claims such as the user ID and the expiry time, and a signature. The first two parts are only Base64URL-encoded JSON, so anyone who holds the token can read them. This tool decodes them, shows the time claims in plain dates and lists configuration problems that are visible in the token itself.
Decoding is not verifying. Reading a token proves nothing about whether it is genuine. Only a server that holds the right key can check the signature, and this page deliberately never asks for a secret or a key. Treat every claim shown here as unverified.
What the tool checks
- Algorithm. It flags
alg: none(an unsigned token) and an empty signature on a token that claims to be signed. Both are classic causes of authentication bypass. - Expiry. It converts
exp,nbfandiatto UTC dates, says whether the token has expired and warns when there is no expiry or the lifetime exceeds a year. - Risky headers. A
jku,x5u,jwkorx5cheader lets a token point at the key used to check it. A verifier must never trust that. It also noteskidandcrit. - Secrets in the payload. It warns if the payload has claims named like
passwordorsecret, because the payload is readable by anyone. - Quantum note. RS256, PS256, ES256 and EdDSA signatures use public-key cryptography that a large quantum computer could break. HS256 uses a shared secret.
Worked example
Press Load an example. The header says HS256 and has a key ID, and the payload names a user, a role, an issue time one hour ago and an expiry 30 days ahead. The tool shows both objects, the dates, and notes that HS256 relies on a shared secret and that the key ID is an untrusted lookup value. Nothing is marked as verified because the signature is a placeholder.
Limits
It decodes JWS tokens (three parts). Encrypted JWTs (JWE, five parts) cannot be read without the key and are reported as such. It does not check the signature, the issuer, the audience or revocation; those are the verifying server's job. This tool looks for patterns and known issues. It cannot prove that anything is safe, and a result of "none detected" is not a guarantee. It is not security, legal or financial advice.
Sources and date checked
Checked on December 4, 2026. Rules and rates change, so open the source before you rely on a figure for a filing, a contract or a roadside check.
- RFC 7519: JSON Web Token (JWT): the token format and registered claims
- RFC 7515: JSON Web Signature (JWS): header parameters such as alg, kid, jku, x5c
- RFC 8725: JSON Web Token Best Current Practices: why alg none, key confusion and untrusted key headers are dangerous
- NIST IR 8547 (final, October 27, 2026): quantum-vulnerable signature algorithms
Questions
Is it safe to paste a JWT here?
The token is decoded in your browser and is not uploaded or stored. Even so, a live token can act like a password until it expires, so avoid pasting tokens for systems that matter unless you trust your device, and use short-lived or test tokens when you can.
Does decoding a JWT verify it?
No. Decoding only reads the header and payload, which are not encrypted. Verification needs the signing key and is done by the server. Never trust claims from a token that has not been verified.
What does alg none mean?
It means the token declares itself unsigned. A correctly configured server refuses such tokens. If a server accepts them, anyone can forge identities.
Why can I read the payload without a key?
Because a signed JWT is only encoded, not encrypted. Do not put secrets in it. If confidentiality is needed, use an encrypted JWT (JWE) or keep the data on the server.
Why does the tool say my token has expired?
The exp claim is a Unix timestamp in seconds. If it is earlier than the current time on your device, the token is past its expiry. A wrong device clock can also cause this.
Google, Merchant Center, YouTube, LinkedIn, Indeed, Glassdoor and Shopify are trademarks of their owners. Van Born Labs is independent and not affiliated with them. Google's own help pages are the final word on its rules.