A JWT is three base64url-encoded segments joined by dots. The tool splits them, decodes the first two as UTF-8 JSON (tolerating missing padding and the standard Base64 alphabet, since tokens copied from logs are often mangled), and keeps the third as the raw signature. It then reads the registered claims — the algorithm and key ID from the header; issuer, subject, audience and the exp / iat / nbf timestamps from the payload — and works out whether the token is expired, not yet valid, or still within its window.
It does not verify the signature, and it says so on every result. Verification needs the issuer's secret or public key, which belongs on your server, not in a browser tab. Everything here runs locally — the token is never uploaded.