Skip to content
All tools
English

JWT decoder

Paste a token to read what is inside it and when it expires. It never leaves this page.

Your files never leave your device

Paste the token, with or without "Bearer ".

How to use it

  1. Paste the token

    With or without the "Bearer " prefix from an Authorization header.

  2. Read the claims

    Header and payload are shown as formatted JSON; times are converted to dates.

  3. Check the warnings

    We flag expired tokens, tokens not valid yet, and unsigned "alg: none" tokens.

What is inside a JWT

A JSON Web Token (RFC 7519) has three parts separated by dots: header, payload and signature. The first two are just JSON written in URL-safe Base64, which is why anyone holding the token can read them. The signature proves the server issued the token, but it does not hide anything.

Common claims

  • sub: who the token is about, usually a user id.
  • iss and aud: who issued it and who it is meant for.
  • iat, nbf, exp: issued at, not before, and expiry, as seconds since 1 January 1970 (UTC). We show them as dates in your time zone.

Decoding is not verifying

This page reads the token; it does not check the signature, because that needs the server's secret or public key. Never trust a token's contents in your own code until the signature is verified by a proper library. A token with "alg": "none" has no signature at all and must be rejected.

Keep tokens private

A valid token is a key to an account until it expires. Do not paste live tokens into websites that send them to a server. This page is static: decoding runs in your browser and the security policy blocks the tool from making any network request. For production tokens, prefer short expiry times and rotate them if they leak.

Frequently asked questions

Can this page verify the signature?
No, on purpose. Verification needs the signing key, which should never be pasted into a website. Use your backend library (jose, PyJWT, jjwt) for that.
Why does my token show "encrypted"?
It has five parts, so it is a JWE (encrypted token). Only the header can be read without the decryption key.
Is it safe to paste a production token here?
The token stays in your browser tab. Still, treat live tokens like passwords: prefer expired or test tokens when you can.