JWT decoder
Debugging a login, an API call or an OAuth flow? Paste the JSON Web Token and this JWT decoder splits it into its header and payload, pretty-prints the claims, and turns the iat, nbf and exp timestamps into readable dates — telling you straight away whether the token has expired. It decodes only; it doesn't verify the signature, so it never needs your secret key. Everything happens locally in your browser.
How to use it
- Paste the token (with or without “Bearer ”).
- Read the header, payload and expiry.
- Copy the payload JSON if you need it.
Example
The sample token's header says "alg": "HS256", and its payload holds a user ID, a name, a role and timestamps showing it was issued on 21 September 2026 and lasts 24 hours. Each part is justURL-safe Base64 of JSON — which is why sensitive data should never go in a payload. Format any JSON with the JSON formatter, or convert raw timestamps with the Unix timestamp converter.