JWT decoder

Paste a JSON Web Token to read its header and claims, and see when it was issued and when it expires, in plain dates.

Your files stay on your device. Nothing is uploaded.

JWT decoder

Decodes as you paste

Step 1: Paste the token

Step 2: What the token says

Header

Payload (claims)

The signature is not checked: that needs the issuer's secret or public key.

How to decode a JWT

  1. Paste the token

    Paste the token, with or without the word "Bearer" in front.

  2. Read the claims

    The header and payload appear as formatted JSON, with issue and expiry times turned into dates.

  3. Copy what you need

    Copy the payload or any date with one click.

About this tool

Decoded, not verified

Anyone can read a JWT: its first two parts are only Base64URL-encoded. Checking the signature needs the secret or public key of the system that issued it, so this tool shows the signature algorithm but does not claim the token is genuine.

Expiry in your time

The exp, iat and nbf claims are Unix timestamps. They are shown as dates in your time zone, with "in 3 hours" or "2 days ago", and the token is marked expired, not valid yet, or not expired.

Safe for real tokens

Tokens can give access to accounts, so never paste them into a site that sends them to a server. This decoder runs entirely in your browser.

Privacy

This tool runs in your browser, on your own device. Your files and text are not uploaded to our server and we cannot see them. When you close or reload this tab, they are cleared, along with the results.

Frequently asked questions

What are the three parts of a JWT?

The header (algorithm and type), the payload (the claims, such as user ID and expiry) and the signature, separated by dots.

Why does it say "encrypted token"?

A token with five parts is a JWE. Its payload is encrypted, so it cannot be read without the key.

Is my token uploaded?

No. It runs in your browser, so nothing you type or choose is sent anywhere.

Can I decode Base64 separately?

Yes, with Base64 encode and decode, which also reads URL-safe Base64.