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.