See what a login token really says.

A JSON Web Token looks like a long jumble of letters with two dots in it. Inside are two small pieces of JSON: a header that names the signing method, and claims such as who the token is for and when it expires.

Paste one here to read both parts, see the time claims as dates, and catch common problems before you spend an hour debugging a login.

Runs in your browser. Nothing is uploaded.

    More developer tools · All 54 tools

    How to use it

    1. Paste the token into JSON Web Token. A leading Bearer is removed for you. Load a sample token shows how it works.
    2. Read the Header and Payload (claims) boxes, shown as formatted JSON.
    3. Check the list under them: issuer, subject, audience and the exp, nbf and iat times as dates in UTC and your local time.
    4. Read the status line for expiry, an unsigned alg of none, or times written in milliseconds by mistake.
    5. For HS256, HS384 or HS512 tokens, type the shared secret into Secret for HMAC verification and press Verify signature.

    Good to know

    The three parts

    A signed JWT (RFC 7519, using the JWS format of RFC 7515) is written as:

    header.payload.signature

    The header and payload are JSON encoded with Base64url, so anyone can read them. The signature is a code computed over the first two parts with a key. For HMAC tokens:

    signature = Base64url( HMAC-SHA-256( secret, header + "." + payload ) )

    HS384 and HS512 use SHA-384 and SHA-512 the same way. Changing one character of the payload changes the signature completely.

    Reading the time claims

    exp (expires), nbf (not before) and iat (issued at) are counted in seconds since 1 January 1970 UTC. In the sample token, iat is 1764200000, which is 26 November 2025 at 23:33:20 UTC, and exp is 4102444800, which is 1 January 2100 at 00:00 UTC. A value around 1,700,000,000,000 is milliseconds by mistake, and the tool warns you.

    Decoding is not checking

    Decoding only shows what the token claims. Anyone can write a token with any claims. A server trusts a token only after it checks the signature with the right key and confirms iss, aud and exp. Watch for:

    • alg: none, which means no signature at all. Servers should reject it.
    • Five parts instead of three, which marks an encrypted token (JWE). Its payload cannot be read without the key.
    • Personal data in the payload. It is encoded, not encrypted, so keep it out.

    What the check covers

    Signature checking here works for HMAC tokens with a shared secret only. Tokens signed with RS256, PS256 or ES256 need a public key, and this page decodes them but cannot verify them. A match proves the token was made with that secret; it does not tell you the token is still allowed by the server that issued it.

    Questions.

    Can I paste a real token?

    Decoding and checking happen on this page and nothing is sent. Even so, a live token works like a password until it expires, so use test tokens where you can and never share one in a chat or ticket.

    Does a decoded token mean it is valid?

    No. Decoding just reads it. Only a signature check with the right key, plus checks on issuer, audience and expiry, shows that a token can be trusted.

    Why is the Verify signature box missing?

    It only appears for HS256, HS384 and HS512 tokens. RS256, ES256 and similar tokens use public keys, which this tool does not check.

    Why does it say the token is expired when my app accepts it?

    Your app may allow some clock skew, or ignore exp. The tool compares exp with your device clock, so a wrong system clock also gives odd results.

    Why is the secret wrong when I am sure it is right?

    Check for spaces or a line break at the end, and whether your server stores the secret Base64-encoded. This tool uses the secret exactly as typed, as UTF-8 text.

    Can it read encrypted tokens?

    No. An encrypted JWT (JWE) has five parts and needs the decryption key. The tool recognises it and tells you rather than showing nonsense.