JWT decoder

Read the header and payload of a JSON Web Token, with expiry dates. The signature is not verified.

Input

Output

Expired
Words 1Characters 277Without spaces 277Sentences 1Lines 1Paragraphs 1Reading time < 1 min

About JWT Decoder

A JWT is three Base64URL segments joined by dots, so you cannot read it by eye. Paste one here to see the header and payload as indented JSON, plus the issued, not-before and expiry times converted to dates with a note such as “expired 2 hours ago”.

Tokens often carry user IDs, emails and roles, so this matters: decoding happens entirely in your browser and the token is never sent to a server.

How to use it

  1. Paste the token into the Input box. A leading “Bearer ” copied from an Authorization header is ignored.
  2. Read the Header and Payload on the right, followed by the iat, nbf and exp dates in UTC.
  3. Check the note above the output: it says “Expired” or names the signing algorithm.
  4. Copy the decoded JSON or download it as .txt.

Frequently asked questions

Does this verify the signature?

No. It only decodes the header and payload, and the output says so. Anyone can create a token with any payload, so always verify the signature with the secret or public key on your server before trusting it.

Why does it say the token is encrypted?

A token with five dot-separated parts is a JWE, an encrypted token. Its payload can only be read with the decryption key, so it cannot be decoded here.

Is it safe to paste a production token?

The token stays in your browser tab and is not uploaded. Still treat live tokens like passwords: anyone who copies one can use it until it expires.

Related tools