Sign in

File tools that never upload your files

Decode a JWT

Debugging a login or an API call? Paste a JSON Web Token to read its header and claims and see when it expires. The token is decoded in your browser and never leaves your device.

5 free data and file results; text tools such as the JSON formatter never count. Paid plans have no usage limits.

How it works

  1. 1

    Paste the token

    Paste the full JWT with its three dot-separated parts.

  2. 2

    Read header and payload

    Both are shown as formatted JSON.

  3. 3

    Check the expiry

    The exp claim is shown as a date, marked expired or valid.

Why work without uploading

Tokens stay private

A live token is a key to an account; pasting it into a remote decoder is a risk.

Readable claims

Formatted JSON for the algorithm, subject, issuer, roles and other claims.

Expiry at a glance

See immediately whether a token has expired.

Good to know

A JWT has three parts: a header that names the algorithm, a payload with the claims, and a signature. The first two are only Base64URL-encoded, which is why they can be read without any key — and why a JWT should never carry secrets in its payload.

The signature is not checked. Verifying it needs the secret or public key of the service, and a secret key should never be pasted into a website. Use your server's library to verify tokens; use this tool to look inside them.

Timestamps in the payload are Unix seconds; the expiry is converted to your local time. For other timestamps, use the Unix time converter.

Questions and answers

Does it verify the signature?

No. That needs the secret key, which should never be pasted into a website.

Is it safe to paste a real token?

It is not sent anywhere; still, treat live tokens like passwords.

Is my token uploaded?

No. It is decoded in your browser.