Skip to content

Free tool

JWT decoder

Paste a JSON Web Token to see its header, payload claims and when it was issued and expires. Decoding happens in your browser.

Encoded token

Runs entirely in your browser: nothing you paste here is sent anywhere. Decoding does not verify the signature.

Decoded

Paste a JWT (with or without “Bearer ”).

How a JWT is built

A JSON Web Token has three parts separated by dots: a header (the signing algorithm, for example HS256 or RS256), a payload with claims, and a signature. The first two are Base64url-encoded JSON, so anyone holding the token can read them. That is why a JWT must never contain secrets: it is signed, not encrypted.

Standard claims include sub (subject, usually the user ID), iss (issuer), aud (audience), iat (issued at), nbf (not before) and exp (expires), with times in Unix seconds.

Decoding is not verifying

This tool shows what a token says; it does not prove the token is genuine. Servers must verify the signature with the right key and check exp, nbf, iss and aud on every request, and reject the none algorithm. Many login bugs are tokens that expired minutes ago or are checked against the wrong audience: the decoded times and claims here make those visible at a glance.

Debugging "401 Unauthorized"

If an API rejects a token, compare its exp with the current time (and the server’s clock), check that aud matches the API, and confirm the alg is one the server accepts. See 401 Unauthorized for the full checklist, and convert timestamps with the Unix timestamp converter.

Using it safely at work

Online developer tools are a common way secrets leak: people paste production tokens, customer records or private keys into a website that quietly logs them. This page does all its work in your browser with standard Web APIs, makes no network request with your input, and stores nothing, so it is safe to use with real data, and you can confirm that in your browser’s network panel. Even so, treat anything you paste as you would treat a screenshot: rotate a token that was exposed, never share links that contain it, and prefer command-line tools on the server itself for very sensitive material.

Frequently asked questions

Is my data sent to a server?

No. This tool runs entirely in your browser; nothing you paste is uploaded or stored.

Can anyone read my JWT?

Yes, the header and payload are only encoded. Do not put secrets in them.

Does this check the signature?

No, it only decodes. Signature verification needs the key and belongs on the server.

Why does my token say expired?

Its exp time has passed; get a new token or refresh it.

More free tools

All tools