Skip to content
MixTool

JWT decoder and verifier

See what's inside a JSON Web Token, when it expires, and whether its signature is genuine — without sending it anywhere.

  • Runs entirely in your browser
  • Free · no sign-up
  • Works on phone and desktop
Loading tool…

Inspect tokens safely

A JWT is three Base64URL parts separated by dots: a header, a payload of claims and a signature. Paste a token (a Bearer prefix is removed automatically) and the decoder shows the header and payload as formatted JSON, plus a table of standard claims with exp, iat and nbf converted to real dates and a clear message if the token has expired.

To confirm a token hasn't been tampered with, verify the signature: enter the shared secret for HS256/384/512, or the public key in PEM format for RS, PS and ES algorithms. Verification uses your browser's Web Crypto API, so secrets and tokens stay on your device — unlike pasting production tokens into random websites.

How to decode a JWT

  1. 1

    Paste the token

    From an Authorization header, cookie or log.

  2. 2

    Read the header and payload

    Claims are listed with readable dates.

  3. 3

    Verify if needed

    Add the secret or public key to check the signature.

Key features

  • Readable claims

    exp, iat and nbf shown as dates with time remaining.

  • Signature verification

    HS, RS, PS and ES algorithms via Web Crypto.

  • Expiry warnings

    See at a glance whether a token is still valid.

  • Fully local

    Tokens and keys are never uploaded.

Common uses

  • Debugging authentication: Check which user, roles and scopes a token carries.
  • Investigating 401 errors: Confirm whether a token has expired or has the wrong audience.
  • Testing your auth server: Verify tokens are signed with the right key.

Tips and good to know

  • Anyone can read a JWT's payload, so never put passwords or personal data in it.
  • A token with alg: none is unsigned; your API should always reject it.
  • For other Base64 data, use the Base64 Decoder.

Frequently asked questions

Is it safe to paste my JWT here?

Yes. Decoding and verification run entirely in your browser and nothing is sent to our servers. Still, treat production tokens like passwords and avoid sharing them.

Can this tool create or sign tokens?

No. It decodes and verifies. Signing should happen on your server with your private key.

Why does verification fail with the right secret?

Check for extra spaces or line breaks, confirm the algorithm in the header matches your key, and make sure the secret isn't itself Base64-encoded.

What does the exp claim mean?

It's the expiry time as a Unix timestamp in seconds. The decoder converts it to your local date and time and shows how long is left.