Skip to content
TrySitePrice

JWT decoder

Paste a token and see its header and claims. The seven claim names RFC 7519 registers are labelled with their meanings, the time claims are read back as dates, and the signature is shown as the opaque part it is — this tool decodes, it does not verify.

Decoded in this tab by your own browser. A leading 'Bearer ' is ignored. The token is never sent anywhere.

RFC 7519 section 3: "A JWT is represented as a sequence of URL-safe parts separated by period ('.') characters. Each part contains a base64url-encoded value." The seven claim names it registers in section 4.1 — iss, sub, aud, exp, nbf, iat and jti — are the ones labelled once a token is pasted.

Questions about JSON Web Tokens

01Why not verify the signature too?

Because an HMAC token is verified with a shared SECRET, and a secret pasted into a public web page is a secret you have to rotate. That argument does not extend to a public key, which is published by design — so the honest statement is narrower than it looks: verification is omitted here as a choice, not because a browser cannot do it. Verification belongs on the server that trusts the token, and decoding is the part that costs you nothing to do in a tab, so that is the part this tool does — and it says so rather than implying the token has been checked.

02Is a JWT encrypted?

No. The header and payload are base64url-encoded, which is an encoding and not a cipher — anyone holding the token can read every claim in it. The signature stops the contents being changed, not read. Never put anything in a JWT you would not hand to its bearer.

03What does alg=none mean?

That the token claims to need no signature. Historically some libraries honoured it and accepted forged tokens, which is why it is called out here. A server should pin the algorithms it will accept rather than trusting the header's own word for it.

04Why is exp a big number?

Because it is seconds since the Unix epoch, as RFC 7519 defines its time claims. The readable date is shown next to it, and pressing compare with now evaluates the token against your clock — useful when the real problem is clock skew between two servers rather than an actually expired token.

05Does my token get sent to your server?

No. The split and the base64url decode happen in this tab and nothing is posted. That matters more here than on most tools, because a live token is a credential — and for the same reason the careful habit is to paste an expired or test token rather than a production one into any decoder, this one included, since you cannot audit a page you did not write.

Related checks

On the same security pass, read what a server sends back with the HTTP header checker, and check its certificate with the SSL checker.