Skip to content
Tools

JWT Decoder

Decode a JSON Web Token to inspect its header, payload and expiry.

Local
This tool decodes a token so you can read it. It does not verify the signature, so a decoded token is not proof that it is valid or trusted.
Header

    
Payload

    

    What this tool does

    The JWT Decoder splits a JSON Web Token into its three parts, decodes the header and payload from Base64URL, and shows them as readable JSON. It also reads the standard time claims and tells you, in plain terms, when the token was issued and whether it has expired.

    What a JWT contains

    A JWT is three Base64URL segments joined by dots: header.payload.signature. The header names the signing algorithm, the payload carries the claims (who the token is for, what it grants, when it expires), and the signature lets the issuer's key prove the token has not been changed.

    The payload is encoded, not encrypted. Anyone who holds the token can read its claims. Never put a secret in a JWT payload.

    Decoding is not verifying

    This tool decodes the token so you can read it. It does not check the signature, so it cannot tell you whether the token is genuine or has been tampered with. Signature verification needs the issuer's key and belongs in your application or gateway, not in a decoder. Treat a decoded token as information to inspect, not as proof of trust.

    Common use cases

    • Checking which claims and roles a token carries while debugging auth.
    • Reading the exp claim to see whether a failing request is down to an expired token.
    • Confirming the alg and kid in the header line up with what your service expects.

    When you need to send authenticated requests and manage tokens for real, a dedicated API client handles that far better than a decoder.

    Frequently asked questions

    Does this verify the signature?
    No. This tool decodes the token so you can read its contents. It does not verify the signature, and a decoded token is not proof that the token is valid or trusted.
    Is it safe to paste a real token here?
    The token is decoded locally and never uploaded. Even so, treat production tokens as secrets: prefer synthetic or expired tokens, and clear the field when you are done.
    Why can I read the payload without a key?
    A JWT payload is Base64URL-encoded, not encrypted. Anyone holding the token can read its claims; the signature only proves it has not been tampered with.

    Learning resources

    Testsmith also runs hands-on courses and a free practice app for the skills behind this tool.

    Feedback welcome

    Found a bug in this tool, or want it to do something it does not? Tell us and we will take a look.